How chlorine6104/cld-tools works
CLD-tools is a desktop and command-line toolkit for translating and modifying game CLD files. Users extract dialogue and embedded assets, edit the exported CSV or resources, then repack changes into a separate CLD; a Perl-only diff capability compares two files. The GUI and CLI are implemented in main.py and invoke the Perl tools. README.md documents the tool behavior and outputs; the excerpts show GUI setup and tool lookup, but not the full CLI dispatch or Perl internals, so those links rely on documented behavior.
Main entry points: cld_extract.pl CLD extraction · cld_repack.pl CLD repacking · main.py GUI and CLI
Components 13
App interface
- GUI and CLI
main.py
CLD processing
- CLD extraction
cld_extract.pl - CLD repacking
cld_repack.pl
Translation artifacts
- Input CLD
- Dialogue template
- Dialogue CSV
- Extracted images
- Extracted fonts
- Repacked CLD
Comparison
- CLD comparison
- Comparison CLD
- Difference report
Other components
- Translator
Connections 20
- Translator → GUI and CLI: runs
README.md - GUI and CLI → CLD extraction: launches
main.py - GUI and CLI → CLD repacking: launches
main.py - Input CLD → CLD extraction: extracts from
README.md - Dialogue template → CLD extraction: templates export
README.md - CLD extraction → Dialogue CSV: exports
README.md - CLD extraction → Extracted images: extracts
README.md - CLD extraction → Extracted fonts: extracts
README.md - Translator → Dialogue CSV: edits
README.md - Translator → Extracted images: modifies
README.md - Translator → Extracted fonts: replaces
README.md - Input CLD → CLD repacking: repackages
README.md - Dialogue CSV → CLD repacking: applies translations
README.md - Extracted images → CLD repacking: replaces assets
README.md - Extracted fonts → CLD repacking: replaces font
README.md - CLD repacking → Repacked CLD: writes
README.md - Translator → CLD comparison: runs Perl tool
README.md - Input CLD → CLD comparison: compares
README.md - Comparison CLD → CLD comparison: compares
README.md - CLD comparison → Difference report: reports differences
README.md