WIP BOTW Save Editor (Homebrew App)

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by Jpe230, Jun 8, 2018.

  1. Jpe230
    OP

    Jpe230 Member

    Newcomer
    3
    May 14, 2018
    Mexico
    I made this simple Homebrew app to edit your rupees, weapon durability and arrow quantity.

    It is still a WIP, I've got much to improve.


    IT ONLY WORKS ON V1.5 OF BOTW Now it works for all versions :)


    Instructions:

    • Open BOTW with your current user. Wait until the title screen, then exit it. (Close the game, too);
    • Open the Save Editor and select save file slot. (Usually it is 5 or 0).
    • Use DPAD UP/Down to Increase/Decrease the integer. Use DPAD Left/Right to move the cursor.
    • Use L/R to move between items.
    • Press A to Commit Changes.
    • Press + to exit.

    Disclaimer:

    • Please always make a backup before editing your save file; I'm not responsible for any lost save file.
    • This is a WIP, it contains bugs.

    If you want to contribute please DM me, I seriously need help.

    EDIT: I updated the zip file, it contains 2 nro's one for normal mode and the other for master mode. Now it mounts the save directory now you don't have to use Checkpoint to extract your save file. But ALWAYS make a backup.

    If you want to contribute please DM me, I seriously need help.


    Here is my project in Github if you want to compile it/fork it/see the code: github (dot) com/Jpe230/BOTW-Save-File-Editor

    Deprecated. See my new post: https://gbatemp.net/threads/botw-save-file-editor-gui-version.508370/

    (Mods feel free to delete this thread.
     

    Attached Files:

    Last edited by Jpe230, Jun 25, 2018
  2. xTwized

    xTwized Member

    Newcomer
    2
    Jun 7, 2018
    Canada
    Wow this is pretty awesome! The ability to edit saves on device is infinitely appealing and convenient! Might I suggest that you work with the developers of Edizon? They have an excellent foundation and graphical front end for backing up / restoring saves on device. The next part of what they are trying to accomplish would then to have on device editing of the aforementioned saves. Once again though, this is awesome! Keep up the excellent work!
     
  3. eskinner3742

    eskinner3742 GBAtemp Regular

    Member
    3
    Feb 21, 2016
    United States
    Can't wait to see this get more features. Great work.
     
  4. GraFfiX420

    GraFfiX420 GBAtemp Fan

    Member
    6
    Oct 14, 2009
    United States
    Haven't tried it yet, but I like what you've done here, great work!
     
  5. Captainstryder

    Captainstryder Member

    Newcomer
    1
    May 20, 2018
    Norway
    Is there a value that allows for infinate weapon duribility? Would love to have a shield that can last longer for epic surfing.
     
  6. Jpe230
    OP

    Jpe230 Member

    Newcomer
    3
    May 14, 2018
    Mexico
    Just set it to 999999 :D It wont break easily
     
  7. Syynx

    Syynx Advanced Member

    Newcomer
    2
    Jun 5, 2018
    United States
    I followed the instructions and I don't think it's working properly for me; no matter which save number I load in the editor it says I have 0 rupees and I can't use L/R to switch to other categories

    I have another save backed up in Checkpoint, I'll try removing that

    EDIT: Fixed it! Turns out the problem was the Save editor only let's you choose saves 0-5, while my save folder showed 0-7 (the manual save being folder "6") I deleted folder 5 and renamed 6 to 5. Maybe the 2 additional save folders are created when you start a game on hard mode?
     
    Last edited by Syynx, Jun 9, 2018
  8. Jpe230
    OP

    Jpe230 Member

    Newcomer
    3
    May 14, 2018
    Mexico

    Yes it is a currently a problem when you have master mode, you can edit the code easily to fix it :)
     
  9. Syynx

    Syynx Advanced Member

    Newcomer
    2
    Jun 5, 2018
    United States
    Done! Here's an updated version of the .nro with master mode fix for anyone who can't fix it

    mediafire [dot] com/file/4cnu5uvru5d5f87/BOTW-Save-File-Editor.nro

    Lines 158 through 176 of main.c should read:
    Code:
        if(currentItem == 0){
            printf("\r");
                printf("%d", slot);
                switch(c){
                    case 0:
                        slot++;
                        if(slot == 8)
                            slot = 0;
                        break;
                    case 1:
                        slot--;
                        if(slot == -1)
                            slot = 7;
                        break;  
                   
                }
                printf("\r");
                printf("%d", slot);
        }
     
    Last edited by Syynx, Jun 9, 2018
  10. Zumoly

    Zumoly GBATemp Analyst

    Member
    5
    Apr 27, 2018
    Mali
    Yorosso
    You should play the game and not the other way round!
    I'm really tempted to get this but I'm afraid the game will become too easy:unsure:
    Anyways thanks for this awesome tool!
     
  11. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    11
    Apr 20, 2007
    United States
    Worked perfect for me. Master Link is now rich, has an Indestructible Master Sword, Unbreakable Shield, and Infinite Light Arrows.
     
    CrisFTW likes this.
  12. Zumoly

    Zumoly GBATemp Analyst

    Member
    5
    Apr 27, 2018
    Mali
    Yorosso
    I'm not getting this bit. The folder has to stay in checkpoint folder or moved to the root of the SD card?
     
  13. SwitchMii

    SwitchMii Member

    Newcomer
    1
    May 11, 2018
    United States
    Amazing!! So much easier than bringing the save files to the computer
     
  14. Greg956

    Greg956 Advanced Member

    Newcomer
    2
    Dec 18, 2017
    Russia
    I only see rupees as item, others are without name, how do I know what I edit?
     
  15. JimmyDean42

    JimmyDean42 Newbie

    Newcomer
    2
    May 19, 2018
    United States
    Thx, this is awesome @Jpe230 ! Didn't want to have to copy my save to PC every time to refresh my weapons.

    I have all my homebrew in a /switch/ folder on my SD card, so I changed the folder location to point to that so I didn't have to move stuff around on my card. Also added the mastermode fix via @Syynx (even tho nowhere near there yet).


    EDIT: Nvm, wasn't clear to me what I was looking at.
     
    Last edited by JimmyDean42, Jun 9, 2018
  16. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    11
    Apr 20, 2007
    United States
    What do you mean you changed the folder location? What did you change exactly?
     
  17. JimmyDean42

    JimmyDean42 Newbie

    Newcomer
    2
    May 19, 2018
    United States
    From /Checkpoint/saves/0x01007EF00011E000 The Legend of Zelda Breath of the Wild/botw/ to /switch/Checkpoint/saves/0x01007EF00011E000 The Legend of Zelda Breath of the Wild/botw/. I have all my homebrew programs in one folder in my SD card. Just didn't want to have to move my Checkpoint folder out of there.
     
  18. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    11
    Apr 20, 2007
    United States
    The original code says: char header[] = "Checkpoint/saves/0x01007EF00011E000 The Legend of Zelda Breath of the Wild/botw/";

    This is a relative path. If you place the Save editor in sdmc:/switch/ then it will look for the Checkpoint folder in the Switch folder. Your edit simply turned it into an absolute path so that the save game editor can access the folder no matter where on the SD card you place it. Still a good edit, but the original worked fine for me.
     
  19. BlastedGuy9905

    BlastedGuy9905 where's the updated autopsy report

    Member
    9
    Apr 13, 2017
    United States
    under your desk
    Who said you HAD to edit your game files? This is not for people who want to play normally, this is for people who want to mess around!
     
  20. JimmyDean42

    JimmyDean42 Newbie

    Newcomer
    2
    May 19, 2018
    United States
    AHHH, gotcha. I have every .nro in its own folder (so /switch/BOTW-Save-File-Editor/BOTW-Save-File-Editor.nro). That's why it didn't work for me. I guess putting it in the same folder as the /Checkpoint/ folder is easier than editing the code :P

    Thx for taking the time to explain!
     
Loading...