Posts: 1.427
Threads: 26
Joined: Jan 2016
Reputation:
40
Location: Emerald Dream
04-29-2017, 03:39 AM
(This post was last modified: 04-29-2017, 03:39 AM by lightningterror.)
Ok a question how to create crc hw hacks ? Where and how do you get the values from ?
I'm still new to this so I want to know how this is done
Code:
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00e00 || fi.FBP == 0x01000) && fi.FPSM == fi.TPSM && (fi.TBP0 == 0x00000 || fi.TBP0 == 0x00e00 || fi.TBP0 == 0x01000) && fi.TPSM == PSM_PSMCT32 && fi.FBMSK == 0x0FF000000)
For example this , where and how do I find those values ?
CPU: I7-4770 3.9GHZ
Motherboard: Asrock B85M - DGS
RAM: Hyper X Savage 2x8GB 1.6GHZ CL9
GPU: GTX1070 8GB GDDR5
OS: Windows 10 Pro 64bit
Posts: 1.427
Threads: 26
Joined: Jan 2016
Reputation:
40
Location: Emerald Dream
(04-30-2017, 10:47 AM)gregory Wrote: only me is allowed to create CRC hack
Help plx then xD
Anyway back on topic this seems a bit too hard for me to do , I need a little bit of explanation how to do it.
Can the values be found in gs dumps and if so how ?
I have a couple of demo discs I want to add crc hacks for specific games. (multiple games on 1 demo disc)
1. The Getaway Black Monday demo
Code:
bool GSC_DEMODISC58(const GSFrameInfo& fi, int& skip)
{
if(skip == 0)
{
// Getaway Black Monday crc. Other demo games might be affected by the hack as well
if((fi.FBP ==0 || fi.FBP ==0x1180)&& fi.TPSM == PSM_PSMT8H && fi.FBMSK == 0)
{
skip = 1;
}
}
return true;
}
I tried reusing the code from the original games but it seems it doesn't work. fi.FBP ==0x1180 might have a different value in the demo so I need a bit of help with this one.
GS dump:
https://drive.google.com/open?id=0B8cQAq...WlRM2Eyd00
2. Area 51 demo
Area 51 has a strange issue that is depth related similar to Dragonball Z Budokai Tenkaichi 3. A transparent wall is shown in front of the player , with depth emulation it's partially rendered but makes things worse by making the wall more visible and appear as a bar but not full screen. Disabling depth emulation the transparency is increased and the wall is now shown on the whole screen but less visible.
GS dump:
https://drive.google.com/open?id=0B8cQAq...klIV010VjA
Looking at
http://forums.pcsx2.net/attachment.php?aid=49644 the issue seems to be present on the full game as well.
CPU: I7-4770 3.9GHZ
Motherboard: Asrock B85M - DGS
RAM: Hyper X Savage 2x8GB 1.6GHZ CL9
GPU: GTX1070 8GB GDDR5
OS: Windows 10 Pro 64bit