ACF unpacking and building tool. Based on a fork of acfdump, an ACF unpacking tool originally created by Barubary in Java and ported here to C.
ACF files are used in Pokémon Ranger: Guardian Signs data. This tool allows you to extract and decompress the files they contain, as well as rebuild ACF files and create your own. You can download the latest nightly or build the program from source.
For more information on the ACF format, see the documentation.
Please note that the ACF building process is currently insufficient. File extraction works fine on original and reconstructed ACF files, but reconstructed files do not match their originals.
| Linux | Windows | |
|---|---|---|
| Release | ||
| Nightly | 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)
- Download, extract and launch NDSFactory
- Open the program, load your ROM, then press the
Extract Everythingbutton and choose where to save your files - Once the process is complete, go to the
Fat Toolstab, fill in the first three fields with the requested files you just extracted (fat_data.bin,fnt.binandfat.bin), then press theExtract FAT Data!button and choose where to save your files - Go to your output directory. ACF files are located in the
datafolder
- To extract a specific ACF file, run
acftool -d <file>.acf - To extract every ACF files in a directory, run
acftool -d <directory>
The output files will be located in a folder with the same name as the input ACF file.
To build an ACF file, run acftool -b <folder>. Please note that the target folder must contain a filelist.txt file listing the files to be compressed and a Boolean compression value (0: do not compress; 1: compress), for example:
0000.RTCA 0
0001.NCLR 1
0002.NCGR 1
0003.NCER 1
0004.CANR 1
Dependencies: gcc, make (optional)
- 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 project. You can either run
gcc -O3 -Wall -Wextra -Werror -o acfdumpormakeif you have it installed
- 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.