[Release] GodMode9 Scripts Megathread

Discussion in '3DS - Homebrew Development and Emulators' started by 8BitWonder, Aug 25, 2017.

  1. ChiroToB

    ChiroToB GBAtemp Regular

    Member
    205
    7
    Oct 26, 2002
    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
     


  2. 8BitWonder
    OP

    8BitWonder Small Homebrew Dev

    Member
    748
    520
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    You need to place the backup sysnand.gm9 script in "SD:/gm9/scripts" for it to show there.
     
    Last edited by 8BitWonder, Sep 13, 2017
    ChiroToB likes this.
  3. ChiroToB

    ChiroToB GBAtemp Regular

    Member
    205
    7
    Oct 26, 2002
    United States
    Thank you!
     
    8BitWonder likes this.
  4. 8BitWonder
    OP

    8BitWonder Small Homebrew Dev

    Member
    748
    520
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    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, Sep 22, 2017 at 4:07 AM
    annson24 and RustInPeace like this.
  5. Lilith Valentine

    Lilith Valentine GBATemp's Wolfdog™ Cuddle lesbian

    Member
    19,802
    20,630
    Sep 13, 2009
    Antarctica
    Between insane and insecure
    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.
     
    8BitWonder likes this.
  6. 8BitWonder
    OP

    8BitWonder Small Homebrew Dev

    Member
    748
    520
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    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.
     
  7. Lilith Valentine

    Lilith Valentine GBATemp's Wolfdog™ Cuddle lesbian

    Member
    19,802
    20,630
    Sep 13, 2009
    Antarctica
    Between insane and insecure
    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.
     
    8BitWonder likes this.
  8. 8BitWonder
    OP

    8BitWonder Small Homebrew Dev

    Member
    748
    520
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
  9. Lilith Valentine

    Lilith Valentine GBATemp's Wolfdog™ Cuddle lesbian

    Member
    19,802
    20,630
    Sep 13, 2009
    Antarctica
    Between insane and insecure
    Thanks for the update. Decompressing the CIA is something else that is a butt on Linux, so at least I can get that out of the way.
     
    8BitWonder likes this.
  10. greenDarkness555

    greenDarkness555 GBAtemp Regular

    Member
    101
    21
    Feb 27, 2016
    United States
    8BitWonder likes this.
  11. 8BitWonder
    OP

    8BitWonder Small Homebrew Dev

    Member
    748
    520
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    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.
     
    RustInPeace and greenDarkness555 like this.