Hacking please help me with pegaswitch

nero99

Well-Known Member
OP
Member
Joined
Sep 18, 2014
Messages
3,135
Trophies
1
Age
31
XP
3,729
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.
 

Kubas_inko

"Something funny goes here."
Member
Joined
Feb 3, 2017
Messages
6,324
Trophies
1
Age
24
Location
I gues on earth.
XP
5,215
Country
Czech Republic
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

nero99

Well-Known Member
OP
Member
Joined
Sep 18, 2014
Messages
3,135
Trophies
1
Age
31
XP
3,729
Country
United States
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.
 

nero99

Well-Known Member
OP
Member
Joined
Sep 18, 2014
Messages
3,135
Trophies
1
Age
31
XP
3,729
Country
United States
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

nero99

Well-Known Member
OP
Member
Joined
Sep 18, 2014
Messages
3,135
Trophies
1
Age
31
XP
3,729
Country
United States
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.
 

GraFfiX420

Well-Known Member
Member
Joined
Oct 14, 2009
Messages
465
Trophies
1
XP
1,603
Country
United States
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Goku likes to flip the bean to get others healthy