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

  • Thread starter d0k3
  • Start date
  • Views 305,406
  • Replies 1,143
  • Likes 105

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Hello so i just did a transfer to emumnand to sysnad the things is i dont want to format to get rid of emumand i just want that extra space, if i go to G9-> emunand virtual and delete all the contents in there will i screwed up the console or something?

Seriously - just do as everyone does, copy your stuff to the SD, format, copy back. That's the only proper way. And no, deleting stuff won't increase the size of a neighbouring partition.

Still want to know how the NAND is modified by GodMode9. I have not found any source yet.
Essential backup starts at sector 1 (= byte 512) in your SysNAND. And no, there really is no good reason to remove that. If you want to clean your NAND from any 'suspicious' data (I have already explained why I don't think that's really needed), ask around in a scripting thread for a more thorough 'hack removal script'.
 

SirNapkin1334

Renound Aritst
Member
Joined
Aug 20, 2017
Messages
1,665
Trophies
1
XP
975
Country
United States
@d0k3 Can you add the ability to trim .3ds and .cia files? I know GM9 will show a trim.3ds file in the [G:] Drive, even though it's not truly there, so GM9 must be able to trim roms?
It'd be a nice feature so you could trim your Gateway roms or trim CIAs to save space before installation. Just a thought.
 

SirNapkin1334

Renound Aritst
Member
Joined
Aug 20, 2017
Messages
1,665
Trophies
1
XP
975
Country
United States
Why can't we edit [V:] VRAM VIRTUAL? I mean, you can edit [M]:/vram.mem, so why not VRAM? It could be useful if you could edit it..it could be like a very tiny bonus drive!

--------------------- MERGED ---------------------------

Also, in the release package, I saw 3DSX and CIA versions, how can I build these and how do I use them? I heard you need some special utility or something.
 

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,386
Country
Uruguay
Why can't we edit [V:] VRAM VIRTUAL? I mean, you can edit [M]:/vram.mem, so why not VRAM? It could be useful if you could edit it..it could be like a very tiny bonus drive!

VRAM *already is* a ramdisk. It's loaded on boot as a FIRM section and serves as a sort of initial ramdisk for GM9, where you can embed resources and other files you want to be available on that GM9 build.

Right now it's only used to store the default boot splashes and the README (plus some other data), but it could be used to store FIRMs (your favorite CFW, etc etc) or custom scripts.

However, to make building this ramdisk easy on all platforms, it was decided to use a tape archive (TAR), and GM9 has read-only support for it. if you ever used *nix loopback mount or ImDisk/OSFMount on Windows, this is sort of similar.

if you want a fast-but-volatile drive, you could always use the real ramdisk which has way more available space than VRAM (I think it was 80MB?), otherwise you could use the extra space that GM9 can format within your NAND (pretty sweet on 1.8GB N3DS consoles).
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
@d0k3 Can you add the ability to trim .3ds and .cia files? I know GM9 will show a trim.3ds file in the [G:] Drive, even though it's not truly there, so GM9 must be able to trim roms?
It'd be a nice feature so you could trim your Gateway roms or trim CIAs to save space before installation. Just a thought.
CIAs are always 'trimmed'. Try to add padding to a CIA file, you will no more be able to install it via FBI or handle it in GM9. As for .3DS files... there are really faster tools available for this. We should not forget about the 3DS card reader hardware limited speed.
 

SirNapkin1334

Renound Aritst
Member
Joined
Aug 20, 2017
Messages
1,665
Trophies
1
XP
975
Country
United States
VRAM *already is* a ramdisk. It's loaded on boot as a FIRM section and serves as a sort of initial ramdisk for GM9, where you can embed resources and other files you want to be available on that GM9 build.

Right now it's only used to store the default boot splashes and the README (plus some other data), but it could be used to store FIRMs (your favorite CFW, etc etc) or custom scripts.

However, to make building this ramdisk easy on all platforms, it was decided to use a tape archive (TAR), and GM9 has read-only support for it. if you ever used *nix loopback mount or ImDisk/OSFMount on Windows, this is sort of similar.

if you want a fast-but-volatile drive, you could always use the real ramdisk which has way more available space than VRAM (I think it was 80MB?), otherwise you could use the extra space that GM9 can format within your NAND (pretty sweet on 1.8GB N3DS consoles).
I see. Yeah, I know what's stored in there, as of post-1.5.1 commits it's the ReadMe, the splash, and the font. I embed an aeskeydb.bin and a file with how to do some less common things.
Thanks for all the info about the ramdisk. How can I use the 80MB ramdisk?
I love bonus drives too, have a 1.8GB N2DSXL w/ 620 MB bonus.
 

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,069
Trophies
2
XP
7,805
Country
United States
I see. Yeah, I know what's stored in there, as of post-1.5.1 commits it's the ReadMe, the splash, and the font. I embed an aeskeydb.bin and a file with how to do some less common things.
Thanks for all the info about the ramdisk. How can I use the 80MB ramdisk?
I love bonus drives too, have a 1.8GB N2DSXL w/ 620 MB bonus.
the ramdrive is already there as 9:
 

windows_server_2003

Well-Known Member
Newcomer
Joined
Jul 13, 2017
Messages
84
Trophies
0
Age
44
XP
379
Country
Japan
@d0k3
I think we need settings menu in GM9.
There are too many compile flags now and it should be more user-friendly.

Some items that I want :
panel brightness
contents colors(dirs, files, hex editor, text viewer)
font path
 
  • Like
Reactions: SirNapkin1334

SirNapkin1334

Renound Aritst
Member
Joined
Aug 20, 2017
Messages
1,665
Trophies
1
XP
975
Country
United States
@d0k3 After getting a new N2DSXL (accidentally broke internal LCD on other, but luckily bought an extra warranty package), I cannot do anything with TMD's and APP's. Just gives me the standard Hexedit, calculate SHA, file info, etc. I have no idea why. These are the files from the new console, not the old one, I can't figure out what the problem is. It works on CTRNAND, but not from SD files. I repeat, they ARE from the NEW system, not the old one.

--------------------- MERGED ---------------------------

Also, my H&S is now permanently stuck with the FBI icon after injecting. It loads up as H&S, except the icon is FBI. No idea what the problem is. Is there a difference between the Old and New 3DS H&S? Because then I would dump a working H&S from my o3DSXL and inject the H&S into the N2DSXL.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,942
Country
United States
Also, my H&S is now permanently stuck with the FBI icon after injecting. It loads up as H&S, except the icon is FBI. No idea what the problem is. Is there a difference between the Old and New 3DS H&S? Because then I would dump a working H&S from my o3DSXL and inject the H&S into the N2DSXL.

Copied & pasted instructions: https://gbatemp.net/threads/health-and-safety-app-stuck-with-fbi-icon.448347/

1. Put the SD Card into an SD Card reader on the computer
2. go into Nintendo 3DS/<ID0>/<ID1>/extdata/00000000/000000**/00000000/ [USA = 8F][EUR = 98][JPN = 82]
3. Delete "00000005" (it should be around 5MB)
 
  • Like
Reactions: wicksand420

SirNapkin1334

Renound Aritst
Member
Joined
Aug 20, 2017
Messages
1,665
Trophies
1
XP
975
Country
United States
Okay, I got an idea... You know that you can only unmount the SD card in the root directory? Did you try from somewhere else? A defective SD card or SD card reader is a possibility, too, of course.
As far as I know, attempting to unmount the SD card from elsewhere will simply bring you back to [root] but not unmount the SD. Useful so you don't have to spam B to get back to [root].
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
@d0k3
I think we need settings menu in GM9.
There are too many compile flags now and it should be more user-friendly.

Some items that I want :
panel brightness
contents colors(dirs, files, hex editor, text viewer)
font path
I'll think about it. Being able to go without a config file is good, of course, but we now have customizability stuff that may even be interesting to the common user.

@d0k3 After getting a new N2DSXL (accidentally broke internal LCD on other, but luckily bought an extra warranty package), I cannot do anything with TMD's and APP's. Just gives me the standard Hexedit, calculate SHA, file info, etc. I have no idea why. These are the files from the new console, not the old one, I can't figure out what the problem is. It works on CTRNAND, but not from SD files. I repeat, they ARE from the NEW system, not the old one.

Did you figure that one out? Only reason I can think of is you copied stuff somewhere you shouldn't have. Do the titles you're having trouble with boot from homemenu?
 

SirNapkin1334

Renound Aritst
Member
Joined
Aug 20, 2017
Messages
1,665
Trophies
1
XP
975
Country
United States
I'll think about it. Being able to go without a config file is good, of course, but we now have customizability stuff that may even be interesting to the common user.



Did you figure that one out? Only reason I can think of is you copied stuff somewhere you shouldn't have. Do the titles you're having trouble with boot from homemenu?
Didn't figure it out. I'll try again, I'll admit that when I found the problem, I'm not sure if I'd booted the titles yet. The ones I've tried work fine. I'll see if I can test it later.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Didn't figure it out. I'll try again, I'll admit that when I found the problem, I'm not sure if I'd booted the titles yet. The ones I've tried work fine. I'll see if I can test it later.
Well, then find out. Maybe it's possible you tried the '0:/Nintendo 3DS' folder instead of the 'A:' / 'B:' drives? Stuff on the SD card has an additional crypto layer that is only removed on 'A:' / 'B:'. Also - did we have a fire drill a few hours ago?

Maybe use NAND sectors again ?
Never - flash memory such as the NAND memory (and SD cards, too) has a limited number of writing cycles. Go over that, and it's game over for at least the part of flash you have written to. Yes, NAND is made for writing, but I do so only for one time stuff (essential.exefs, aeskeydb.bin). A config on the other hand can be frequently changed. Besides, the problem is not where to put it, it's that a config file would make it somewhat impossible to run GM9 without leaving something behind.
 

windows_server_2003

Well-Known Member
Newcomer
Joined
Jul 13, 2017
Messages
84
Trophies
0
Age
44
XP
379
Country
Japan
Never - flash memory such as the NAND memory (and SD cards, too) has a limited number of writing cycles. Go over that, and it's game over for at least the part of flash you have written to. Yes, NAND is made for writing, but I do so only for one time stuff (essential.exefs, aeskeydb.bin). A config on the other hand can be frequently changed. Besides, the problem is not where to put it, it's that a config file would make it somewhat impossible to run GM9 without leaving something behind.
Ah, like SSD. I forgot that.

Something behind ? What's that?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended