arcusmaximus / CSystemTools

Script and image unpacking and repacking for the Cyberworks "C,system" visual novel engine
MIT License
42 stars 4 forks source link

CSystemTools

Script and image unpacking and repacking tool for the Cyberworks "C,system" visual novel engine.

Note: the tool has had only limited testing and doesn't work for all games.

Overview

Games based on this engine can have the following files:

.a0 scenario files extracted from Arc01.dat/Arc04.dat can be translated using VNTranslationTools.

Images will be automatically converted to and from PNG.

Audio files are currently not supported (the obfuscated OGGs will be extracted as-is).

Command line

CSystemArc unpack index.dat content1.dat content2.dat ... folder

Extract the specified archives to a folder. Example: unpack Arc01.dat Arc04.dat scenarios

This command will also print the version number of the archive format at the very beginning (e.g. "Archive version: 23"). This is needed for the "pack" command later on.

CSystemArc pack version folder index.dat content1.dat content2.dat ...

Pack a folder into one or more archive files. The archive files will be completely overwritten (files that are in the original archives but not in the folder will be lost). Example: pack 23 scenarios Arc01.dat Arc04.dat

CSystemArc readconfig Arc00.dat config.xml

Convert the binary configuration file to a more or less human-readable (and editable) XML file. Some known settings:

CSystemArc writeconfig config.xml Arc00.dat

Convert the above XML file back into a binary file that works with the game.