Hacking Preloader Hacks for Starpatch

PhyniX

Well-Known Member
OP
Member
Joined
Mar 29, 2009
Messages
100
Trophies
0
XP
251
Country
Gambia, The
Hello
I have found a good hack.ini for the Preloader
but i dont want use the preloader
have anyone an idea to make a preloader hack ready for starpatch

example from Preloader hack.ini
[Disable HAXX,DVDX,RZDx deletion]
version=481
offset=0x813345A0
value=0x60000000


example form starpatch
{"Disable HAXX, DVDX, RZDX Checks"},
0x4AC0,
{
0x48, 0x03, 0x2D, 0x3D
},
{
0x60, 0x00, 0x00, 0x00
},
4
 

Blue-K

No right of appeal.
Member
Joined
Jun 21, 2008
Messages
2,572
Trophies
0
Location
Helvetica
XP
209
Country
Swaziland
Have you realy read that page here? Do it, please...As far as I know, all hacks from the hacks.ini are in Startpatch (Including your Example). Maybe you should read first next time...
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
Here's a quick guide, using your example:

Here's the preloader code:

Code:
[Disable HAXX,DVDX,RZDx deletion]
version=481
offset=0x813345A0
value=0x60000000

From this we take the offset (813345A0), and subract 8132FAE0 from it using a hex calculator (you can use Windows Calculator for this). This gives you 4AC0, which is the first part of the StartPatch hack after the name. The next part of the StartPatch hack is the original value in the System Menu (before it is patched). To find this, open the dol of the System Menu you are converting patch for in a hex editor, and go to the offset (StartPatch version, in this case 4AC0). Here you will find 48 03 2D 3D. This is the next section of the StartPatch patch. Just add 0x before each byte (2 digits), and put a comma between each byte. The final section of the StartPatch patch is just the value section of the preloader hack. Again, 0x before byte and comma betwen bytes. All that remains is to format this all correctly, as follows:

Code:
{"Disable HAXX, DVDX, RZDX Checks"},
0x4AC0,
{
0x48, 0x03, 0x2D, 0x3D
},
{
0x60, 0x00, 0x00, 0x00
},
4

(the 4 is the length of the patch, in this case 4 (48 03 2D 3D - 4 bytes))

Then you can add this to StartPatch. add it to patches.h, compile and I think it should then work, without you needing to modify any other file.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.theverge.com/2024/7/26/24206529/intel-13th-14th-gen-crashing-instability-cpu-voltage-q-a +1