Neo TeAm Forum

NEO Team's Projects for the GBA/NDS/NDS lite => NEO Flash and Magic Key 1/2/3 help, FAQ/guides and discussion => Topic started by: Trandera on March 24, 2006, 09:49:11 AM

Title: Decompiler & Filesystems
Post by: Trandera on March 24, 2006, 09:49:11 AM
I hope these aren't dumb questions.

Is there a decompiler out there so that you can decompile the roms you get off the magic key?

also, the magic key menu v6 (i think its what i have), can it not access the ds filesystems? like, i can't get any of the data the roms use like sprites and stuff?
Title: Re: Decompiler & Filesystems
Post by: bruceg on March 24, 2006, 05:43:51 PM
No, definitely not a dumb question, but probably one that cory would be best able to answer.  He'll probably respond here when he sees it...

BruceG
Title: Re: Decompiler & Filesystems
Post by: angelfly on March 24, 2006, 09:52:44 PM
There are no DS decompilers, although I there is a disassembler (ndsdis2 (http://hp.vector.co.jp/authors/VA018359/ndsdis/ndsdis2_v106.zip)) and I know the emulators Dualis, DSemu, and iDeaS include a disassembler. As for the getting stuff from the rom you can use ndstool to extract the contents (or the frontend 'dslazy').
Title: Re: Decompiler & Filesystems
Post by: bruceg on March 25, 2006, 07:31:24 AM
Thanks angelfly...

There is also a discussion here about the various tools for extracting/re-compressing the roms to try to make them work better:

http://www.neoflash.com/forum/index.php/topic,1362.msg8440.html#msg8440

BruceG
Title: Re: Decompiler & Filesystems
Post by: cory1492 on March 26, 2006, 08:54:37 PM
Trandera: the filesystems for homebrew are built to work from GBA cart ROM space (hence GBFS or GameBoyFileSystem), the MK2 currently has no way of accessing that data from the SD card.

If you want to access data external to the binaries the best way is to have a look at chishm's GBA NDS FAT (http://chishm.drunkencoders.com/) so you can get file access to the SD/MMC card (I also put a very basic sample in the developers forum).