Hacking please help me with pegaswitch

  • Thread starter Thread starter nero99
  • Start date Start date
  • Views Views 2,721
  • Replies Replies 9

nero99

Well-Known Member
Member
Joined
Sep 18, 2014
Messages
3,134
Reaction score
1,999
Trophies
1
Age
33
XP
3,763
Country
United States
I have pegaswitch all set up but have no idea how to run the scripts/js files to back up and restore my breath of the wild save file. I am a noob when it comes to using linux, so i had gotten a virtual machine with everything already set up. i really would like to know how to run scripts, i have been at this for hours, searching and everything. I have not found any answers aside from "just run it in pegaswitch and you're good to go"... No answers on how to actually do it. Please dont come at me with the "if you dont know then dont use it" bs.
 
Once you are in pegaswitch
upload_2018-4-17_8-20-8.png
you can type "help" to seel all possible commands.
upload_2018-4-17_8-21-13.png
What you want is the "evalfile" command.
Just create a folder inside your pegaswitch folder and put your script there. Then all you need to do is "evalfile ./yourfolder/yourscript.js". Obviously, you need to connect your Switch first.
 
Last edited by Kubas_inko,
  • Like
Reactions: nero99
So i keep getting the error 56: sc.enableTurbo is not function. every time I try to use any of the scripts for dumping save files.
 
So i keep getting the error 56: sc.enableTurbo is not function. every time I try to use any of the scripts for dumping save files.

You must be using an outdated version of the script, run: git pull origin master

Then try again.
 
You must be using an outdated version of the script, run: git pull origin master

Then try again.
I will try. I get that same error when using the script that someone made up not too long ago that was for dumping breath of the wild saves
You must be using an outdated version of the script, run: git pull origin master

Then try again.
Turns out my entire pegaswitch was outdated. The VM i use had a earlier version that for somereason would not work with the new scripts. Thank you for the suggestion as well.
 
  • Like
Reactions: GraFfiX420
delete the whole folder;

git clone https://github.com/reswitched/pegaswitch.git

npm install
(i think thats the one)

sudo node start.js (on 1.0.0 or through fake_news
sudo node start.js --webapplet )

evalfile usefulscripts/scriptyouwanttoload.js


on 1.0.0 or through fake_news

sudo node start.js --webapplet

post any other errors here.
 
I am getting a save file write error. [error 5022, 'expected [lo,hi] or number'] I have even tried using the corrected .js in another thread that had this issue, but no luck. And yes, I did set the title id in the script to my breath of the wild title. I am also doing this all on 3.0.0.
 
I am getting a save file write error. [error 5022, 'expected [lo,hi] or number'] I have even tried using the corrected .js in another thread that had this issue, but no luck. And yes, I did set the title id in the script to my breath of the wild title. I am also doing this all on 3.0.0.

Try this technique, start the game you want to backup saves from, as soon as you see anything on the screen, immediately hit home, execute pegaswitch, and run the js file. The idea being to seize control before the console has a chance to mount the data I believe.
 

Site & Scene News

Popular threads in this forum