Homebrew [Release] GodMode9 Scripts Megathread

  • Thread starter Thread starter 8BitWonder
  • Start date Start date
  • Views Views 208,859
  • Replies Replies 253
  • Likes Likes 44
I'm not sure that's possible yet, though an alternative (that would require knowing your most recent number) that you may be able to do is something like this:
Code:
input "Most recent file?" NUM  # You would enter your three digit number here and store it as NUM, Ex: 001, 002, 003, etc.
set OUTPATH $[GM9OUT]/aaa_$[NUM].sav # And then here you would set that number as the file being looked at
I don't currently have time to test this, but it seems like it should work (Though to be fair I haven't tried the input command yet, so hopefully you can input numbers like that). I'll try making some test scripts tomorrow and see what I can come up with.
Not really what I wanted, but thanks anyway.
I made an issue on GM9's Github page, requesting this as a feature.

Until it get implemented, I made a new command myself called findnew. The parameters are the same as findnot's.
I also made GBA backup scripts to go with it.
 

Attachments

Not really what I wanted, but thanks anyway.
I made an issue on GM9's Github page, requesting this as a feature.

Until it get implemented, I made a new command myself called findnew. The parameters are the same as findnot's.
I also made GBA backup scripts to go with it.
Added! Hopefully findnew can be implemented soon, that'd be a pretty nice addition. :)
 
How do I make the script access ID0 folder?
Example: 1:/data/e355af6aed727bf109ab84c583abcac9/sysdata

I'm gonna make friends module savegame backup/restore scripts.
 
Last edited by ,
I got Friend module save backup working with multiple filename slot (000, 001, 002). Now for restore script, how do I make it choose the slot number for outputted file before restoring file?

Here are my scripts I'm doing

Friendsave backup
Code:
# Friends module savegame backup GM9 script
# This will create a backup of your current Friends module save
# author: SvenDaHacker64

set ERRORMSG      "Friends module save backup failed"

ask "Create friendsave in $[GM9OUT]?"
set OUTPATH $[GM9OUT]/friendsave
findnot $[GM9OUT]/friendsave_??? OUTPATH
cp -w 1:/data/$[SYSID0]/sysdata/00010032/00000000 $[OUTPATH]
echo "Backup created succesfully:\n$[OUTPATH]"

Friendsave restore
Code:
# Friends module savegame restore GM9 script
# This will restore your current Friends module save from GM9OUT
# author: SvenDaHacker64

set ERRORMSG      "Friends module save restore failed"

ask "Restore friendsave from $[GM9OUT]?"
set OUTPATH 1:/data/$[SYSID0]/sysdata/00010032/00000000
find $[GM9OUT]/friendsave_??? COPYPATH
cp -w $[COPYPATH] $[OUTPATH]
echo "friendsave restored succesfully:\n$[OUTPATH]"
 
I got Friend module save backup working with multiple filename slot (000, 001, 002). Now for restore script, how do I make it choose the slot number for outputted file before restoring file?

There's no automated way to do this yet.
But you may give the input command a try.
Something like:
Code:
set NUM "000"
input "Restore which backup?" NUM # Enter your three digit number here.
find $[GM9OUT]/friendsave_$[NUM] COPYPATH
I haven't had time to test around with the input command, but I think this should be doable.
 
Last edited by 8BitWonder,
There's no automated way to do this yet.
But you may give the input command a try.
Something like:
Code:
set NUM "000"
input "Restore which backup?" NUM # Enter your three digit number here.
find $[GM9OUT]/friendsave_$[NUM] COPYPATH
I haven't had time to test around with the input command, but I think this should be doable.
It works! Thanks.
I will finish bits and release my scripts. :)
 
  • Like
Reactions: 8BitWonder
Here are friend-save backup/restore scripts I made.

It lets you backup or restore your friends module save containing your registered friends and your Friend Code from Friend List.
Added! Thank you for your contribution. ^_^

BTW I used the author name you listed in the scripts, if you would rather be credited as RosaliinaDaHacker64, please let me know.
 
Last edited by 8BitWonder,
Sorry for a silly request but I cant for the life of me find a download for setup_ctrnand_luma3ds.gm9 anywhere. Maybe I'm just not looking in the right places since I'm pretty new to this but any help would be appreciated.
 
Last edited by 8BitWonder,
How do I download scripts? Selecting the link only sends me off to another page. (Just started like two days ago :unsure:)
 
Nope, just takes me to a white page with text I can only assume is code.

# Luma3DS CTRNAND Setup script
# last changed: 20170716
# author: ihaveamac

set SUCCESSMSG "Luma3DS copied successfully"

ask "This will copy Luma3DS to your CTRNAND,\nallowing for the system to work without\nan SD card.\n\nContinue?"

allow 1:/

# remove existing files just in case
rm -o -s 1:/boot.firm
rm -o -s 1:/rw/luma

# copy specific files over
cp 0:/boot.firm 1:/boot.firm
mkdir 1:/rw/luma
cp 0:/luma/payloads 1:/rw/luma/payloads
cp 0:/luma/config.bin 1:/rw/luma/config.bin​
 
Nope, just takes me to a white page with text I can only assume is code.

# Luma3DS CTRNAND Setup script
# last changed: 20170716
# author: ihaveamac

set SUCCESSMSG "Luma3DS copied successfully"

ask "This will copy Luma3DS to your CTRNAND,\nallowing for the system to work without\nan SD card.\n\nContinue?"

allow 1:/

# remove existing files just in case
rm -o -s 1:/boot.firm
rm -o -s 1:/rw/luma

# copy specific files over
cp 0:/boot.firm 1:/boot.firm
mkdir 1:/rw/luma
cp 0:/luma/payloads 1:/rw/luma/payloads
cp 0:/luma/config.bin 1:/rw/luma/config.bin​
Try right clicking that page and and saving it. (Should save as .gm9 I believe)

If that doesn't work, here's what you can do:
Create a new text file, and then change the extension to .gm9.
Then copy all the text on that page and paste it into that document.
 
So I was going to try myself but I've only ever taken like one programming class in my life. I couldn't even build the simple calculator in putty without tons of syntax errors Lol. Anyway, I was wondering if you could possibly make a script to convert .3DS to .CIA @8BitWonder ? I was just going to attempt to edit one of your CTR dump scripts for it.
 

Site & Scene News

Popular threads in this forum