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 > NitroFS limitations?

#174575 - Michoko - Sun Jun 27, 2010 1:53 pm

Hi,

I'm considering switching from EFSlib to NitroFS, for handling the extra assets of my games embedded into my homebrews.

First, I thought that NitroFS required the linker to be ARGV compatible, forcing either to use a compatible firmware, or HBmenu. If it was the case, that would still prevent my homebrews from running on older, not-updated linkers.

But then I stumbled upon this page: http://blea.ch/wiki/index.php/Talk:Nitrofs#Finding_filename_for_nitroFSInit.28.29

where the original author of NitroFS had made a generic function to locate automatically the ROM we are currently running. My question is: does DevkitARM use this function, in case no filename was passed through ARGV? In that case, I suppose it works on any linker, it's just slower to init? (because it scans every rom?)

Thank you for your reply!
Michoko

#174581 - vuurrobin - Mon Jun 28, 2010 12:48 am

AFAIK, it doesn't a function like that, and it shouldn't cause its a waste of time. nitroFS/libfilesystem works on the homebrewmenu and on any flashcard that supports homebrew, any flashcard that doesn't pass argv yet should be pursued to support it.


you should read this:

http://forum.gbadev.org/viewtopic.php?t=17141
_________________
my blog:
http://vuurrobin.100webcustomers.com/

#174583 - Michoko - Mon Jun 28, 2010 9:44 am

Hi,

Thanks for your reply and the link. I'll think about it, even if the fact that users may need an extra loader to run my games is not exactly the most user-friendly solution I could imagine. Not everybody is a geek I'm afraid... ;)

I understand the technical needs for all this, but I think that adding a card scanning process in case people don't or can't use HBmenu, would be a nice backup solution (I heard for example that HBmenu doesn't work on R6 Gold).

Cheers
Michoko

#174593 - wintermute - Mon Jun 28, 2010 3:47 pm

Then either hassle the R6 Gold people or don't buy it.

Card scanning isn't a solution, it causes problems.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog