Tools for extracting and modifying files from Dance Dance Revolution CS games.
Tools for extracting and modifying files from Dance Dance Revolution CS games.
Tools for extracting and converting TCB image files.
mkdir build
cd build
cmake ..
make
Search for and extract compressed and uncompressed TCB files within a file.
./tcb-extract <mode> <file containing TCBs>
Modes:
1
- Bruteforce search for compressed and uncompressed TCBs.2
- Extract TCBs from file beginning with table (compressed entries).3
- Extract TCBs from file beginning with table (uncompressed entries).In most cases 1
works best as many table variations exist that 2
and 3
won’t work with.
Convert TCB files to PNG images or inject PNG images back into TCB files. The
extracted image will be a standard RGBA PNG image converted from either a 16 or
256 color palletized source. When injecting a PNG back into a TCB, the image
data will be updated and a new pallete will be generated to match the TCB’s
original format. The PNG you inject must be the same resolution as the TCB.
Convert TCB to PNG:
./tcb-convert e <TCB file>
Inject PNG into TCB:
./tcb-convert i <PNG file>
Extract and create filedata.bin files.
python3 filedata-tool.py <mode> <elf file> <filedata.bin> <directory>
Modes:
extract
- Extract the contents of filedata.bin
to directory
. All fileself file
will bedirectory\fieldata.csv
containing IDs, offsets, andcreate
- Create filedata.bin
using files in directory
. The CSV createdelf file
.