Commit Graph

428 Commits

Author SHA1 Message Date
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
cottonvibes 08e4bab2c4 fixed something from the last revision.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@92 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes c8e1ec9651 some more optimization
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@91 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 bffda0b646 This is still faster, please do some benches before recklessly reverting, k? :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@90 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes bf2a2c132a minor fix, thanks again to intellq
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@89 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 3393e1ee03 okay this took me a while, but i managed to make stuff a bit more organized. -New "Advanced" dialog handles all CPU/VU roundmodes, denormals are zero, and flush to zero options. -Moved GT4 and GoW hacks to the "GameFixes" dialog. -"Disable Underflow Checks" no longer controls DaZ, since the "Advanced" dialog handles that.
if you guys don't know what to do in the Advanced dialog, just leave it at the defaults (its called advanced for a reason :p)
Note: if you use Patches to change the roundmode, it will override the roundmode set in the Advanced dialog.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@88 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes dae102b8a3 i accidentally deleted this line; thanks intellq!
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@87 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 3b7414d9a2 some roundmode fixes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@86 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes e78cf6c9b6 reverted some stuff for now, this should fix what r79 broke. plz comment if it doesn't fix the problems.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@85 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes a490bdb7cf optimized vumicro a bit.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@84 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 38d3773aa7 minor update to the game fixes dialog
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@83 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 77381da985 New "GameFixes" dialogue. Its intended to remove the need for patches. This is my first dialogue, so please bear with me, k? :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@82 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 1e363e9b33 vufloat2 is slower then vufloat. Since both do the same this here helps speed ;)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@81 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 787513a327 A few optimizations to ivumicro stuff
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@80 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes f1ac20f12a modified the Check Overflow speedhacks. now we have "disable VU Overflow checks" and "disable FPU Overflow checks".
they both do the same thing, but one is for the VU recs, and the other is for the FPU recs.
heres how they work:
when Unchecked, pcsx2 performs overflow checks normally.
when Checked, pcsx2 doesn't perform overflow checks, and thus gains a speed boost.
when Greyed, pcsx2 performs additional checks which helps stop SPS (spikey polygon syndrome; i.e. messed up polygons on screen)

Note: FPU recs need some work, they're not setting correct flags. I'll probably implement this by the end of the week. Hopefully it will fix some games that use those flags.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@79 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00