2026-01-14 18:25:05 +01:00
2025-05-04 13:32:07 +02:00
2026-01-14 18:25:05 +01:00
2026-01-14 18:25:05 +01:00
2026-01-08 18:59:47 +01:00
2026-01-06 21:51:51 +01:00
2025-05-04 13:32:07 +02:00
2026-01-09 14:34:38 +01:00
2025-05-04 13:32:07 +02:00
2026-01-12 21:36:40 +01:00

ctrff

Tool/Library to work with Nintendo 3ds File formats

Note

The Docs can be found in the Wiki now.

Building

  • Desktop OS
# Note that -DCTRFF_DESKTOP is not required to build the lib for desktop
cmake -B build . -DCTRFF_DESKTOP=ON -DCMAKE_BUILD_TYPE=Release
cd build
make
  • Nintendo 3ds
# Probably should go for Debug (to debug crashes)
# You could also do --toolchain path/to/debkitpro/cmake/3DS.cmake
# instead of -DCTRFF_3DS=ON
cmake -B build . -DCTRFF_3DS=ON -DCMAKE_BUILD_TYPE=Release
cd build
make

File Formats

Not all Planned formates are listed here yet

Format State Notes
3dsx Basic Loading and Viewing of Meta Data Smdh
bcstm Loading of almost every Data Fully done and playable by BCSTM-Player
bcwav Basic Loading (not tested yet) Not finished yet
bclim Creating A4,A8,LA4,LA8,L4,L8,RGB24,RGBA32,RGBA4444,RGB565 done WIP
lz11 Encoder done, Decoder done
romfs Nothing Done yet (Started creating header)
smdh Almost done missing safetey checks
cbmd Nothing done yet
cgfx Nothing Done yet
darc Nothing done yet
Description
Public ctrff codeparts (The stuf that actually seems to work yet)
Readme MIT 244 KiB
Languages
C++ 97.6%
CMake 2.4%