ROM Hack Write mod SaveFile Dump (BotW) not working

  • Thread starter Deleted User
  • Start date
  • Views 17,851
  • Replies 83
D

Deleted User

Guest
OP
hello everyone,

someone could already write a modded savefile to the switch?
I could dump the savefile without problems but they can not be overwritten on the switch.
I use the following WriteSave script from @Reisyukaku and i run the scripts with pegaswitch. However, I always get the following error code:

Code:
ERROR: [15, 'sc.getFSPPR is not a function. (In \ 'sc.getFSPPR()\', \ 'sc.getFSPPR\' is undefined)' ]

What am I doing wrong?
I would be very grateful for any help and suggestions for solutions.

Thank you and greeting
RyuSeisuke
 
Last edited by ,

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,271
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,356
Country
United States
hello everyone,

someone could already write a modded savefile to the switch?
I could dump the savefile without problems but they can not be overwritten on the switch.
I use the following WriteSave script from Reisyukaku and i run the scripts with pegaswitch. However, I always get the following error code:

Code:
ERROR: [15, 'sc.getFSPPR is not a function. (In \ 'sc.getFSPPR()\', \ 'sc.getFSPPR\' is undefined)' ]

What am I doing wrong?
I would be very grateful for any help and suggestions for solutions.

Thank you and greeting
RyuSeisuke


Send me the .js file's contents in a PM. I'm pretty sure it's a context error in the script judging by the fact that dumping worked for you.
 
  • Like
Reactions: Deleted User

Maq47

Lord of Pyro
Member
Joined
Jan 7, 2012
Messages
1,271
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,356
Country
United States
I not found PM Button. Can you me start Conversation?

Never mind. I found the script. The log is basically saying that PegaSwitch can't figure out what sc.getFSPPR() means. Does the 15th line of the script say "sc.getFSPPR()", or "sc.getFSPPR();" (in other words, is there a ';' after 'sc.getFSPPR()' or not?
 
  • Like
Reactions: Deleted User
D

Deleted User

Guest
OP
No! The zelda game is a european card version.

Title ID: 01007EF00011E000
 
D

Deleted User

Guest
OP
try to start botw and wait for the start menu first. After run pegaswitch and run the script

I've always tried, but it just doesn't work..
Do I have to close the game completely when pegaswitch is running?

Did it work for you?
 
Last edited by ,

eXzoN

Member
Newcomer
Joined
Dec 24, 2017
Messages
19
Trophies
0
Age
30
XP
154
Country
Germany
I've always tried, but I can't do that every time.
Do I have to close the game completely when pegaswitch is running?

Did it work for you?

I just tested the save dump function and got the same error because of sc.getFSPPR(); when i doesn't have botw started first.
you can insert this function from 3096's fork at the beginn of your file:
Code:
sc.getFSPPR = function () {
    if (sc.closed_pr !== undefined) {
        return;
    }
    sc.enableTurbo();
    var i = 0;
    var srv = null;
    while (true) {
        sc.ipcMsg(2).setType(5).sendTo('pm:shell');
        var srvResult = sc.getService("fsp-pr");
        if(srvResult.isOk) {
            srv = srvResult.getValue();
            break;
        }
        i++;
    }
    utils.log('Got fsp-pr handle after ' + i + ' iterations: ');
    utils.log('fsp-pr handle: 0x' + srv.toString(16));
    sc.svcCloseHandle(srv).assertOk();
    sc.closed_pr = true;
};
https://gist.github.com/3096/78828ae6576bd7ce2075745b0c94e90e

this could work
 
  • Like
Reactions: Deleted User
D

Deleted User

Guest
OP
Code:
ERROR:  [  826,  '0xe02 (High byte in input u64 is zero. in module FS)' ]
 

eXzoN

Member
Newcomer
Joined
Dec 24, 2017
Messages
19
Trophies
0
Age
30
XP
154
Country
Germany
yeah i got the same error.. the error happened at this line:
Code:
res = sc.ipcMsg(51).datau64(1, utils.parseAddr(tid), [userID[0], userID[1]], [userID[2], userID[3]], [0,0], 1, 0, 0, 0).sendTo('fsp-srv').assertOk();
but there is no documentation for the datau64 function so i can't fix it for now. Maybe Rei or some dudes that forked the repository find a way in the next
days.
 
  • Like
Reactions: Deleted User

eXzoN

Member
Newcomer
Joined
Dec 24, 2017
Messages
19
Trophies
0
Age
30
XP
154
Country
Germany
Is the author of the script registered here?
@Reisyukaku
Maybe he can support us here?

yes i think so.. if you want to write him, you can use the private message function here is his profile: https://gbatemp.net/members/reisyukaku.344848/
otherwise i would write him.

this is what rei wrote in another thread:
I already gave an early revision of my save injector to a few splatoon people.. seems to have spread ¯\_(ツ)_/¯
I might release a cleaned up version in the future.
https://gbatemp.net/threads/sciresm-releases-file-to-dump-carts.499306/
 
Last edited by eXzoN,
  • Like
Reactions: Deleted User
D

Deleted User

Guest
OP
I already gave an early revision of my save injector to a few splatoon people.. seems to have spread ¯\_(ツ)_/¯
I might release a cleaned up version in the future.

He writes himself that it's more beta and the script isn't quite finished
 
  • Like
Reactions: eXzoN

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    STOP IT, STOP IT, STOP IT
  • Xdqwerty @ Xdqwerty:
    Okokokok i'm gonna do it @AncientBoi
  • AncientBoi @ AncientBoi:
    EXACTLY WHY I'M ON ZOLOFT FOR ! :angry:
  • Xdqwerty @ Xdqwerty:
    @AncientBoi, i was in Zoloft too and i didnt work
  • Xdqwerty @ Xdqwerty:
    I regret saying it :cry:
  • AncientBoi @ AncientBoi:
    :sad::sad::sad::sad::sad: l8er guys ..................... 🚪
  • Xdqwerty @ Xdqwerty:
    Later too...
  • BigOnYa @ BigOnYa:
    Damn @Xdqwerty chasing off users like a Juan
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Welcome to the internet! Lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    He just means that some conversations are light and funny, Madonna having sex with a dog? Hilarious! Your uncle beating your dog then making you watch him molest it? Kinda ehhhh drama lol
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why do people hate seasons 20 and 23 of south park?
  • BigOnYa @ BigOnYa:
    I don't know. People hate and down vote everything nowdays. I see it especially on gamestores, like every game has a negative rating, even though they are good games.
  • BigOnYa @ BigOnYa:
    With south park, they speak the truth, whether people like it or not, then peeps get they're panties in a bunch.
    +1
  • Xdqwerty @ Xdqwerty:
    See ya later fr
    +1
  • BigOnYa @ BigOnYa:
    Later gator
    +2
  • G @ GamerGatorDoesTech:
    @BigOnYa i thought that was like a specific comment towards me
    +1
  • BigOnYa @ BigOnYa:
    Lol
  • ModernSithLord @ ModernSithLord:
    lol later gator that was good one @BigOnYa
    +1
  • Shgofc @ Shgofc:
    if i think i exist, then, i dont exi...
  • K3Nv2 @ K3Nv2:
    They started hating later seasons because it turned into half seasons and specials
    +1
  • K3Nv2 @ K3Nv2:
    People in youtube comments are such dick riders "oh I can't believe he said that to you" clicks on other video "wow this is amazing."
    +1
  • BigOnYa @ BigOnYa:
    Everyone is triggered nowadays too easy, bunch of pansies.
    BigOnYa @ BigOnYa: Everyone is triggered nowadays too easy, bunch of pansies.