Search found 32 matches

by jotd
Mon Dec 28, 2009 9:17 am
Forum: DS/DSi Development
Topic: Filesystem not working on M3, OK on emus
Replies: 27
Views: 163579

Re: Filesystem not working on M3, OK on emus

The homebrew menu is still a bit of a work in progress so we haven't yet been distributing precompiled versions. Ideally we want to be able to replace the menu on any available DS card or at least have a small list of recommended cards where the menu can be replaced. Some cards appear to have their ...
by jotd
Sun Dec 27, 2009 10:23 pm
Forum: DS/DSi Development
Topic: Filesystem not working on M3, OK on emus
Replies: 27
Views: 163579

Re: Filesystem not working on M3, OK on emus

scanning dirs cannot retrieve argv. Only the launcher (homebrew or the card) can retrieve argv. Scanning dirs can only guess argv. Mmmh by checking .nds file sizes can be an idea. But it requires pre-knowning of the size, and a finished product, or a post-build step to insert the size at the ...
by jotd
Sun Dec 27, 2009 9:33 pm
Forum: DS/DSi Development
Topic: Filesystem not working on M3, OK on emus
Replies: 27
Views: 163579

Re: Filesystem not working on M3, OK on emus



It should not, but since the only way I have of launching homebrew is the homebrew launcher which supplies the argv information, and I think Warhawk uses an advanced scan dir that checks for argv, I can't test it myself.

scanning dirs cannot retrieve argv. Only the launcher (homebrew or the ...
by jotd
Sun Dec 27, 2009 8:18 pm
Forum: DS/DSi Development
Topic: Filesystem not working on M3, OK on emus
Replies: 27
Views: 163579

Re: Filesystem not working on M3, OK on emus

Ok to use homebrew menu (BTW any .nds direct download? I can recompile it but ...)

What I could do it 1) scan the card to find my .nds file if argv not avail/nitrofs cannot be initialized. 2) If I find the .nds file, then init nitroFS after having hacked argv[0]. Will try this. ATM I'm ...
by jotd
Sat Dec 26, 2009 10:36 pm
Forum: DS/DSi Development
Topic: Filesystem not working on M3, OK on emus
Replies: 27
Views: 163579

Re: Filesystem not working on M3, OK on emus

Just use the homebrew menu available from the devkitPro svn area on sourceforge. It works on slot-1 cards, and allows you to use nitroFS / libfilesystem perfectly. Don't try and do a dir scan for your nds file since someone may change the file name, infact I have done this for some games / apps as ...
by jotd
Sat Dec 26, 2009 6:36 pm
Forum: DS/DSi Development
Topic: Filesystem not working on M3, OK on emus
Replies: 27
Views: 163579

Re: Filesystem not working on M3, OK on emus

I get the same result here.

but IIRC, no$gba executes the nds file from slot 2, and slot 2 works differently than slot 1 (slot 2 is memory mapped). maybe that is how libfilesystem gets the nds file, because there is only 1 nds file loaded at the memory of slot 2.


is there a way to figure out if ...
by jotd
Fri Dec 25, 2009 9:50 pm
Forum: DS/DSi Development
Topic: Filesystem not working on M3, OK on emus
Replies: 27
Views: 163579

Re: Filesystem not working on M3, OK on emus

int main(int argv, const char **argv)
{
consoleDemoInit();
printf("ARGV %s\n",argv[0]);
}

I've tried to printf(argv[0]) and it's a NULL pointer even on No$GBA. I was expecting some value like the name of my .nds file.

So since NitroFS works from No$GBA, how NitroFS handles this?
by jotd
Thu Dec 24, 2009 4:46 pm
Forum: maxmod
Topic: cannot play samples more than once
Replies: 5
Views: 9887

cannot play samples more than once

Hi,

I'm currently fighting with MaxMod. The basic demo compiles and works OK, I can even change the sounds and put my .wav files instead and it works.
I've tried to do the same in my game. I'm loading the soundbank from the filesystem OK

Here's my C++ code

mmInitDefault((char*)soundbank_file.c ...
by jotd
Fri Dec 18, 2009 10:33 pm
Forum: DS/DSi Development
Topic: Filesystem not working on M3, OK on emus
Replies: 27
Views: 163579

Re: Filesystem not working on M3, OK on emus

WinterMute wrote:No, they're generic patches which need updated when Nintendo update the official SDK.
official SDK never leaked right ? :) I guess they're looking for some hex strings and replace them by some others.
by jotd
Mon Dec 14, 2009 10:06 pm
Forum: DS/DSi Development
Topic: Filesystem not working on M3, OK on emus
Replies: 27
Views: 163579

Re: Filesystem not working on M3, OK on emus

vuurrobin wrote:your cards menu patches the .nds file for commercial games, so it can treat the flashcard as it was a normal card.
I believe the card software knows exactly which game it is running. I mean those are not generic patches, but the game is identified and the loads are redirected right?