Captain Comic II Dialog Format
Jump to navigation
Jump to search
Captain Comic II Dialog Format
Format type | Text |
---|---|
Text purpose | Story |
Line endings | ? |
Character set | ? |
Games |
This format stores the text used in conversation with NPCs in Captain Comic II. It is found in FRNNN.3 dialog files, which are only present for some game levels.
File format
Before the file can be parsed, it must be decrypted. This can be done by XORing every byte in the file with 0x25.
DataType | Name | Description |
---|---|---|
UINT16LE[...] | offsets | Offsets of each string record. |
char[...][...] | strings | Each string is prefixed with two bytes giving the column and row counts, respectively, in characters, needed to draw the text in a window. |
There is no count field in the header. To load the offsets array, add new values until the file position equals the first element.
Tools
The following tools are able to work with files in this format.
Name | Platform | View? | Modify? | Access hidden data? | Edit metadata? | Notes |
---|---|---|---|---|---|---|
fr2txt/txt2fr | Any CLI | Yes | Yes | N/A | N/A | Convert dialog text from binary format to ASCII-text and vice-versa |
Credits
This file format was reverse engineered by Ceidwad. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)