This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
falcon4:file_formats:cam_trn_tac:cmp_file [2009-02-14 20:40] lightning |
falcon4:file_formats:cam_trn_tac:cmp_file [2009-02-15 19:47] (current) |
||
---|---|---|---|
Line 9: | Line 9: | ||
|CompressedSize |signed 32-bit integer|4|Size, in bytes, of the compressed file to follow (includes 4 bytes for the "Uncompressed Size" field at the start of the data)| | |CompressedSize |signed 32-bit integer|4|Size, in bytes, of the compressed file to follow (includes 4 bytes for the "Uncompressed Size" field at the start of the data)| | ||
|UncompressedSize|signed 32-bit integer|4|Size, in bytes, of the content that follows, when it's uncompressed| | |UncompressedSize|signed 32-bit integer|4|Size, in bytes, of the content that follows, when it's uncompressed| | ||
- | |DATA|byte[]|(CompressedSize-4)|LZSS-compressed binary data.| | + | |DATA|byte[]|(CompressedSize-4)|[[falcon4:file_formats:cam_trn_tac:lzss_compression|LZSS-compressed]] binary data.| |
==== Uncompressed contents of the DATA field ==== | ==== Uncompressed contents of the DATA field ==== | ||
Line 73: | Line 73: | ||
|teamFlag|byte|1| | | |teamFlag|byte|1| | | ||
|teamColor|byte|1| | | |teamColor|byte|1| | | ||
- | |teamName|T_CHAR[20]|20| | | + | |teamName|_TCHAR[20]|20| | |
- | |teamMotto|T_CHAR[200]|200| | | + | |teamMotto|_TCHAR[200]|200| | |
==== VU_ID structure==== | ==== VU_ID structure==== | ||
Line 93: | Line 93: | ||
|currentStrength|byte|1| |All| | |currentStrength|byte|1| |All| | ||
|country|byte|1| |All| | |country|byte|1| |All| | ||
- | |airbaseName|TCHAR[40]|40| |All| | + | |airbaseName|_TCHAR[40]|40| |All| |
- | |airbaseNameExt|TCHAR[40]|40|additional 40 characters of airbaseName (only supported in earlier versions) |<42| | + | |airbaseNameExt|_TCHAR[40]|40|additional 40 characters of airbaseName (only supported in earlier versions) |<42| |
|padding|byte|1|needed for the structure's fields to align on an Int32 boundary|All| | |padding|byte|1|needed for the structure's fields to align on an Int32 boundary|All| | ||
Line 108: | Line 108: | ||
|UiEventNode|Int32 pointer|4|as a pointer, this field is only useful in-memory and is meaningless when restored from disk | | |UiEventNode|Int32 pointer|4|as a pointer, this field is only useful in-memory and is meaningless when restored from disk | | ||
|eventTextSize|unsigned 16-bit integer|2| | | |eventTextSize|unsigned 16-bit integer|2| | | ||
- | |eventText|TCHAR[eventTextSize]|eventTextSize| | | + | |eventText|_TCHAR[eventTextSize]|eventTextSize| | |