Commit Graph

192 Commits

Author SHA1 Message Date
ramapcsx2 69e59aee38 Converted 64bit VS2k5 project files to VS2k8 and put the same optimizations as in the 32bit version.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@142 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 4a1fbd5279 reverted last revisions to prevent possible syncing problems/crashes.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@141 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 5eb9108814 The last update was too aggressive, some games didn't save states anymore. This does nearly the same, but saves work again.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@140 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 4b192421b1 Commented out gsWaitGS() code, which stops and syncs the gs when loading/saving savestates and also when some Vif counter is (supposedly) too big.
This helps regain audio after loading a savestate with ZeroSPU2 and a few games run faster
(Dragonquest 8, Dawn of Mana, Final Fantasy 12).

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@139 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 4d1280c69b speedhacks now have "compatibility" and "speed" profiles to help avoid confusion.
compatibility mode: most games will work with this setting.
speed mode: fast settings, will break games.

note:
some games will still require manually tweaking the hacks. GT4 for example needs "Extra VU Overflow Checks" (greyed checkbox)
but the majority of games should work with "compatibility" mode.
there are also some odd games that will work better with "speed" mode, Rogue Galaxy for example.

anyways, hopefully these profiles will help avoid confusion.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@138 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes e7bc472969 took me a while, but i managed to do some nice recupdateflag() optimizations :D
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@137 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes d3764fc97d minor change: some "vu overflow checks" were only being called when "disable extra vu flags" was disabled. the 2 speedhacks should be independent of each other.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@136 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 94d0e20d26 minor change: small optimization and fixed a typo.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@135 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 b0c4145950 Corrected the UpdateVSyncRate functions to properly set a NTSC framerate of 59.94fps. When framelimiting is enabled on NTSC games, the SPU2 plugin now does not need to stretch constantly.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@134 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 7509047e20 very minor changes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@133 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes dd53f35d36 minor FPU changes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@132 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 5c2c09caf0 Rule Of Rose now works with the FPU recs :D
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@131 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 0bab1b1e8c changed the way the slowdvd gamefix works.
the slowdvd hack makes dvd reads at 1x instead of 4x speed.
this is untested, i think it should help TOA just like the old method.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@130 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 6c8ed786d6 Better "Slow DVD" hack. Now fixes ToA and Digital Devil Saga (one video only though :p)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@129 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 27c5c735ad "Fixed" the slow FMV in games that use cd-read, also Xenosaga's Intro FMV works again. Note: dvd and cd readspeeds are not emulated correctly. Needs more fixing.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@128 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 40aae5a70e ugly error, pcsx2 was reading cds as dvd's sometimes. so it was reading them 9x faster than it should be lol.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@127 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes f5f27e83dc optimized the cd-read algorithm by removing extra un-needed variables. it still does the same thing though :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@126 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes c3b21e8af0 minor change.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@125 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 73c15f56bd fixed a possible zerorec branching error.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@124 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 8edd66c662 Added hacks to VU interpreters, only accessible via source. Note: these hacks are more like a reference, they help show what makes interpreters so slow. Most games break with these enabled, but my testing game is fine. Speedup in it is about 30%.
Note2: I'll remove these hacks, once interpreters are fast enough.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@123 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 79d632c69b small problem that always bugged me..
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@122 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 6f1fa0ec7a some changes, should be a bit faster with "disable extra VU flags" checked
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@121 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 7107048266 different way to fix the pcsx2.ini crash.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@120 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes af18a6c626 added default button to advance options dialog
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@119 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 832ac7f609 Fixed the pcsx2 startup crash when no pcsx2.ini is present.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@118 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 9aed7a2aad minor changes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@117 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 0f637e03b8 minor VU changes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@116 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 88fccf4a94 some VU changes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@115 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 666dd22262 Added a Tales of the Abyss gamefix "Slow DVD access", which fixes most of the game hangs. Note that the game still hangs from time to time, but its better now :)
Also fixed the hdloader hang when reading the DVD "TOC". Games can now be installed on HDD.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@114 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes e27fa9651c one more try for the Esc Hack. works perfect with GSdx DX9. Fully exits fullscreen/windowed GSdx, and console. (make sure you uncheck Lilypad's ESC hacks!!!)
if it doesn't work with dx10 gsdx, then just don't use the hack. i don't have vista to test out the problem.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@113 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes a59cb8ed50 this might fix ESC-key hack for vista users.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@112 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 3284a591a2 tekken 5 works again with the gamefix. that game is really picky :/
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@111 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 28a7c330a5 added ESC-key hack by request (turn it on/off from the speedhacks menu) turning it on lets you fully exit PCSX2 when running in fullscreen (so you don't have to press alt+f4)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@110 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 3af97aacd5 mostly some VU changes.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@109 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes e147a43668 fixed some errors from the last version i submitted, and also added extra clamping support to the remainder of the opcodes. the extra clamping i've been talking about is only enabled when you have Extra FPU Overflow Checks On (when the FPU speedhack is grey).
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@108 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 55a94259e2 more FPU opcodes have extra clamping support. just a few more FPU opcodes to go.
i also realized that VU extra clamping needs more work. i'm hoping this is where God of War's SPS comes from, i'll start coding it as soon as i finish the rest of the FPU opcodes.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@107 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 44635b6cf7 minor FPU changes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@106 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 ab95086a7b Fixed tlb build in vs2k8, it had SSE2 compiler optimizations on. Very bad idea :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@105 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 43b8f52249 fixed the way the VU's check for overflow in recUpdateFlags()
i would like to continue coding, but i have to study for an exam hehe :p

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@104 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes b987309f38 forgot to change this :O
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@103 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes c9be136946 found out why GT4 needed the hack, and fixed it correctly :D no need for the Gamefix hack anymore :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@102 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 6f3a4a032d more FPU opcodes have extra clamping support.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@101 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 39637edee1 some more FPU rec changes.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@100 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 89ee414a38 recoded the FPU div opcode to set correct flags. i thought this would eliminate the need for the GT4 hack, but sadly it didn't fix the problem.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@99 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 cc3ca30880 Small modification to the run sub-menu
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@98 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 7f861132f0 Small visual tweak to gamefixes dialogue, by Cole :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@97 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 67ff6f6147 added a Tekken 5 fix to the gamefixes dialog thanks to rama finding the problem. i also tweaked the GT4 gamefix a bit.
note: i haven't tested the Tekken 5 fix. plz comment if it doesn't work.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@96 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 2d805b4987 recoded some more FPU opcodes, and added 2 new speedhacks: "disable extra VU flags" and "disable extra FPU flags".
in the PS2, certain "flags" are set to indicate different statuses. There are flags for overflow, underflow, invalid operation, divide by zero, is Zero, is Negative, etc...
some of these flags are rarely checked by games; so what these speedhacks do is not perform the extra code for flags that are rarely used by games.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@95 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes bfc387a024 minor change suggested by intellect :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@94 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes f35841761d starting to recode the FPU rec opcodes to set correct flags.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@93 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00