Chishms' libfat Aplpa Version Chishm has been at work on his libfat for months now, and finally he has the application ready for testing. This alpha version now fully supports Neoflash MK2/3, GBAMP CF, M3 CF, M3 SD, SC CF, and Flash Carts with unconfirmed support for Max Media Player/Dock and EFA2.
You'll need malloc for this libfat to work. As each page of this chism creation takes about 550 bytes of memory, you'll need to use more pages for extra speed when randomly accessing files. A minimum of two cache pages is needed to operate this efficiently.
To install chishm's libfat, just extract the archive to your libnds directory so you should have /path/to/devkitpro/libnds/include/fat.h and /path/to/devkitpro/libnds/lib/libfat.a.
Chishm shares how this application can be used:
To use, you'll need to #include in the file where the library will be initialised, and #include in any source file that needs file access. In your makefile, add libfat to the list of libraries, before libnds. You'll also need to link in libnds. Eg:
Code: LIBS := -lfat -lnds9
In your program initialisation code, add a call to fatInitialise. The first parameter specifies the size of the sector cache in pages and the second parameter determines if this is to be the default file driver. For 4 cache pages and setting this as the default I/O device, use:
Directory listing is not yet available in this app as DevKitPro r19a - which is needed to run libfat - does not have this functionality.
Like it? Share with your friends!
If you got an error while installing Themes, Software or Games, please, read FAQ.
Similar Software:
3DS Video Converter 3DS Video Converter
Its been a little while since we've seen an update to the very handy Nintendo DS homebrew app know as the 3DS Video Converter.A Well, that all changes as NDS developer NekuSoul is back with an update to the 3DS Video Converter.A This is version 2.4 of the NDS app.A The 3DS Video Converter lets you convert videos quite easily
Animal Crossing Pattern Tool Animal Crossing Pattern Tool Well, you probably know there already are tools for converting images into patterns.
All these tools have 1 problem, though: you need to manually input them in your game
DSPalConvert DSPalConvert Do you wish to port your DS games to your PC or Mac but don't want to make use of other GFX formats (i.e. PNG). Or you may have simply lost the originals? Parrot has a solution for you: his DSPalConvert v0.2. DSPalConvert is a palette conversion tool where DS Palettes are turned to an unsigned short array
Christmas DS This is a small homebrew i created at first for my own use, but i want to share it for christmas!Watch the snow falling on the christmas tree while the lights shine
MSPV10 PNG Plug-in MSPV10 PNG Plug-in A couple of days after the release of MoonShell v1.33, Infantile Paralysiser is back with MSPV10 PNG plug-in. It's a fix to the bug that causes the alignment to slip with the pallet equipped picture when utilizing transparent bright color appointment. In addition, the bug that makes the buffer overrun was corrected with the 1/2/4bit pallet picture
DS-iPod ClickWheel demo DS-iPod ClickWheel demo As we all know, the Nintendo DS has got to be one of the most flexible systems out there. On top of its already wide array of features, coders have also vastly contributed to expanding the DS's repertoire of tricks and functions
2ds+ 2ds+ from damicha:This is the first release of my project 2ds+.After Nintendo announced the new NDS (3ds) I tried to show a 3D effect on the NDS by using the two display. I implemented some rotating cubes displayed in two slightly different perspectives. If you use the "cross viewing" technique, you will see a third object in 3D
DSRoomMaker DSRoomMaker Aspiring interior decorators will no doubt find some use in Raphi2's DSRoomMaker homebrew application. In DSRoomMaker, users can build their own dream garden and interior, using various elements such as walls, rugs, potted plants, shelves and more for the house interior, and cacti, flowers, stones and even weeds (among others) for the garden