Captain Comic II Dialog Format

From ModdingWiki
Jump to navigation Jump to search
Captain Comic II Dialog Format
Format typeText
Text purposeStory
Line endings?
Character set?
Dialog modding example

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.


The following tools are able to work with files in this format.

Name PlatformView? Modify? Access hidden data? Edit metadata? Notes
fr2txt/txt2fr Any CLIYesYesN/AN/A Convert dialog text from binary format to ASCII-text and vice-versa


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!)