mirror of https://github.com/PCSX2/pcsx2.git
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
This commit is contained in:
parent
2769fe7e32
commit
fd7b163643
|
@ -588,7 +588,8 @@ bool GSHacksDlg::OnMessage(UINT message, WPARAM wParam, LPARAM lParam)
|
|||
case IDC_AGGRESSIVECRC:
|
||||
helpstr = "Use more aggressive CRC hacks on some games\n\n"
|
||||
"Only affects few games, removing some effects which might make the image sharper/clearer.\n"
|
||||
"Affected games: FFX, FFX2, FFXII, GOW2, ICO, SoTC, SSX3.";
|
||||
"Affected games: FFX, FFX2, FFXII, GOW2, ICO, SoTC, SSX3.\n"
|
||||
"Works as a speedhack for: Steambot Chronicles.";
|
||||
break;
|
||||
case IDC_ALPHASTENCIL:
|
||||
helpstr = "Extend stencil based emulation of destination alpha to perform stencil operations while drawing.\n\n"
|
||||
|
|
|
@ -5042,23 +5042,25 @@ bool GSC_UrbanReign(const GSFrameInfo& fi, int& skip)
|
|||
|
||||
bool GSC_SteambotChronicles(const GSFrameInfo& fi, int& skip)
|
||||
{
|
||||
// Author: miseru99 on forums.pcsx2.net
|
||||
if(fi.TME && fi.TPSM == PSM_PSMCT16S)
|
||||
if(skip == 0)
|
||||
{
|
||||
if(fi.FBP == 0x1180)
|
||||
// Author: miseru99 on forums.pcsx2.net
|
||||
if(fi.TME && fi.TPSM == PSM_PSMCT16S)
|
||||
{
|
||||
skip=1;//1 deletes some of the glitched effects
|
||||
}
|
||||
else if(fi.FBP == 0)
|
||||
{
|
||||
skip=100;//deletes most others(too high deletes the buggy sea completely;c, too low causes glitches to be visible)
|
||||
}
|
||||
else if(g_aggressive && fi.FBP != 0)//Agressive CRC
|
||||
{
|
||||
skip=19;//"speedhack", makes the game very light, vaporized water can disappear when not looked at directly, possibly some interface still, other value to try: 6 breaks menu background, possibly nothing(?) during gameplay, but it's slower, hence not much of a speedhack anymore
|
||||
if(fi.FBP == 0x1180)
|
||||
{
|
||||
skip=1;//1 deletes some of the glitched effects
|
||||
}
|
||||
else if(fi.FBP == 0)
|
||||
{
|
||||
skip=100;//deletes most others(too high deletes the buggy sea completely;c, too low causes glitches to be visible)
|
||||
}
|
||||
else if(g_aggressive && fi.FBP != 0)//Agressive CRC
|
||||
{
|
||||
skip=19;//"speedhack", makes the game very light, vaporized water can disappear when not looked at directly, possibly some interface still, other value to try: 6 breaks menu background, possibly nothing(?) during gameplay, but it's slower, hence not much of a speedhack anymore
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue