[Release] Zelda Triforce Heroes Save Editor

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Neptune, Oct 24, 2015.

  1. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    533
    Dec 7, 2003
    United States
    Internet
    Zelda Tri Force Heroes Save Editor:
    Executable: here (with source)
    Online Version: here


    Key Items and Matertials location
    Materials (possible spoiler)


    Rupee Location
    0x2B0 Rupee
    0x2B1 Rupee
    0x2B2 Rupee
    0x2B3 Rupee

    Max Rupees, change 0x2B0 and the following bytes to match 9F860100 = 99999 Rupees

    Costumes
    Costume Names - SPOILER

    World Completion
    World name spoilers

    CRC32 locations
    0x00-0x1FB located at 0x1FC
    0x200-0x19FB located at 0x19FC
    0x19FD-0x2BFE located at 0x2BFC

    TFHchecks.rar is created by @Reisyukaku and if you edit any of the values this will automatically update the CRC32 to match so you don't have to hunt and do it manually. Source code included. Hopefully he doesn't mind me linking it here :)

    Zelda Tri Force Heroes Save Editor:
    Executable:
    here (with source)
    Online Version: here


    CREDITS: @BouncyBread @Myria @Reisyukaku @fafaffy @c4388354 @Kaphotics for offsets, ideas, help and programming!
     

    Attached Files:

    Last edited by fafaffy, Nov 11, 2015
  2. SonyUSA

    SonyUSA We're all mad here

    pip Contributor
    GBAtemp Patron
    SonyUSA is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    1,043
    2,097
    May 12, 2006
    United States
    Don't edit 230, 231, or 232 to play through the game regularly as these are key items you only get 1 of!
     
  3. Thirty3Three

    Thirty3Three Musician Member

    Member
    3,430
    1,844
    Mar 22, 2013
    United States
    Wherever you want me, baby.
    Need a tutorial, I'm super confused on how to edit these. I've got my savedata.bin (the decrypted save) but besides that...
     
  4. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    533
    Dec 7, 2003
    United States
    Internet
    I unfortunately don't do programming. Hopefully someone will take these values and throw them in a GUI to be user friendly.

    Basically you open a hex editor and go to the offset for example 0x2B0 and change that value to FF and then change 0x2B1 to FF and save it then run it through that attached file and it will update the checksum and you will have max rupees :)
     
  5. Thirty3Three

    Thirty3Three Musician Member

    Member
    3,430
    1,844
    Mar 22, 2013
    United States
    Wherever you want me, baby.
    So... how do I find "0x2B0", for example? I'm pretty new to hex-editiing. Thanks!
     
  6. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    533
    Dec 7, 2003
    United States
    Internet
    download HxD it should be kind of obvious :)
     
  7. Thirty3Three

    Thirty3Three Musician Member

    Member
    3,430
    1,844
    Mar 22, 2013
    United States
    Wherever you want me, baby.
    On it. Thanks B)
     
  8. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    533
    Dec 7, 2003
    United States
    Internet
    Having trouble figuring out 0x276-0x2AF costumes are in there and I set everything to 01 but that's definitely not it. I had 4 costumes (including the default one) costumes when I did that.
     
  9. Thirty3Three

    Thirty3Three Musician Member

    Member
    3,430
    1,844
    Mar 22, 2013
    United States
    Wherever you want me, baby.
    Eh, so I don't see anything with "0x..."

    I see on the left, "00000XXX", uh?
     
  10. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    533
    Dec 7, 2003
    United States
    Internet
    Ctrl+G type the numbers of the offset and change the value on the left pane to what you want, it's hexadecimal, changing the values to "1F" should be fine though :)
     
  11. Thirty3Three

    Thirty3Three Musician Member

    Member
    3,430
    1,844
    Mar 22, 2013
    United States
    Wherever you want me, baby.
    Okay so I noticed on the lower-left corner it says "Offset 234" for example. That's for the friendly tokens yeah? So I change that to... "FF"? And then save?
     
  12. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    533
    Dec 7, 2003
    United States
    Internet
    No. Just set it to 0F the max you need in game is 15 anyway. 0F is what you want
     
  13. Thirty3Three

    Thirty3Three Musician Member

    Member
    3,430
    1,844
    Mar 22, 2013
    United States
    Wherever you want me, baby.
    Thanks! Then drag and drop into the application, then reinject save?
     
  14. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    533
    Dec 7, 2003
    United States
    Internet
    not sure if you can drag and drop. it's command line based. it *might* work. better off opening command prompt and then typing TFHchecks.exe SaveData.bin in command prompt in that directory
     
  15. Thirty3Three

    Thirty3Three Musician Member

    Member
    3,430
    1,844
    Mar 22, 2013
    United States
    Wherever you want me, baby.
    So I dragged and dropped and the save isn't corrupt, and I've got 15 friendly tokens so hell yes! Thanks:)
     
  16. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    533
    Dec 7, 2003
    United States
    Internet
    No problem :)
     
  17. fafaffy

    fafaffy GBAtemp Fan

    Member
    331
    160
    Sep 1, 2012
    United States
    Fuck it, I'm bored, I'll make a save editor GUI in C#~
     
    otto888, Melon__Bread and Neptune like this.
  18. LoganK93

    LoganK93 GBAtemp Advanced Fan

    Member
    609
    349
    Dec 5, 2012
    United States
    Mind helping me out? I edited the friendly token number (the only thing I plan on modding as it's the only item I won't be able to obtain. Silly Nintendo assuming people have friends...), but when I put the save back in my game it isn't corrupted, but I also see no changes...
     
  19. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    533
    Dec 7, 2003
    United States
    Internet
    Please share the source. I would like to learn this for the future :)

    — Posts automatically merged - Please don't double post! —

    You modified 0x234 to 0A and ran it through the tool? Did you copy it back to SDF and remember to click import? :)


    EDIT: Getting REALLY TIRED NOW. I meant 0F (0F is 15 obviously)
     
    Last edited by Neptune, Oct 24, 2015
  20. Suiginou

    Suiginou (null)

    Member
    565
    588
    Jun 26, 2012
    Gambia, The
    pc + 8
    If you use WPF, I, as a Mono user, will find you and skin you alive.

    Have a nice day.
     
    Melon__Bread likes this.