ACF archive utility for Pokémon Ranger: Guardian Signs. Based on a fork of acfdump, an ACF extraction tool originally written by Barubary in Java and ported here to C.
ACF archives are used in Pokémon Ranger: Guardian Signs data. This tool allows you to extract the files contained in ACF archives, automatically handling decompression when needed, and to rebuild these archives. You can download the latest build or build the program from source.
For more information on the ACF format, see the documentation.
| Linux | macOS | Windows | |
|---|---|---|---|
| Latest | Download | Download | Download |
You can dump your own Pokémon Ranger: Guardian Signs ROM from:
- a console from the Nintendo DS or Nintendo 3DS family (Game Card release)
- a Wii U (Virtual Console release)
To get the ACF archives, Windows users can run TinkeDSi, but NDSFactory can also be run on macOS and Linux:
- Download the latest NDSFactory release, then extract the archive and run the executable
- Open the program, load your ROM, then scroll down until you see the
FAT Files Addressfield. Take note or copy its value - Press the
Extract Everythingbutton and choose where to save your files - Once the process is complete, go to the
Fat Toolstab, and fill in the first three fields with the requested files you just extracted (fat_data.bin,fnt.binandfat.bin) and the fourth with the value from the previousFAT Files Addressfield - Press the
Extract FAT Data!button and choose where to save your files - Go to your output directory. ACF archives are located in the
datadirectory
Important
acftool is a command-line program and must be run in a terminal.
- To extract files from an ACF archive, run
acftool -x <in.acf>oracftool --extract <in.acf> - To extract files from every ACF archives in a directory, run
acftool -x <indir>oracftool --extract <indir>
The output files will be located in a directory with the same name as the input ACF archive.
To build an ACF archive, run acftool -b <indir> or acftool --build <indir>. Please note that the target directory must contain a filelist.json file listing the files and their state (null: set file entry as unused; false: do not compress; true: compress), for example:
{
"0000.RTCA": false,
"0001.NCLR": true,
"0002.NCGR": true,
"0003.NCER": true,
"0004.CANR": true
}Dependencies: clang or gcc, and make
- If you don't already have them, install the dependencies
- Clone this repository by running
git clone https://github.com/SombrAbsol/acftool, or download the ZIP archive and extract it - Go to the repository directory and build the executable by running
make, ormake releaseif you want to strip the generated build
Operating systems that use the Unix file system (such as Linux and macOS) can then run sudo make install to install a stripped acftool system-wide. sudo make uninstall removes it.
- Add ACZ support
- Better ACF and ACZ documentation
- acftool by SombrAbsol
- acfdump and ACF documentation by Barubary (the original acfdump is available on his website)
acftool is free software. You can redistribute it and/or modify it under the terms of the Expat License as published by the Massachusetts Institute of Technology.