#137906 - jonnyhilly - Fri Aug 17, 2007 9:03 am
ok, so Ive been using gbfs, but by data is too big so I need to switch to LibFAT.
Seemed easy enough at first...
add the lib file to the makefile,
LIBS := -lfat -lnds9
include the .h file
#include <fat.h>
and call fatInitDefault()
except that fatInitDefault() always returns false.
I cant find any decent instructions on what might cause the error, or how to setup your files if you are using an emulator or ROM.
I still have some files pachaged with gbfs
I am currently running on no$ emulator.
but also plan to put my code onto a rom.
1) so why does fatInitDefault fail ?
2) for emulator use... Do I just put my files into a folder on the PC which is a sub folder of where the .NDS file is ?
3) for using from a rom, do I have to batch the files together or something, or can I just duplicate the pc folder structure.
4) or is there a doc somewhere that describes all this and more ?
any help greatly appreciated, thanks
Seemed easy enough at first...
add the lib file to the makefile,
LIBS := -lfat -lnds9
include the .h file
#include <fat.h>
and call fatInitDefault()
except that fatInitDefault() always returns false.
I cant find any decent instructions on what might cause the error, or how to setup your files if you are using an emulator or ROM.
I still have some files pachaged with gbfs
I am currently running on no$ emulator.
but also plan to put my code onto a rom.
1) so why does fatInitDefault fail ?
2) for emulator use... Do I just put my files into a folder on the PC which is a sub folder of where the .NDS file is ?
3) for using from a rom, do I have to batch the files together or something, or can I just duplicate the pc folder structure.
4) or is there a doc somewhere that describes all this and more ?
any help greatly appreciated, thanks