I brought my dad Professor Layton for the Nintendo DS this Christmas, and being a curious fellow I decided to see if I could reverse engineer the game to extract all the questions/answers. It turns out it wasn't that hard. On my journey however I had to work out how to browse the file system stored on the rom.
To do this I found a tool call ndstool, which can browse and extract the file system in the rom image. However, being a nerd I decided to write a FUSE file system application to do the same task.
So here is the source code for ndsfs, you will have to compile it yourself like so:
gcc -lfuse ndsfs.c -o ndsfs
and then run it like so:
ndsfs <rom file> <mount point>
I'm not sure it will work on all roms, but it is worth a try.
Update: Version 1.1 released - A few months ago I worked a bit more on this and have now released a new version. I fixed many problems but as I did this months ago, and I didn't document anything, I don't know what I fixed :)
