ROM Hack Write mod SaveFile Dump (BotW) not working

  • Thread starter Deleted User
  • Start date
  • Views 17,720
  • 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,261
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,329
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,261
Trophies
1
Location
Your basement
Website
idont.have.one
XP
3,329
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
  • realtimesave @ realtimesave:
    jdhello
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    K3Nv2 @ K3Nv2: Free release can have loopholes where they still make money through ads