gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > .nds integrated filesystem

#136977 - Jesse - Tue Aug 07, 2007 12:40 am

So far, I've been using the method of linking data-files with my arm9 code that I picked up from the gbfs example that comes with devkitPro. This is a bad idea in since it becomes static memory that is shared with everything else. Still, I love that I don't have to have separate data files and was wondering how I could get around this. Since there are games running on these cards that are much bigger with just a single .nds, the cards must obviously be able to handle it in a good way. I've been searching the forums for how I can do the same thing without luck. Anyone who can point me in the right direction?

#136978 - chuckstudios - Tue Aug 07, 2007 1:12 am

I use EFSlib in my program, NDStation.

#136979 - Lick - Tue Aug 07, 2007 1:12 am

Data is requested from the card, the card sends it to the DS. Just use libfat, you're trying to outsmart perfection.
_________________
http://licklick.wordpress.com

#136984 - Lynx - Tue Aug 07, 2007 2:21 am

Having all data in a single .nds file is very nice, I think. It also keeps your card a lot cleaner.
_________________
NDS Homebrew Roms & Reviews

#137011 - alekmaul - Tue Aug 07, 2007 12:13 pm

Yeah, efs_lib works fine, I use it too with marcads.

#137041 - Jesse - Tue Aug 07, 2007 4:32 pm

That lib was perfect for my needs and works great. Thanks!