Note that the EFSLib files in this directory have been modified since devkitPro has decided to go with a more POSIX-compliant method for directory traversal (readdir vs dirnext, opendir vs diropen).
Why should you use EFSLib? 1. It's reportedly faster than libFAT as the contents are contained within one file, therefore reducing I/O costs for the kernel 2. You can distribute your files in a standalone, easing testing and integration 3. You can hide your art/sound assets from users (but you should obfuscate the compiled ROM for further security purposes)
Why shouldn't you use EFSLib? 1. It requires you to unpack and re-pack the ROM to change any of its internals 2. You need to flash it with an EFS executable everytime (I solved this using the attached Makefile) 3. Some kernels require DLDI patching in order to support the embedded file system (more details here: http://chishm.drunkencoders.com/DLDI/)
The repository has been tested in Linux so beware, Windows users. You will also need an efsroot folder to act as the root directory.
Dernière édition par x711Li le Ven 26 Avr 2013 - 20:04; édité 2 fois