Homebrew Official [Release] GodMode9 - All Access File Browser for the 3DS

  • Thread starter d0k3
  • Start date
  • Views 307,018
  • Replies 1,143
  • Likes 105

JoostinOnline

Certified Crash Test Dummy
Member
Joined
Apr 2, 2011
Messages
11,005
Trophies
1
Location
The Twilight Zone
Website
www.hacksden.com
XP
4,339
Country
United States
No, because it's not constant. As soon as a new version comes out, that link will be outdated.

I'm thinking something like:
https://github.com/d0k3/GodMode9/releases/download/latest/GodMode9.firm

Of course that's a made up link, but if it was real then I could make a downloader to copy it to SD:\luma\payloads\ and update Godmode9 directly from my 3DS.
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,907
Trophies
4
Location
Making a non-binary fuss
XP
39,169
Country
Antarctica

TheFIrstAv3nger

Well-Known Member
Member
Joined
Apr 2, 2017
Messages
122
Trophies
0
Age
32
Location
Michigan
XP
235
Country
United States
No, because it's not constant. As soon as a new version comes out, that link will be outdated.

I'm thinking something like:
https://github.com/d0k3/GodMode9/releases/download/latest/GodMode9.firm

Of course that's a made up link, but if it was real then I could make a downloader to copy it to SD:\luma\payloads\ and update Godmode9 directly from my 3DS.

Well you asked for a static link to the latest version. Regardless I don't believe he releases them in anything but .zip format. So your best bet is to go with the nightly that Lilith linked above. Then your downloader will have to unzip and copy only the correct file to your payloads folder.

EDIT: Ohh and just use multi updater then. Does exactly what you want.
 
Last edited by TheFIrstAv3nger,
  • Like
Reactions: Deleted User

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
how would i got about creating a custom font?
gimp has a option to export as a c header but i cant open other fonts to see how they are set up
Look into this. Not exactly user friendly but better than nothing.

Is there a static link to the latest version? I'd like to be able to download directly from my 3DS.
@Shadowhand - is there?


Also, re flashcart SD support - maybe never. I'll sure as hell won't ever support any specific flashcart. If anything, GM9 would need a universal library for multiple flashcarts (at least the ntrboot compatible ones). There are several complications with that, so don't get your hopes too high up.
 

Shadowhand

Slim, Alternative Dev.
Member
Joined
Feb 27, 2016
Messages
522
Trophies
0
Age
31
XP
1,958
Country
United Kingdom
Is there a static link to the latest version? I'd like to be able to download directly from my 3DS.
You mean the latest commit precompiled? You can find that always at: http://d0k3.secretalgorithm.com/GodMode9/latest.zip
Use this with multiUpdater, and you're set.

EDIT:
Code:
        {
            "name": "CTRNAND GodMode9 (latest commit)",
            "url": "http://d0k3.secretalgorithm.com/GodMode9/latest.zip",
            "inarchive": "GodMode9\\.firm",
            "path": "ctrnand:/rw/luma/payloads/GodMode9.firm"
        },
        {
            "name": "GodMode9 (latest commit)",
            "url": "http://d0k3.secretalgorithm.com/GodMode9/latest.zip",
            "inarchive": "GodMode9\\.firm",
            "path": "/luma/payloads/GodMode9.firm"
        },
 
Last edited by Shadowhand,
  • Like
Reactions: JoostinOnline

TheFIrstAv3nger

Well-Known Member
Member
Joined
Apr 2, 2017
Messages
122
Trophies
0
Age
32
Location
Michigan
XP
235
Country
United States
Hey, is there a way to bypass the need for user input to unlock write permissions? Asking because I'm trying to do a speedrun and that would help shave a second or two off. I know the repercussions of doing this but still curious if there is a way.
 

Shadowhand

Slim, Alternative Dev.
Member
Joined
Feb 27, 2016
Messages
522
Trophies
0
Age
31
XP
1,958
Country
United Kingdom
Hey, is there a way to bypass the need for user input to unlock write permissions? Asking because I'm trying to do a speedrun and that would help shave a second or two off. I know the repercussions of doing this but still curious if there is a way.
Not with the builds from the hourlies page. You'll have to compile your own.
 
D

Deleted User

Guest
Hey, is there a way to bypass the need for user input to unlock write permissions? Asking because I'm trying to do a speedrun and that would help shave a second or two off. I know the repercussions of doing this but still curious if there is a way.
check my sig
also lol
I pick system info on my n3ds and it says the origional fw is 4.4
the earliest fw on a n3ds is 8.1
 
Last edited by ,

Kazuma77

Well-Known Member
Member
Joined
May 11, 2008
Messages
1,035
Trophies
1
XP
900
Country
United States
no write locks at all
unless its read only (gamecarts mounts xorpads)

Hmm, maybe I should rebuild the "One & Done" SSRs with it. Then again, maybe it's for the best to leave the user the option to back out at the last minute. Tough call. Anyway, it seems useful, so I'll definitely take a clone.

OK. Three things I've noticed. The "Makefile" has an extra space that forces DHARDCODE_READMEE on until you delete it. Also, the include section for the same option in "godmode9.c" is missing an "#else" statement that should be right after line 42 (it's supposed to define the file as NULL with a size of 0 if the mode is not set). Last but not least, adding the "agbsave" files back to "source/nand" has caused "ValidateAgbSaveHeader" to get defined twice, because the same function is defined in "gba.c" in "source/games" also. Therefore, an error pops up when it goes to link the .elf file.

OK cool thanks, is this up to date with the main release? So it has the vram0.IMG option?

I think "vram0.img" is only going to slow down a speed run. Copying an image from the card to a small RAM drive, then copying the files on that RAM drive back is a time waster. There's no need to transfer files at all if you're not performing a card swap. A simple move command -- "mv -w -n 0:/installfiles 0:/" for example -- would perform the whole operation much faster. No copying.

I've created a standalone script runner that automatically starts the B9S installation process on boot and completes it within seconds for you to check out. Just place your "boot.firm" (and anything else you want to end up in the root folder at the end of the installation) in the "move2root" folder (though "boot.firm" should be the only thing you can't just place on the card straight). Unfortunately, I had to leave the check in since I couldn't get EixMode9 to compile the script. However, I have included the source script I used so that you can compile it with EixMode9 when Eix gets these issues worked out (you might want to use aeskeydb.bin as well to make it load even faster, because I couldn't include keys for obvious reasons). This should provide the fastest speedrun possible (without taking dangerous shortcuts like not backing up the firm partitions).

EDIT: Rebuilt the SSR with EixMode9 now. This now performs the complete install at boot with zero interruptions. I also caught a small typo that was preventing it from installing Luma to CTRNAND. And it looks like something broke the move trick (it worked before). I had to revert to the tried and true method of copying "boot.firm.bak" to "boot.firm" so just make sure there's a "boot.firm.bak" on the card (everything else you want on the card should be able to coexist with the installer). When I tested it, I was looking at the Luma configuration screen in about 7 seconds. So, I hope people that do speed runs find it useful.

EDIT2: Moved the download to my latest post atm so it will be easier to find.
 
Last edited by Kazuma77,
D

Deleted User

Guest
Hmm, maybe I should rebuild the "One & Done" SSRs with it. Then again, maybe it's for the best to leave the user the option to back out at the last minute. Tough call. Anyway, it seems useful, so I'll definitely take a clone.

OK. Three things I've noticed. The "Makefile" has an extra space that forces DHARDCODE_READMEE on until you delete it. Also, the include section for the same option in "godmode9.c" is missing an "#else" statement that should be right after line 42 (it's supposed to define the file as NULL with a size of 0 if the mode is not set). Last but not least, adding the "agbsave" files back to "source/nand" has caused "ValidateAgbSaveHeader" to get defined twice, because the same function is defined in "gba.c" in "source/games" also. Therefore, an error pops up when it goes to link the .elf file.
im surprised I forgot the #else
but I already know about the agb problem im gona fix it when I have time
Edit: ok i fixed Makefile and godmode.c then deleted the dups
it should build properly for you if i didnt fuck up (im at school rn so i cant see if it builds)
 
Last edited by ,
  • Like
Reactions: Kazuma77

Kazuma77

Well-Known Member
Member
Joined
May 11, 2008
Messages
1,035
Trophies
1
XP
900
Country
United States
im surprised I forgot the #else
but I already know about the agb problem im gona fix it when I have time
Edit: ok i fixed Makefile and godmode.c then deleted the dups
it should build properly for you if i didnt fuck up (im at school rn so i cant see if it builds)

Well, I'm kind of off to a late start tonight, but, it builds. I rebuilt the SSR and re-uploaded it. Looks like some change broke the "move to root" trick, but it may have been a change to GM9 for all I know (I've been writing batch files and scripts for a long time, so I usually avoid "move" or "mv" like the plague). It's been a long time since I tried it. Oh well, it's just one file to copy. It just copies "boot.firm.bak" to "boot.firm" now, so, make sure that's on the card. Even with having to use that one extra "cp" command, I was still looking at the Luma configuration screen about 7 seconds after I powered the system on using NTRBootHax. I'll consider that a resounding success (keep in mind, my copy has the keys built in though).

P.S. A pre-loaded card IS in compliance with AnalogMan's rules. It just can't start in the system. So, just forget about the original "Nintendo 3DS" folder. If you really want Dinosaur Office, download it with Freeshop ;)
 

Attachments

  • SpeedRun9 (Lite).7z
    261 KB · Views: 116
Last edited by Kazuma77,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: I hate myself