Preloader Hacks for Starpatch

Discussion in 'Wii - Hacking' started by PhyniX, Nov 4, 2009.

  1. PhyniX
    OP

    PhyniX Advanced Member

    Newcomer
    90
    0
    Mar 29, 2009
    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
     
  2. Blue-K

    Blue-K No right of appeal.

    Member
    2,572
    1
    Jun 21, 2008
    Swaziland
    Helvetica
    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...
     
  3. SifJar

    SifJar Not a pirate

    Member
    6,022
    892
    Apr 4, 2009
    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.