Page 1 of 1

nitrofs is not working on nds

Posted: Fri Aug 28, 2009 10:51 pm
by thiagoauler
Hi,

I've made an simple app that uses nitrofs (filesystem.h)...
If I test on a emulator, it works perfectly.. but if I test on my NDS (EZ-Flash Vi) it doesn't work.
Even the example provided by devkit doesn't work.

Please.. some help

TIA

Re: nitrofs is not working on nds

Posted: Fri Aug 28, 2009 11:37 pm
by StevenH
Are you using the moonshell launcher for the EzVi or the homebrew menu? As the moonshell launcher does not support the argc/v features that is needed to run nitrofs apps

You'll have to download the homebrew menu from the devkitPro SVN...

Oh and this question has been asked a few, actually many times and each time I've repeated the same response. Might be time for a sticky on the common questions I think...

Re: nitrofs is not working on nds

Posted: Fri Aug 28, 2009 11:42 pm
by vuurrobin
you may want to check to see if your flashcard provides the argv and argc variables that are passed on to main(), AFAIK, you need them to make it work, and I'm not sure if there is another way to provide the path to the *.nds file any other way to libfilesystem.

you could also try it with the homebrewmenu, which is in the devkitPro repository. this does pass the path to your *.nds file.


BTW, does anybody know the officiel name of the library? its based on nitroFS, but AFAIK, its called libfilesystem.

StevenH beat me to it...

I second the sticky, as well as a link to the homebrewmenu nds file, so people don't have to search the SVN and build it themselfs.

Re: nitrofs is not working on nds

Posted: Mon Aug 31, 2009 3:15 am
by thiagoauler
Hi... thanks for the replies...

I'm using the ezflash kernel version 2.0RC4, the only thing i know is it's based on moonshell 2
Hmm.. I know nothing about this homebrewmenu. can you provide some link? :oops:

Thanks again.. bye!

Re: nitrofs is not working on nds

Posted: Mon Aug 31, 2009 7:36 pm
by zazery
You can download the latest HomebrewMenu from here where it says "Download GNU Tarball."