Both sides previous revisionPrevious revisionNext revision | Previous revision |
falcon4:file_formats:cam_trn_tac [2009/02/15 22:26] – lightning | falcon4:file_formats:cam_trn_tac [2024/07/31 08:34] (current) – links added. snakeman |
---|
====== .CAM/.TRN/.TAC File Overview ====== | ====== Falcon 4 .CAM/.TRN/.TAC File Overview ====== |
| |
| [[https://www.pmctactical.org/forum/viewforum.php?f=47|Falcon 4.0 Forum]], [[:falcon4|Falcon 4 Home]], [[falcon4:campaign|Falcon 4 Campaign]], [[falcon4:cockpits|Falcon 4 Cockpits]], [[falcon4:database|Falcon 4 Database]], [[falcon4:file_formats|Falcon 4 File Formats]], [[falcon4:srtm|Falcon 4 SRTM Terrain]], [[falcon4:terrain|Falcon 4 Terrain]], [[falcon4:textures|Falcon 4 Textures]], [[falcon4:tools|Falcon 4 Tools]] |
| |
| **Falcon 4 File Formats .CAM, .TRN and .TAC** |
| |
===== .CAM Files ===== | ===== .CAM Files ===== |
.CAM, .TRN, and .TAC files come with an embedded "directory" of their contents, typically located at the end of the file, although there is no requirement that the directory must come at the end. The only requirement is that the header must point to the beginning of the directory information, and the directory information must conform to the directory layout standard. | .CAM, .TRN, and .TAC files come with an embedded "directory" of their contents, typically located at the end of the file, although there is no requirement that the directory must come at the end. The only requirement is that the header must point to the beginning of the directory information, and the directory information must conform to the directory layout standard. |
| |
To read a .CAM/.TRN/.TAC file properly, you first need to read the embedded directory, and then using the information from the directory, you can extract any or all of the embedded files. | To read a .CAM/.TRN/.TAC file properly, you first need to read the embedded directory, and then using the information from the directory, you can extract any or all of the embedded files. Note that Some of the files embedded in a .CAM/.TRN/.TAC file have their contents compressed using [[falcon4:file_formats:cam_trn_tac:lzss_compression|LZSS compression]]. Other files are uncompressed binaries, and yet others are uncompressed plain text files. |
| |
Some of the files embedded in a .CAM/.TRN/.TAC file have their contents compressed using [[falcon4:file_formats:cam_trn_tac:lzss_compression|LZSS compression]]). Other files are uncompressed binaries, and yet others are uncompressed plain text files. | |
| |
===== HEADER SECTION ===== | ===== HEADER SECTION ===== |
| |
===== Typical directory contents ===== | ===== Typical directory contents ===== |
A.CAM/.TRN/.TAC file typically contains several of the following types of embedded files. | A.CAM/.TRN/.TAC file typically contains several of the following types of embedded files. Clicking any of the files listed below will take you to a Wiki article that describes that file's content and file-format structure. |
| |
[[falcon4:file_formats:cam_trn_tac:cmp_file|.CMP file (basic campaign information)]] \\ | [[falcon4:file_formats:cam_trn_tac:cmp_file|.CMP file (basic campaign information)]] \\ |