mirror of
https://github.com/libretro/pcsx2.git
synced 2025-01-07 10:10:41 +00:00
GSdx: Added CRC hackfix for Tenchu games and Sly Cooper 2/3. Changed Sonic Unleashed's hack so it works for all stages (at least all the ones I tried :p) and added the PAL version to it.
GameDB: Updates... git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4497 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
205c7c1782
commit
4b460160cc
@ -740,7 +740,7 @@ Region = NTSC-U
|
||||
Serial = SCUS-97275
|
||||
Name = SOCOM II - U.S. Navy SEALs
|
||||
Region = NTSC-U
|
||||
Compat = 3
|
||||
Compat = 1
|
||||
---------------------------------------------
|
||||
Serial = SCUS-97276
|
||||
Name = NFL GameDay 2004
|
||||
@ -791,7 +791,7 @@ Region = NTSC-U
|
||||
Serial = SCUS-97316
|
||||
Name = Sly 2 - Band of Thieves
|
||||
Region = NTSC-U
|
||||
Compat = 4
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SCUS-97317
|
||||
Name = NFL GameDay 2004 [Demo]
|
||||
@ -1293,7 +1293,7 @@ Region = NTSC-U
|
||||
Serial = SCUS-97474
|
||||
Name = SOCOM 3 - U.S. Navy SEALs
|
||||
Region = NTSC-U
|
||||
Compat = 2
|
||||
Compat = 4
|
||||
---------------------------------------------
|
||||
Serial = SCUS-97475
|
||||
Name = SOCOM 3 - U.S. Navy SEALs [Regular Demo]
|
||||
@ -1523,7 +1523,7 @@ Region = NTSC-U
|
||||
Serial = SCUS-97545
|
||||
Name = SOCOM - U.S. Navy SEALs - Combined Assault
|
||||
Region = NTSC-U
|
||||
Compat = 2
|
||||
Compat = 4
|
||||
---------------------------------------------
|
||||
Serial = SCUS-97548
|
||||
Name = Ape Escape 3 [Demo]
|
||||
@ -1668,6 +1668,7 @@ Region = NTSC-U
|
||||
Serial = SCUS-97623
|
||||
Name = Secret Agent Clank
|
||||
Region = NTSC-U
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SCUS-97627
|
||||
Name = Singstar Pop Volume 2
|
||||
@ -2182,7 +2183,7 @@ Compat = 5
|
||||
Serial = SLUS-20136
|
||||
Name = Barbarian
|
||||
Region = NTSC-U
|
||||
Compat = 2
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SLUS-20138
|
||||
Name = Rayman 2 - Revolution
|
||||
@ -2584,7 +2585,7 @@ Compat = 3
|
||||
Serial = SLUS-20224
|
||||
Name = Pac-Man World 2
|
||||
Region = NTSC-U
|
||||
Compat = 1
|
||||
Compat = 4
|
||||
---------------------------------------------
|
||||
Serial = SLUS-20225
|
||||
Name = Gadget Racers
|
||||
@ -3527,6 +3528,7 @@ Compat = 4
|
||||
Serial = SLUS-20441
|
||||
Name = NASCAR - Dirt to Daytona
|
||||
Region = NTSC-U
|
||||
Compat = 4
|
||||
---------------------------------------------
|
||||
Serial = SLUS-20442
|
||||
Name = Red Faction 2
|
||||
@ -3697,7 +3699,7 @@ Compat = 5
|
||||
Serial = SLUS-20483
|
||||
Name = WWE Smackdown - Shut Your Mouth
|
||||
Region = NTSC-U
|
||||
Compat = 5
|
||||
Compat = 3
|
||||
[patches = B0AE1898]
|
||||
|
||||
comment=patched by prafull
|
||||
@ -4073,6 +4075,7 @@ Serial = SLUS-20566
|
||||
Name = Buffy the Vampire Slayer - Chaos Bleeds
|
||||
Region = NTSC-U
|
||||
Compat = 5
|
||||
EETimingHack = 1 //garbage in HUD
|
||||
---------------------------------------------
|
||||
Serial = SLUS-20567
|
||||
Name = P.T.O. IV - Pacific Theater of Operations
|
||||
@ -4380,6 +4383,7 @@ Compat = 3
|
||||
Serial = SLUS-20639
|
||||
Name = Def Jam - Vendetta
|
||||
Region = NTSC-U
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SLUS-20640
|
||||
Name = Saturday Night Speedway
|
||||
@ -4835,6 +4839,7 @@ Compat = 5
|
||||
Serial = SLUS-20743
|
||||
Name = Prince of Persia - Sands of Time
|
||||
Region = NTSC-U
|
||||
Compat = 4
|
||||
---------------------------------------------
|
||||
Serial = SLUS-20744
|
||||
Name = EverQuest - Online Adventures - Frontiers
|
||||
@ -6113,7 +6118,7 @@ Region = NTSC-U
|
||||
Serial = SLUS-21022
|
||||
Name = Prince of Persia - Warrior Within
|
||||
Region = NTSC-U
|
||||
Compat = 4
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21025
|
||||
Name = Madden NFL 2005 [Special Collectors Edition]
|
||||
@ -6514,7 +6519,7 @@ Compat = 4
|
||||
Serial = SLUS-21111
|
||||
Name = Scarface - The World is Yours
|
||||
Region = NTSC-U
|
||||
Compat = 1
|
||||
Compat = 2
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21112
|
||||
Name = L.A. Rush
|
||||
@ -7028,6 +7033,7 @@ Serial = SLUS-21222
|
||||
Name = Top Spin
|
||||
Region = NTSC-U
|
||||
Compat = 5
|
||||
SkipMPEGHack = 1 //background IPU in main menu hangs the game.
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21223
|
||||
Name = Karaoke Revolution Party
|
||||
@ -7272,7 +7278,7 @@ Compat = 1
|
||||
Serial = SLUS-21273
|
||||
Name = Matrix, The - Path of Neo
|
||||
Region = NTSC-U
|
||||
Compat = 5
|
||||
Compat = 4
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21274
|
||||
Name = Outrun 2006 - Coast 2 Coast
|
||||
@ -8930,7 +8936,7 @@ Region = NTSC-U
|
||||
Serial = SLUS-21658
|
||||
Name = Need for Speed - ProStreet
|
||||
Region = NTSC-U
|
||||
Compat = 2
|
||||
Compat = 4
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21660
|
||||
Name = Disney Princess - Enchanted Journey
|
||||
@ -8960,7 +8966,7 @@ Compat = 1
|
||||
Serial = SLUS-21665
|
||||
Name = Simpsons Game, The
|
||||
Region = NTSC-U
|
||||
Compat = 4
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21666
|
||||
Name = Mountain Bike Adrenaline
|
||||
@ -9035,7 +9041,7 @@ Compat = 3
|
||||
Serial = SLUS-21682
|
||||
Name = Rock Band
|
||||
Region = NTSC-U
|
||||
Compat = 3
|
||||
Compat = 2
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21683
|
||||
Name = Yu-Gi-Oh! The Beginning of Destiny
|
||||
@ -9567,6 +9573,7 @@ Compat = 5
|
||||
Serial = SLUS-21810
|
||||
Name = WWE SmackDown vs. Raw 2009
|
||||
Region = NTSC-U
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21811
|
||||
Name = MotoGP 08
|
||||
@ -9836,6 +9843,7 @@ Region = NTSC-U
|
||||
Serial = SLUS-21876
|
||||
Name = Rock Band Track Pack: Classic Rock
|
||||
Region = NTSC-U
|
||||
Compat = 3
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21877
|
||||
Name = Tiger Woods PGA Tour 10
|
||||
@ -9886,6 +9894,7 @@ Compat = 5
|
||||
Serial = SLUS-21888
|
||||
Name = Rock Band Country Track Pack
|
||||
Region = NTSC-U
|
||||
Compat = 3
|
||||
---------------------------------------------
|
||||
Serial = SLUS-21889
|
||||
Name = Rock Band Metal Track Pack
|
||||
@ -29489,7 +29498,8 @@ Region = PAL-Unk
|
||||
---------------------------------------------
|
||||
Serial = SCES-53409
|
||||
Name = Sly 3
|
||||
Region = PAL-Unk
|
||||
Region = PAL-M11
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SCES-53449
|
||||
Name = AFL Premiership 2005
|
||||
@ -32798,17 +32808,7 @@ Region = PAL-Unk
|
||||
Serial = SLES-51402
|
||||
Name = Tenchu - Wrath of Heaven
|
||||
Region = PAL-Unk
|
||||
Compat = 4
|
||||
[patches = 83261085]
|
||||
|
||||
comment=patches by Nachbrenner
|
||||
|
||||
//fix _waitIpuIdle for intro videos
|
||||
patch=0,EE,00107a10,word,00000000
|
||||
//fix D3_CHCR for tutorial's mini-videos
|
||||
patch=0,EE,00310dc4,word,00000000
|
||||
|
||||
[/patches]
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SLES-51403
|
||||
Name = Tenchu - Wrath of Heaven
|
||||
@ -36064,6 +36064,7 @@ Region = PAL-Unk
|
||||
Serial = SLES-53016
|
||||
Name = Tenchu - Fatal Shadows
|
||||
Region = PAL-Unk
|
||||
Compat = 5
|
||||
---------------------------------------------
|
||||
Serial = SLES-53017
|
||||
Name = Teenage Mutant Ninja Turtles 2 - Battle Nexus
|
||||
@ -36430,6 +36431,7 @@ Serial = SLES-53175
|
||||
Name = Top Spin
|
||||
Region = PAL-Unk
|
||||
Compat = 5
|
||||
SkipMPEGHack = 1 //background IPU in main menu hangs the game.
|
||||
---------------------------------------------
|
||||
Serial = SLES-53186
|
||||
Name = International Super Karts
|
||||
@ -38462,7 +38464,8 @@ Region = PAL-Unk
|
||||
---------------------------------------------
|
||||
Serial = SLES-54305
|
||||
Name = Demon Chaos
|
||||
Region = PAL-Unk
|
||||
Region = PAL-M5
|
||||
Compat = 4
|
||||
---------------------------------------------
|
||||
Serial = SLES-54306
|
||||
Name = Cartoon Network Racing
|
||||
|
@ -143,6 +143,7 @@ CRC::Game CRC::m_games[] =
|
||||
{0xf0a6d880, HarvestMoon, US, 0},
|
||||
{0x75c01a04, NamcoXCapcom, US, 0},
|
||||
{0xBF6F101F, GiTS, US, 0},
|
||||
{0x95CC86EF, GiTS, US, 0},
|
||||
{0xA5768F53, GiTS, JP, 0},
|
||||
{0x6BF11378, Onimusha3, US, 0},
|
||||
{0xF442260C, MajokkoALaMode2, JP, 0},
|
||||
@ -150,6 +151,7 @@ CRC::Game CRC::m_games[] =
|
||||
{0x045D77E9, TalesOfAbyss, JPUNDUB, 0},
|
||||
{0xAA5EC3A3, TalesOfAbyss, JP, 0},
|
||||
{0xFB236A46, SonicUnleashed, US, 0},
|
||||
{0x8C913264, SonicUnleashed, EU, 0},
|
||||
{0x4C7BB3C8, SimpsonsGame, NoRegion, 0},
|
||||
{0x4C94B32C, SimpsonsGame, NoRegion, 0},
|
||||
{0xD71B57F4, Genji, NoRegion, 0},
|
||||
@ -177,6 +179,15 @@ CRC::Game CRC::m_games[] =
|
||||
{0xE47C1A9C, SMTDDS2, JP, ZWriteMustNotClear}, // SMT Digital Devil Saga 2
|
||||
{0x0B8AB37B, RozenMaidenGebetGarden, JP, 0},
|
||||
{0x1CC39DBD, SuikodenTactics, US, 0},
|
||||
{0x64C58FB4, TenchuFS, US, 0},
|
||||
{0xE7CCCB1E, TenchuFS, EU, 0},
|
||||
{0x1969B19A, TenchuFS, EU, 0}, //PAL Spanish
|
||||
{0x767E383D, TenchuWoH, US, 0},
|
||||
{0x83261085, TenchuWoH, EU, 0}, //PAL German
|
||||
{0x8BC95883, Sly3, US, 0},
|
||||
{0x8164C614, Sly3, EU, 0},
|
||||
{0x07652DD9, Sly2, US, 0},
|
||||
{0xFDA1CBF6, Sly2, EU, 0},
|
||||
};
|
||||
|
||||
hash_map<uint32, CRC::Game*> CRC::m_map;
|
||||
|
@ -82,6 +82,10 @@ public:
|
||||
SMTDDS2,
|
||||
RozenMaidenGebetGarden,
|
||||
SuikodenTactics,
|
||||
TenchuWoH,
|
||||
TenchuFS,
|
||||
Sly3,
|
||||
Sly2,
|
||||
TitleCount,
|
||||
};
|
||||
|
||||
|
@ -2368,14 +2368,14 @@ bool GSC_SonicUnleashed(const GSFrameInfo& fi, int& skip)
|
||||
{
|
||||
if(skip == 0)
|
||||
{
|
||||
if(fi.TME && fi.FBP == 0x02200 && fi.FPSM == PSM_PSMCT16S && fi.TBP0 == 0x00000 && fi.TPSM == PSM_PSMCT16)
|
||||
if(fi.TME && fi.FPSM == PSM_PSMCT16S && fi.TBP0 == 0x00000 && fi.TPSM == PSM_PSMCT16 && fi.FBMSK == 0x00000)
|
||||
{
|
||||
skip = 1000; // shadow
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(fi.TME && fi.FBP == 0x00000 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x02200 && fi.TPSM == PSM_PSMCT16S)
|
||||
if(fi.TME && fi.FBP == 0x00000 && fi.FPSM == PSM_PSMCT16 && fi.TPSM == PSM_PSMCT16S && fi.FBMSK == 0x00000)
|
||||
{
|
||||
skip = 2;
|
||||
}
|
||||
@ -2495,6 +2495,58 @@ bool GSC_SuikodenTactics(const GSFrameInfo& fi, int& skip)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GSC_TenchuWoH(const GSFrameInfo& fi, int& skip)
|
||||
{
|
||||
if(skip == 0)
|
||||
{
|
||||
if(fi.TME && fi.TPSM == PSM_PSMZ16 && fi.FPSM == PSM_PSMCT16 && fi.FBMSK == 0x03FFF)
|
||||
{
|
||||
skip = 3;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GSC_TenchuFS(const GSFrameInfo& fi, int& skip)
|
||||
{
|
||||
if(skip == 0)
|
||||
{
|
||||
if(fi.TME && fi.TPSM == PSM_PSMZ16 && fi.FPSM == PSM_PSMCT16 && fi.FBMSK == 0x03FFF)
|
||||
{
|
||||
skip = 3;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GSC_Sly3(const GSFrameInfo& fi, int& skip)
|
||||
{
|
||||
if(skip == 0)
|
||||
{
|
||||
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00700) && fi.FPSM == fi.TPSM && (fi.TBP0 == 0x00000 || fi.TBP0 == 0x00700) && fi.TPSM == PSM_PSMCT16)
|
||||
{
|
||||
skip = 107;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GSC_Sly2(const GSFrameInfo& fi, int& skip)
|
||||
{
|
||||
if(skip == 0)
|
||||
{
|
||||
if(fi.TME && /*(fi.FBP == 0x00000 || fi.FBP == 0x00700) &&*/ fi.FPSM == fi.TPSM && fi.TPSM == PSM_PSMCT16 && fi.FBMSK == 0x03FFF)
|
||||
{
|
||||
skip = 540;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GSState::IsBadFrame(int& skip, int UserHacks_SkipDraw)
|
||||
{
|
||||
GSFrameInfo fi;
|
||||
@ -2550,6 +2602,10 @@ bool GSState::IsBadFrame(int& skip, int UserHacks_SkipDraw)
|
||||
map[CRC::RadiataStories] = GSC_RadiataStories;
|
||||
map[CRC::HauntingGround] = GSC_HauntingGround;
|
||||
map[CRC::SuikodenTactics] = GSC_SuikodenTactics;
|
||||
map[CRC::TenchuWoH] = GSC_TenchuWoH;
|
||||
map[CRC::TenchuFS] = GSC_TenchuFS;
|
||||
map[CRC::Sly3] = GSC_Sly3;
|
||||
map[CRC::Sly2] = GSC_Sly2;
|
||||
}
|
||||
|
||||
// TODO: just set gsc in SetGameCRC once
|
||||
|
Loading…
Reference in New Issue
Block a user