User Tools

Site Tools


falcon4:file_formats:cam_trn_tac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
falcon4:file_formats:cam_trn_tac [2009-02-15 21:02]
lightning
falcon4:file_formats:cam_trn_tac [2009-02-15 22:27] (current)
Line 1: Line 1:
 ====== .CAM/​.TRN/​.TAC File Overview ====== ====== .CAM/​.TRN/​.TAC File Overview ======
-The various files in Falcon that end with .CAM, .TRN, and .TAC extensions are just container files for storing various other campaign files (kind of like a .ZIP file, but without the built-in data compression -- note that Falcon compresses most of the contents of the majority of the individual files inside a .CAM/.TRN/.TAC file using [[falcon4:​file_formats:​cam_trn_tac:​lzss_compression|LZSS compression]])+ 
 +===== .CAM Files ===== 
 +Campaign files are similar in structure to training and TE files. Generally they do not have flights allocated though, leaving them to the mission planner to generate.  
 + 
 +Campaign files end in the suffix .CAM and often have associated other files, such as:  
 + 
 +Trigger files, to trigger events (.TRI) \\ 
 +Force Ratio files (.FRC) \\ 
 +History files (.HIS) \\ 
 + 
 +===== .TAC Files ===== 
 +Tactical files are similar in structure to training and campaign files. Generally they do not have flights allocated though, leaving them to the mission planner to generate.  
 + 
 +Tactical files end in the suffix .TAC.  
 + 
 +===== .TRN Files ===== 
 +Training missions files end in the suffix .TRN.  
 + 
 +Training files are similar in structure to campaign and TE files. Generally they have preplanned missions already edited, and do not generate debriefing screens.  
 + 
 +===== Basic Structure ===== 
 + 
 +The various files in Falcon that end with .CAM, .TRN, and .TAC extensions are just container files for storing various other campaign files (kind of like a .ZIP file)   
  
 .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.
  
 ===== HEADER SECTION ===== ===== HEADER SECTION =====
Line 27: Line 49:
  
 ===== 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)]] \\
Line 40: Line 62:
 [[falcon4:​file_formats:​cam_trn_tac:​wth_file|.WTH file (weather)]]\\ [[falcon4:​file_formats:​cam_trn_tac:​wth_file|.WTH file (weather)]]\\
 [[falcon4:​file_formats:​cam_trn_tac:​ver_file|.VER file (version information)]]\\ [[falcon4:​file_formats:​cam_trn_tac:​ver_file|.VER file (version information)]]\\
-.VC file (victory conditions)\\ +[[falcon4:​file_formats:​cam_trn_tac:​te_file|.TE file (Victory ​conditions)]]\\
-.TE file (F4:Allied Force victory ​conditions)\\+
  
  
falcon4/file_formats/cam_trn_tac.1234731749.txt.gz · Last modified: 2009-02-15 21:02 (external edit)