ROM Hack Write mod SaveFile Dump (BotW) not working

  • Thread starter Thread starter Deleted User
  • Start date Start date
  • Views Views 19,411
  • Replies Replies 83
thanks to @rajkosto and @Reisyukaku for your scripts.

I have succeeded to cheat my savedata xxD

See for yourself:https://imgur.com/a/GxFP2

AinQuqt
GxFP2
 
Damn can't wait for CFW, want to cheat mine too and probably later conver the save to play in 4k on the PC with CEMU then move to Switch to play portable :)
 
Is anyone else having issues getting these to work on 3.0? Most I've got any of them to do was write options and captions, but these did not change once in-game. Literally tried all the scripts that have been shared here.

Asking because well.. since it takes anywhere from 1 to 20 tries to connect to pegaswitch (if I do not set proxy in net settings, with proxy enabled I end up having socket errors) despite not having any anti-virus/firewall running on both Windows 10 Ubuntu and virtual machine, I've been heavily suspecting my router to be the culprit and not the scripts.

Edit: Now somehow connecting easily but still getting

Code:
ERROR: [ 651, 'IPCMessage(3174914 = Error: 0x307202 (unknown in module FS))']

Right when trying to opening the file

Code:
[Opening new file] /1/game_data.sav
[Open file Ok] /1/game_data.sav
ERR [651]: IPCMessage(3174914 = Error: 0x307202 (unknown in assertOk@exploit/Result.js:24:0

Edit: Just kept trying and trying.. it ended up working eventually! The save editor did not though, ended up with empty inventory and under the map
And now the editor to work, somehow my save had been corrupted. so having to start from scratch but rich at least I guess
 
Last edited by Takuny,
Not matter what I do I always get,

error: [ 826, '0xe02 (High byte in input u64 is zero. in moduleFS)' ]

when trying to dump my save lmao.
 
can someone make a extract and inject BOTW saved games for dummies?

I do not know how to compile all this JS coding.So like a .NRO

Im on 3.0 and would love to backup my son's games
 
Well it doesn't work no matter what so I'm giving up. Thanks for the help though.
To dump/restore a savegame:

1. Start bash and run sudo node start.js
2. Run the game (in my case BOTW) and wait for the splash screen appears
3. Go back to the home menu as soon as you see the Nintendo Switch splash screen (not too early and don't exit the game)
4. Run pegaswitch either via internet settings or update game
5. Run your script: In my case "evalfile ./usefulscripts/dump.js"
6. You will see "no output" and saves are saved in pegaswitch -> dumps
7. Edit, restore and profit (???)
 
  • Like
Reactions: lordelan and Takuny
To dump/restore a savegame:

1. Start bash and run sudo node start.js
2. Run the game (in my case BOTW) and wait for the splash screen appears
3. Go back to the home menu as soon as you see the Nintendo Switch splash screen (not too early and don't exit the game)
4. Run pegaswitch either via internet settings or update game
5. Run your script: In my case "evalfile ./usefulscripts/dump.js"
6. You will see "no output" and saves are saved in pegaswitch -> dumps
7. Edit, restore and profit (???)
I always got an error from it. It went from one error to another.

error: [ 826, '0xe02 (High byte in input u64 is zero. in moduleFS)' ]

Is that from me doing something incorrect like incorrect timing on going to the home menu and to PegaSwitch?
 
What you need to do is run the game, and as soon as you see anything on the screen, press the home button and continue to run pegaswitch. The point of exiting the game early is to start the dump before the game has a chance to mount the save data.
 
I always got an error from it. It went from one error to another.

error: [ 826, '0xe02 (High byte in input u64 is zero. in moduleFS)' ]

Is that from me doing something incorrect like incorrect timing on going to the home menu and to PegaSwitch?

I've got the same error messages like you. Follow my instruction step by step.
Thanks for your awesome work @Reisyukaku and the other guys working on this script

Please use the following scripts posted from @RyuSeisuke1992 in his previous post:

Dump Savegames:

  1. Edit the dumpSave.js file like this example for botw
    Code:
    var tid = '0000000000000000';
    to
    Code:
    var tid = '01007EF00011E000';
  2. start the game on your switch and wait till the game is in the main menu
  3. then press the home menu button and close the game with the x button
  4. immediately open your settings menu and start pegaswitch
  5. when pegaswitch is connected enter the following command
    Code:
    evalfile ./usefulscripts/dumpSave.js
  6. wait till the script finish with "no output"
  7. now you should find a new folder in your pegaswitch folder named dumps
  8. the game_data.sav is in the folder 0,1,2,3,4,5 located in the dumps/SaveData folder and could be edited with http://www.marcrobledo.com/savegame-editors/zelda-botw/
Inject Savegames:
  1. Edit the writeSave.js file like this (example for botw)
    Code:
    var tid = '0000000000000000';
    to
    Code:
    var tid = '01007EF00011E000';
    (BOTW EUR)
    and
    Code:
    var commitAfterEveryFile = false;
    to
  2. Code:
    var commitAfterEveryFile = true;
  3. modify your savegame and put it back into the dumps/SaveData/[1,2,3,4 or 5 folder] and overwrite the existing file (game_data.sav)
  4. turn your switch off
  5. insert the sd from your switch into your computer
  6. copy all folders and files located in the saveData directory to
    Code:
    sdcard:/Saves/YOUR-GAME-TID
    for our example in
    Code:
    sdcard:/Saves/01007EF00011E000
  7. put the sd card back into the switch
  8. start the game and wait till the main menu
  9. then press the home menu button and exit the game with the x button
  10. immediately start pegaswitch
  11. run the script with
    Code:
    evalfile ./usefulscripts/writeSave.js
  12. wait for the success message

IN MY CASE: I have to close the game and then run immediately pegaswitch and the dump or write scripts to gain access to the filesystem, without getting weird error messages like you.
 

Site & Scene News

Popular threads in this forum