falcon4:file_formats:cam_trn_tac:uni_file
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| falcon4:file_formats:cam_trn_tac:uni_file [2009/02/15 00:42] – created lightning | falcon4:file_formats:cam_trn_tac:uni_file [2024/07/31 08:45] (current) – links added. snakeman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== .UNI file ====== | + | ====== |
| + | |||
| + | [[https:// | ||
| The .UNI file holds information about the units. | The .UNI file holds information about the units. | ||
| Line 9: | Line 12: | ||
| |NumUnits |Signed 16-bit integer|2|Number of unit records in the data that follows| | |NumUnits |Signed 16-bit integer|2|Number of unit records in the data that follows| | ||
| |UncompressedSize|Signed 32-bit integer|4|Size, | |UncompressedSize|Signed 32-bit integer|4|Size, | ||
| - | |DATA|byte[]|(CompressedSize-6) bytes|LZSS-compressed binary data.| | + | |DATA|byte[]|(CompressedSize-6) bytes|[[falcon4: |
| ==== Uncompressed contents of the DATA field ==== | ==== Uncompressed contents of the DATA field ==== | ||
| Line 19: | Line 22: | ||
| ^Field^Data Type^Width (in bytes)^Description^Versions^ | ^Field^Data Type^Width (in bytes)^Description^Versions^ | ||
| |unitType|signed 16-bit integer|2| subtract 100 from this value to find the index into the Falcon classtable records, for this unit |All| | |unitType|signed 16-bit integer|2| subtract 100 from this value to find the index into the Falcon classtable records, for this unit |All| | ||
| - | |Data[]| byte array whose content and length depends on the type of unit defined in the classtable, at the index specified by unitType | All | | + | |Data[]| byte array| content and length depends on the type of unit defined in the classtable, at the index specified by (unitType |
| - | For each unit record, | + | For each unit record, |
| interpret the data that follows in that unit record' | interpret the data that follows in that unit record' | ||
| Line 41: | Line 44: | ||
| Immediately following the data for that unit, is another " | Immediately following the data for that unit, is another " | ||
| - | **Note: this information is valid for versions up to about version | + | **Note: this information is valid for versions up to about version |
| Line 138: | Line 141: | ||
| |specialty| byte|1 | | All| | |specialty| byte|1 | | All| | ||
| |stores[]| byte[200] |200 | | < 69| | |stores[]| byte[200] |200 | | < 69| | ||
| - | |stores[]| byte[220] |220 | | > = 69| | + | |stores[]| byte[220] |220 | | 69 thru 71 (inclusive)| |
| + | |stores[]| byte[600] |600 | | > = 72| | ||
| |pilots[]| Pilot[36] | | |< 29 | | |pilots[]| Pilot[36] | | |< 29 | | ||
| |pilots[]| Pilot[48] | | | > = 29 | | |pilots[]| Pilot[48] | | | > = 29 | | ||
| Line 376: | Line 380: | ||
| ==== LoadoutArray structure ==== | ==== LoadoutArray structure ==== | ||
| ^Field^Data Type^Width (in bytes)^Description^Versions^ | ^Field^Data Type^Width (in bytes)^Description^Versions^ | ||
| - | |Stores[]|LoadoutStruct[5]| | |All| | + | |Stores[]|LoadoutStruct[5]| |
| ==== LoadoutStruct structure ==== | ==== LoadoutStruct structure ==== | ||
| Line 402: | Line 406: | ||
| |num_|unsigned 32-bit integer|4| | | |num_|unsigned 32-bit integer|4| | | ||
| |creator_|unsigned 32-bit integer|4| | | |creator_|unsigned 32-bit integer|4| | | ||
| + | |||
falcon4/file_formats/cam_trn_tac/uni_file.1234658547.txt.gz · Last modified: 2009/02/15 00:42 (external edit)
