FTG (Dark Reign)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Specification)
Line 23: Line 23:
 
|-
 
|-
 
| Directory offset
 
| Directory offset
| <code>unsigned int</code>
+
| <code>uint</code>
 
|
 
|
 
|-
 
|-
 
| File count
 
| File count
| <code>unsigned int</code>
+
| <code>uint</code>
 
|
 
|
 
|}
 
|}
Line 43: Line 43:
 
|-
 
|-
 
| File offset
 
| File offset
| <code>unsigned int</code>
+
| <code>uint</code>
 
|
 
|
 
|-
 
|-
 
| File size
 
| File size
| <code>unsigned int</code>
+
| <code>uint</code>
 
|
 
|
 
|}
 
|}
  
 
[[Category:Dark Reign (Game)]]
 
[[Category:Dark Reign (Game)]]

Revision as of 17:07, 15 March 2023

File Format
Name FTG (Dark Reign)
Ontology
Extension(s) .ftg

A .ftg file is an uncompressed archive format used by the real-time strategy game Dark Reign, to package most of the game’s assets.

Specification

The format includes a header, a directory of files, and the file data itself.

Header format:

Variable Type Notes
Signature "BOTG"
Directory offset uint
File count uint

Each entry in the Directory has the following structure:

Variable Type Notes
File name char[28] Null-padded
File offset uint
File size uint
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox