[SAVEGAME HACK] + [HELP] Kirby and the rainbow course

Discussion in 'Wii U - Hacking & Backup Loaders' started by asper, Mar 22, 2016.

  1. asper
    OP

    asper GBAtemp Advanced Fan

    Member
    619
    320
    May 14, 2010
    United States
    Points and lives identified with unlocked treasures but the game has a 4 byte checksum at offset 0000000x04-0x00000007: does someone is able to figure out how it is calculated ? Without it no savegame hacks are possible. Here are 2 savegames (just 1st level played 1 time from zero in both of them).

    The offsets found:

    Lives:
    0x00000589

    Points (4 bytes):
    0x0000058C
    0x0000058D
    0x0000058E
    0x0000058F
     
  2. punderino

    punderino aka Big-Dick Swinger

    Member
    895
    487
    Jan 5, 2016
    United States
    Kansas City, Missouri
    what can we even do with savegame hacks? xDD, just finished game savegames? or like, exploit savegames?
     
  3. ZoNtendo

    ZoNtendo GBAtemp Fan

    Member
    422
    225
    May 25, 2015
    just to cheat, stop with exploit ravings
     
    VinsCool likes this.
  4. punderino

    punderino aka Big-Dick Swinger

    Member
    895
    487
    Jan 5, 2016
    United States
    Kansas City, Missouri
    i wasn't 'exploit raving'? i was simply asking what it had to do with.
     
  5. ZoNtendo

    ZoNtendo GBAtemp Fan

    Member
    422
    225
    May 25, 2015
    He say, he want to cheat
     
  6. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    4,339
    1,121
    Mar 7, 2010
    At Home :)
    Why is he opening constant pointless threads when there is a thread dedicated to pointer cheats :unsure: > https://gbatemp.net/threads/post-your-wiiu-cheat-codes-here.395443/ the OP just has not been updated but these cheats have probably already been reported there! Also there is a Loadiine file save sharing thread full of files to share, if that is what he is wanting. Is he just unnecessary posting to get some sort of fame hit, you know to feed his GBATemp fame hit addiction? it probably is and can be a very serious addiction, according to @gamesquest1 he told me once its like having a Smack addiction and you can never go back! ;)
     
    Last edited by Reecey, Mar 22, 2016
  7. asper
    OP

    asper GBAtemp Advanced Fan

    Member
    619
    320
    May 14, 2010
    United States
    The one you are linking are RAM cheats, absolutely not related to savegame hacks.
    File sharing is something you want to exchange with others, just different with "modify your own savegames to obtain just what you want/need".
    Your answer seems to be the answer of a totally (boring) newbie that usually infests forums and makes devs and researchers to loose their interest in sharing their totally-free findings with others.

    Thank you very much for your (totally unuseful) presence, from now on I will stop sharing my savegame findings, thanks to you ;)
     
    Last edited by asper, Mar 23, 2016
    Leanny likes this.
  8. Leanny

    Leanny Advanced Member

    Newcomer
    85
    29
    Feb 14, 2009
    Gambia, The
    I am also interessted in this, since I try to figure out how to calculate the checksum of Wii U games for around 2 days now. Right now it looks to me that they are using CRC32 with a polynom I dont know about or a standard CRC32 with a range I dont know about. I keep you up2date when I find something, or maybe someone else can help :)
     
  9. NWPlayer123

    NWPlayer123 GBAtemp Addict

    Member
    2,632
    6,232
    Feb 17, 2012
    United States
    The Everfree Forest
    Well, Kirby has full symbols if anyone wants to disassemble it and dig
     
  10. Gadorach

    Gadorach Electronics Engineering Technologist

    Member
    952
    686
    Jan 22, 2014
    Canada
    Canada
    I've been meaning to look into checksum correction, I'll see what I can do.
     
  11. asper
    OP

    asper GBAtemp Advanced Fan

    Member
    619
    320
    May 14, 2010
    United States
    I think it can be CRC32 but dunno which bytes to feed...
     
  12. NWPlayer123

    NWPlayer123 GBAtemp Addict

    Member
    2,632
    6,232
    Feb 17, 2012
    United States
    The Everfree Forest
    Well, I found the class that handles it all, storage::SaveDataAccessor
    Warning: Spoilers inside!
    EDIT: Okay, so. It passes in everything except the first 0x10 bytes since that's apparently some header, the rest is 0x1194 bytes, so it does a CRC32 on bytes 0x10 to 0x11A4. Something like this
    Code:
    static hel::util::Hash::CRC32(const void* data, int size) {
        int ret = -1;
        if (size == 0) return ret;
    
        for (int i = 0; i < size; i++) {
            //Do hash
        }
        return ret;
    }
    
    Warning: Spoilers inside!
    Or you can, just, somehow edit that function so it doesn't call it, on this version just write 0x38600001 (li r3, 1) to 0x0E05E6B8 to replace that srwi r3, r0, 5 in isValidCrc so it's always valid
     
    Last edited by NWPlayer123, Mar 24, 2016
    Gadorach and asper like this.
  13. Leanny

    Leanny Advanced Member

    Newcomer
    85
    29
    Feb 14, 2009
    Gambia, The
    Is it the same for games like Splatoon? Or is it using another function for the checksumgeneration?
     
  14. asper
    OP

    asper GBAtemp Advanced Fan

    Member
    619
    320
    May 14, 2010
    United States
    Great finding man ! THANK YOU !

    I just tested a CRC32 function from 0x10 to 0x11A4 but my result is different: for GameData01.dat (the files i uploaded in the 1st post) it is C20D9F8D insted of the correct 68C069EF... is it a standard CRC32 calculation ?
    I found another checksum, probably the same, in Nintendo Land and in Captain Toad but without the correct CRC32 function i cannot verify.
     
    Last edited by asper, Mar 24, 2016
  15. NWPlayer123

    NWPlayer123 GBAtemp Addict

    Member
    2,632
    6,232
    Feb 17, 2012
    United States
    The Everfree Forest
    I don't think that's a checksum, actually, my imported gear works fine without it generated and they never update it after it's in your inventory
     
  16. Leanny

    Leanny Advanced Member

    Newcomer
    85
    29
    Feb 14, 2009
    Gambia, The
    I can only try it on CEMU rn and everytime I manipulate my save, so I was thinking that it was a checksum