kfc-parser (deprecated)
This project has been deprecated and will no longer receive additional features but will (for the foreseeable future) continue to receive bug fixes.
The kfc-parser is a command-line interface (CLI) for working with the .kfc format used by Enshrouded.
It allows users to unpack, repack, and restore game files, as well as disassemble and assemble impact programs.
Usage
Unpacking and Repacking
To unpack game files, use the unpack command.
kfc-parser.exe unpack -g <game-dir> -o <output-dir> [OPTIONS]
To repack unpacked files, use the repack command.
It will repack all .json files in the input directory which have a
qualified guid name (e.g. 82706b40-61b1-4b8f-8b23-dcec6971bda1_9398e747_0.json).
The hash between the two underscores (9398e747 in this case) is used to determine the file type.
kfc-parser.exe repack -g <game-dir> -i <input-dir> [OPTIONS]
Restoring Original Game Files
To restore the original game files, use the restore command.
kfc-parser.exe restore -g <game-dir>
Impact CLI
The impact sub command can be used to convert an impact program into
a more manageable format and vice versa.
The disassemble command will convert an impact program into a .impact and .shutdown.impact
file which will contain the program's bytecode in text format and a .data.json file which will
contain the program's data such as variables, etc.
kfc-parser.exe impact disassemble -i <input-file-name>
To convert the disassembled files back into an impact program, use the assemble command.
The input-file-name should be the shared name of the disassembled files as follows:
<input-file-name>.impact<input-file-name>.shutdown.impact<input-file-name>.data.json
kfc-parser.exe impact assemble -i <input-file-name> [OPTIONS]
Extracting Reflection Data
To extract reflection data from the enshrouded executable, use the extract-types command.
Note: This is automatically executed when unpacking or repacking files.
kfc-parser.exe extract-types [OPTIONS]