few questions about NitroFS

Post Reply
sverx
Posts: 94
Joined: Wed Aug 12, 2009 2:56 pm
Location: github.com/sverx
Contact:

few questions about NitroFS

Post by sverx » Tue Aug 11, 2015 1:21 pm

I'm wondering a few things about NitroFS (which I never used):
- How many files/folders can I have inside the .nds file? (I need thousands...)
- What's the maximum size of the .nds file? (I need up to 128MB)
- Should I update ndstool to latest version to generate the .nds file that contains the filesystem? (I'm using ver 1.49 which I think it's the latest anyway...)
- Would it work (on a real DS) only using HBMenu?
- Which emulators do support NitroFS?

sorry for the bunch of questions but I'm a real newbie on that... :roll:

sverx
Posts: 94
Joined: Wed Aug 12, 2009 2:56 pm
Location: github.com/sverx
Contact:

Re: few questions about NitroFS

Post by sverx » Thu Aug 13, 2015 12:47 pm

So far I found out myself that it seems to me that:
- up to 61K+ files/directory should be supported
- any firmware supporting arguments (argc/argv) should work
- DeSmuME 0.9.10 supports NitroFS.

Is there something important I'm still missing?

sverx
Posts: 94
Joined: Wed Aug 12, 2009 2:56 pm
Location: github.com/sverx
Contact:

Re: few questions about NitroFS

Post by sverx » Tue Aug 18, 2015 10:52 am

One way or another it seems to be working.
Unfortunately touchscreen and music stopped working, so I believe there's some problem with ARM7 processor. Any hint on how NitroFS could have affected this? :x

elhobbs
Posts: 354
Joined: Thu Jul 02, 2009 1:19 pm

Re: few questions about NitroFS

Post by elhobbs » Sat Aug 22, 2015 5:22 am

Some older libraries try to initialize irqs and use fifo registers directly breaking the newer libnds arm7/arm9 fifo implementation.

sverx
Posts: 94
Joined: Wed Aug 12, 2009 2:56 pm
Location: github.com/sverx
Contact:

Re: few questions about NitroFS

Post by sverx » Fri Aug 28, 2015 9:34 am

Unfortunately in this case I'm the one using a very old devkitPro/libnds (pre-fifo!) and I'm trying to use nitroFS. Weird that with FAT it works and even if I succeed in compiling nitroFS from 2009 sources (fixing the few bugs that were discovered later) then it somehow breaks ARM7 code.
How can this be? NitroFS seems to just issue FAT operations! (and it indeed works because I can access files in the nitro filesystem...)

WinterMute
Site Admin
Posts: 1403
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: few questions about NitroFS

Post by WinterMute » Mon Nov 09, 2015 9:39 am

You'd probably be much better off using the latest libnds & friends. There's a possibility you have a mismatch somewhere.

I can't imagine why nitrofs would break arm7 though.
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests