Commit Graph

5385 Commits

Author SHA1 Message Date
sudonim1@gmail.com a0e960b77d GSDX: Disable a buggy vertex tracer optimisation in GetTextureMinMax (produces a rectangle with a negative dimension leaving it still empty after the follow block which is likely a hack itself). Fixes textures in Kingdom Hearts 2's tron stage.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5610 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-09 22:17:49 +00:00
refraction@gmail.com fa2dc3d3d4 GameDB: Added Siren 2 to the list of XGKick hack games. Should make it playable now as per the result of Issue 1054
Thanks for testing IceLancerSR :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5609 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-08 20:57:40 +00:00
refraction@gmail.com c472db6327 microVU: Fixes to D/T Bit handling and XGKick Delay
-Elemental Garde - Fixed up D-Bit so it remembers the microVU state when recompiling, this fixes the bad geometry that was introduced with T/D bit handling.
-WRC Rally Evolved - Changed the XGKick delay to an increased number, solves all remaining SPS problems.
-Crash Twinsanity - Increased XGKick delay resolves geometry issues on Crash, thanks to Autoran1 for debugging this :)

GameDB Changes: Added XGKick hack to Crash Twinsanity auto gamefixes, checked the main entries for the others above have it too.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5608 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-08 20:47:04 +00:00
gregory.hainaut fa7d10cfb1 gsdx ogl: install a GLX error handler before the context creation. Allow to print a nice message when the user doesn't support opengl 3.3
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5607 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-07 14:37:14 +00:00
refraction@gmail.com a28ca6554d Game Index: Changes made by pgert, mostly naming changes, added what i believe is a second disc for the US version of Persona 4 Serial: SLUS-21782B to auto enable VU Clip Flag Hack.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5606 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-07 13:27:01 +00:00
refraction@gmail.com e2ff25963b GSDX: Applying patch for 2 small errors in GSDX provided by mathew1800.
Thanks to KrossX3 for aiding our laziness:P

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5605 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-04 19:39:46 +00:00
refraction@gmail.com 75284c9b76 microVU: Reverted original Xtreme G Racing 3 change as that was a hack, found the real problem. Evil jumps on E-bits, could it get any worse????
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5604 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-30 23:50:22 +00:00
gregory.hainaut 9cc306c74f zzogl-pg:
* bump minimal requirement to  opengl 2! Basically any Dx9 class hardware. On intel you will need a gen4+ GPU.
* remove the bad quality integer texture to use only texture float. Again need an gen4+ Intel GPU. Opensource users: Mesa must be built with support of texture float (stupid patents)



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5603 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-25 18:49:29 +00:00
ramapcsx2.code 51fc6dbd07 Added Visual Studio 2012 solution files for DEV9ghzdrk and avoided a macro redefinition error in WinPcap when that compiler is used.
VS2008 is harder to do as there is no automatic downgrader tools for the solution files, sorry.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5602 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-20 16:34:31 +00:00
ramapcsx2.code a6f5ac4720 DEV9ghzdrk:
Changed the stack init hack so it is consistent on plugin resets and removed a part of it that broke OPL.
Hopefully this works for all use cases, but we should fix the initial problem anyway.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5601 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-20 14:50:56 +00:00
ramapcsx2.code 447d7152b5 DEV9ghzdrk: Re-enabled the stack init hack, fixing GT4 network use.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5600 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-20 14:07:31 +00:00
ramapcsx2.code e32a18dac4 Added WinPcap to the library of 3rd party includes and made DEV9ghzdrk use them.
WinPcap version is 4.1.2 and only the /include and /lib folders of their developer pack are included.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5599 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-20 13:58:00 +00:00
ramapcsx2.code 7a00d19b55 DEV9ghzdrk: Fixed the bad slowness.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5598 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-19 23:43:16 +00:00
ramapcsx2.code 2e6917c409 DEV9ghzdrk: Either be thread safe in the whole plugin or don't try to at all.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5597 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-19 23:08:29 +00:00
ramapcsx2.code 6ac678d34f DEV9ghzdrk: These files aren't needed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5596 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-19 22:21:48 +00:00
gigaherz 90f0da8ec2 Include dev9ghzdrk into the main plugins folder, and integrate it into the build system (windows only).
Most of the work done by Rama, I just integrated the vcxproj.

Only done for vs2010, vs2008 or vs2012 will have to wait.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5595 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-19 22:01:41 +00:00
refraction@gmail.com 6d456b8a69 microVU: T/D Bit cleanup, slightly better code, makes much more sense to how the PS2 does it. Fixed ICO's graphics.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5594 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-18 09:32:41 +00:00
refraction@gmail.com 31221a29bd microVU: Save PC when processing T/D bits on branches, this is to ensure the rest of the block gets compiled correctly. Could have been the reason VP2 was freaking out after loading a save.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5593 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-13 11:26:42 +00:00
refraction@gmail.com 2ef95df6e1 microVU: Another branch delay slot fix. Extreme-G Racing now playable in microVU :)
If anybody has Mark of Kri, can you please confirm that's still working okay? I'm expecting it to, but just to be sure.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5592 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-13 00:51:39 +00:00
refraction@gmail.com cba8b0f6e5 microVU: Made the new logs mVU logs for Rama <3
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5591 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-12 23:45:13 +00:00
refraction@gmail.com 501766d852 microVU: T/D Bit on branches fixed, kinda. It's ugly, possibly wrong in places, but it works for known games that fall for this. Fixes VP2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5590 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-12 23:37:50 +00:00
refraction@gmail.com 232765f27f GameDB: Found and removed 4 more duplicate entries.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5589 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-12 20:34:16 +00:00
refraction@gmail.com ebe1f58cdb GameDB: Corrected Serial number for Ski Alpin 2006, should have been SLES-53867, was SLES-53866 which is actually Over The Hedge.
Thanks for spotting that Nik1895 :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5588 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-12 20:04:17 +00:00
refraction@gmail.com e3fead7f09 microVU:
- Fixed up the T/D Bit handling properly this time (or at least much better).
- Moved the interrupt outside of the recompiled code.

VU Interpreter:
-Fixed the T/D Bit handling when the interrupt wasn't enabled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5587 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-11 21:54:05 +00:00
refraction@gmail.com c81eab917e microVU: T/D Bit handling. Improved it so it doesn't kill the BIOS.
Also adjusted the bios bug handling, there were reports of our new handling breaking a game called Triggerheart Excelica Enhanced, hopefully this should make it work again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5586 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-11 16:36:32 +00:00
refraction@gmail.com b7d28572a2 MFIFO: Added protection on MADR when it is on the edge of the ring buffer when setting the DMA Tag where the data follows the Tag.
Fixes Front Mission 4.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5585 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-11 16:02:56 +00:00
refraction@gmail.com e8b09949f8 MFIFO: Just over the top of the ring buffer is not classed as in the buffer (reaching the top is masked anyway). Fixes DDR X and Supernova games.
Bug was introduced between r4034 and r4039.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5584 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-10 23:24:00 +00:00
refraction@gmail.com 8d0f6701b7 microVU/VU Int: Implemented T-Bit/D-Bit handling on microVU.
-Dreamworks Over The Hedge actually requires this to load.  Interpreter kind of had it right, but didn't stop the VU on these flags, causing the graphics to look bad and hang on the start button, works fine now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5583 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-09 11:03:59 +00:00
refraction@gmail.com 2e363b376e CDVD: Corrected logging output for sector being read for DVD/CD reads. It was reporting the sector it was currently at, not the one it was actually reading.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5582 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-08 15:24:30 +00:00
gregory.hainaut 2ae4c62a41 cmake: update wx-config option order for fedora
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5581 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-05 12:38:22 +00:00
ramapcsx2.code fd7b163643 GSdx: Committing a fix for the Steambot Chronicles hack, thanks miseru99. Also: using a new alias, yay :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5580 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-02 11:51:14 +00:00
gregory.hainaut 2769fe7e32 revert previous commit r5578. Didn't work as expected on CG and didn't solve radeon driver issue neither.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5579 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-01 17:37:05 +00:00
gregory.hainaut 2157fb4907 zzogl-pg: use the red channel instead of the alpha channel for the block data. Alpha channel isn't supported (normally) in OGL3 and later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5578 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-28 18:24:27 +00:00
gregory.hainaut d438ac3d0c cmake: remove useless line that failed to build on older cmake version
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5577 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-28 18:19:56 +00:00
refraction@gmail.com a467075ae0 Missed a log.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5576 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 20:34:50 +00:00
refraction@gmail.com f984c7027f Decided after discussion amongst the team to let the BIOS bugs run wild. Altered microVU to just ignore these problems and end silently (The real VU would probably do this anyway)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5575 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 20:29:51 +00:00
refraction@gmail.com ef6cc1d715 Implemented VI Backing up for branch instructions on the VU Interpreter. Fixes Kingdom Hearts 2 and possibly others when running off the interpreters.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5574 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 18:58:52 +00:00
gigaherz 6255f7d8a8 Updated zlib to 1.2.7. I skipped updating the CMakeLists.txt because ours is probably set up to work with the rest of the project.+
This probably doesn't fix anything important.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5573 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 17:37:17 +00:00
refraction@gmail.com 64474926f1 As previous commit - But check anywhere in the BIOS. It varies, the address i used was for Europe 1.7 only >.<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5572 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 15:24:28 +00:00
refraction@gmail.com 3f27730f45 Fixed up my changes from r5569. Change it so it only reverses the order during the bios writes to VU memory. FFXII is fine again, games still not have the unknown op problems, also TOCA 3 no longer has the illegal opcode errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5571 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 14:37:30 +00:00
gregory.hainaut d3d9b520f0 gsdx ogl:
* port KrossX patch from r5556 to openGL
* add a basic gui entry, would love an additional description
* also add the pointsampler hack but don't activate it yet


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5570 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-23 15:35:56 +00:00
refraction@gmail.com 4cada4d0ff microVU: Fixed random Unknown Opcode messages. Turns out the bios blanket writes MOV VF00, VF00 and NOP (for lower, upper respectively) ops to the VU's on boot, apparently some game designers new this and just left it being ran as part of their programs. Our problem being is it was writing it to the VU MicroMem in the wrong order!
All fixed now :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5569 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-22 16:30:59 +00:00
ramapcsx2 b76c57b37c One of the automatic patches for GT4 causes TLB misses. Disabled it for now.
(EE full clamping, broke license test nr. 3 here.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5568 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-21 21:27:25 +00:00
refraction@gmail.com 03b15d395e microVU: Slight modification to yesterdays work. Realised blocktype 1 needs its flag status's checking too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5567 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-21 18:32:20 +00:00
refraction@gmail.com adc075a098 microVU: Fixed 1-Op flag linking (hopefully) if it kills stuff let me know and ill revert. Hopefully it'll help MGS2 a bit, but no guarantees.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5566 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-21 01:07:52 +00:00
refraction@gmail.com a1bc42fa92 VIF: Put in a check to make sure VIF doesn't break during a FIFO write.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5565 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 21:17:35 +00:00
refraction@gmail.com 8c86009a27 microVU: Found another bug with double branches, when there is a conditional in a JR/JALR delay slot it may have ended up in the wrong place. Unknown what it fixes, if anything.
VIF/Path3 Masking: Put a timing break in on Path2 transfers, this gives it chance to stop being busy incase it is closely followed by a path3 mask, which caused it to go out of time.  Fixes Sensible Soccer.

VIF: Fixed up a couple of typo's, which may or may not have done anything, one which was not setting an offset if it stalled on 1/4 of a quadword, which could have been disasterous if done by the wrong game.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5564 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 20:42:27 +00:00
avihal@gmail.com c64c9a16ad Typo fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5563 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 16:45:21 +00:00
avihal@gmail.com 8cc03b1e2a Multiple cheat files and WIP: widescreen cheats
1. Multiple cheats files (at the "cheats' folder) can be loaded, as long as they begin with the CRC and end in '.pnach' (e.g ABCD1234.Persona4(EU).god-mode.pnach)

2. Multiple cheats are also loaded from the Widescreen hacks folder ('cheats_ws'). File names rules are the same as for normal cheats.

TODO: Add config and GUI for widescreen hacks. Right now the cheat files from cheat_ws folder are loaded if cheats are enabled. We need a separate config for that.

Thanks to dlanor from the forum for his filenames wildcards patch: http://forums.pcsx2.net/Thread-PCSX2-Patch-Finder-Removed-completely-or-just-hidden?pid=263592#pid263592

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5562 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 16:39:46 +00:00
refraction@gmail.com 484065d0a8 microVU: Fixed linking on branch delays. There may still be some situations that don't work correctly, but i don't have any games which use it, have ammended console logging to inform us if the game is broken.
Fixes in this commit:
-Evil Dead - Fistful of Boomstick - Now goes ingame and works right (needs software mode on gsdx to fix lighting)
-Tony Hawk's Project 8 - Graphics are no correct. Like earlier TH games, you need Negative rounding to fix it all.
-Mark of Kri - The game now has collision detection! Apparently before you'd get stuck on objects, now you can walk freely.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5561 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 15:39:22 +00:00