Homebrew [Release] GodMode9 Scripts Megathread

ChiroToB

Well-Known Member
Member
Joined
Oct 26, 2002
Messages
211
Trophies
0
Website
Visit site
XP
385
Country
United States
@8BitWonder I have a quick question. I have godmode9 v1.3.1 and there is no option to backup my sysnand under the home menu/more/scripts.

It was a fresh install on a brand new n3ds running 11.0.0-u33 and now updated to 11.5

Thanks
 

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,356
Country
United States
@8BitWonder I have a quick question. I have godmode9 v1.3.1 and there is no option to backup my sysnand under the home menu/more/scripts.

It was a fresh install on a brand new n3ds running 11.0.0-u33 and now updated to 11.5

Thanks
You need to place the backup sysnand.gm9 script in "SD:/gm9/scripts" for it to show there.
 
Last edited by 8BitWonder,
  • Like
Reactions: ChiroToB

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,356
Country
United States
UPDATE 9/21/2017
  • Improved Dump Citra Files Script
    • Now dumps the new files that Citra looks for from System Archives.
@Zidapi
Unfortunately I wasn't able to get a code.bin script working, primarily because there are sometimes multiple .apps in a game folder, which would have resulted in sometimes trying to dump the code.bin from the manual, and other times from the game.
@annson24
I was also unable to do a H&S injection script because I frankly haven't a clue how to go about tackling it. Plus I don't have a stock 3DS on hand to test with, so sorry about that.
If anyone else is able to get these two kinds of scripts working, please let me know!

Edit: It would appear both of these scripts you've asked for are now built into GM9 1.4.0!
You just need to select the game.app and from there you can inject it into H&S or dump the .code. ;)

As always, if you ever find that there is something wrong with one of these scripts, or that it can be improved in some way, please say so!

Also if you have any simple script requests, feel free to make them here.
 
Last edited by 8BitWonder,

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,951
Trophies
4
Location
Making a non-binary fuss
XP
39,376
Country
Antarctica
Would it be possible to create a script to allows the user to decompress/compress their games in order to modify them without a computer?
For example, I want to create a CIA of Fire Emblem Fates same-sex patch, I can use that script to do everything on my system instead.
 
  • Like
Reactions: 8BitWonder

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,356
Country
United States
Would it be possible to create a script to allows the user to decompress/compress their games in order to modify them without a computer?
For example, I want to create a CIA of Fire Emblem Fates same-sex patch, I can use that script to do everything on my system instead.
You can extract installed cias or .cia files on your SD card and copy over/overwrite the files you want, but there does not yet seem to be a way to rebuild a cia from the extracted contents. That could be a pretty handy thing to able to do, so I'll open a request on github.
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,951
Trophies
4
Location
Making a non-binary fuss
XP
39,376
Country
Antarctica
You can extract installed cias or .cia files on your SD card and copy over/overwrite the files you want, but there does not yet seem to be a way to rebuild a cia from the extracted contents. That could be a pretty handy thing to able to do, so I'll open a request on github.
I didn't know I could decompress CIA files, I guess there's still more to GodMode9 that I haven't discovered yet. Thanks for that information! ^_^
And thank you! This kind of script would be extremely helpful for me as a Linux user. Rebuilding CIAs on Linux is a chore and barely works for me.
 
  • Like
Reactions: 8BitWonder

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,951
Trophies
4
Location
Making a non-binary fuss
XP
39,376
Country
Antarctica
  • Like
Reactions: 8BitWonder

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,356
Country
United States
The way Godmode9 dumps gbavc.sav has changed.
https://3ds.guide/godmode9-usage#backup_gba
This breaks the gba dump and inject scripts in the OP.
Thank you guys for all the hard work!
I had noticed that with the new update.
It seems that it's a little more involved than simply backing up and restoring agbsave.bin now.
I plan to leave those scripts there for anyone that happens to be using GM9 1.3.1 or below, but I'll include a link to the new guide and a note saying it's for older builds of GM9.
 

Keizel

Well-Known Member
Member
Joined
Jun 28, 2015
Messages
381
Trophies
0
XP
372
Country
United States
Could I install with a script Boot9Strap? I want install Boot9Strap without SD by Flashcard, but SafeB9Installer haven't compatibility with Flashcard without SD in 3DS, GodMode9 yes have it.

@d0k3, is possible use GodMode9 for install Boot9Strap? Could you add compatibility SafeB9Installer with direct-installer in Flashcard? You did it with GodMode9.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Could I install with a script Boot9Strap? I want install Boot9Strap without SD by Flashcard, but SafeB9Installer haven't compatibility with Flashcard without SD in 3DS, GodMode9 yes have it.

@d0k3, is possible use GodMode9 for install Boot9Strap? Could you add compatibility SafeB9Installer with direct-installer in Flashcard? You did it with GodMode9.
Yes, you can install B9S with GodMode9, most of the PC-Less setup scripts do this. With GodMode9's new VRAM preloading support, you don't even need an SD card at all to install B9S and Luma3DS on a console, just the NTRBoot flashcard.
 
  • Like
Reactions: Ingddiaz

Keizel

Well-Known Member
Member
Joined
Jun 28, 2015
Messages
381
Trophies
0
XP
372
Country
United States
Yes, you can install B9S with GodMode9, most of the PC-Less setup scripts do this. With GodMode9's new VRAM preloading support, you don't even need an SD card at all to install B9S and Luma3DS on a console, just the NTRBoot flashcard.

Could you add link to you post? I don't know how search that scripts PC-Less
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Last edited by DocKlokMan,
  • Like
Reactions: Keizel

ChicagoMel

Well-Known Member
Member
Joined
Sep 1, 2015
Messages
524
Trophies
0
Age
42
XP
863
Country
United States
I camt get the 3ds to cia script to work...its named right and in the right folder. Any other reason it might be failing? Can it not do 3DSX?
 

windows_server_2003

Well-Known Member
Newcomer
Joined
Jul 13, 2017
Messages
84
Trophies
0
Age
44
XP
379
Country
Japan
First of all : THESE SCRIPTS ARE VERY DENGEROUS

https://github.com/QCFium/RedUnlocker

USE THEM AT YOUR OWN RISK !!!
I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS WITH THEM !!!

Be careful when you unlock the blue permission. The blue one is more dengerous than the red one !!

Simply : They unlock the red permission with only the blue one.
Please take a look at the README.md for details.

@8BitWonder
You can add them to your repository, but if you do so, PLEASE add warning to somewhere in your repo.

Edit 1/4:
Sorry, it doesn't support 1.5.0 and 1.5.1 now because I broke my 2ds and can't find the write_permission address.
DONT use ones for old versions on 1.5.0 or 1.5.1!!!
Wait a few days, it supports them soon.
 
Last edited by windows_server_2003,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
    TwoSpikedHands @ TwoSpikedHands: @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the...