FTG (Dark Reign)
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Archiving |extensions={{ext|ftg}} }} A '''.ftg''' file is an uncompressed archive format used by the real-time strategy game [http...") |
(sample files) |
||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
|formattype=electronic | |formattype=electronic | ||
− | |subcat= | + | |subcat=Game data files |
|extensions={{ext|ftg}} | |extensions={{ext|ftg}} | ||
}} | }} | ||
Line 7: | Line 7: | ||
A '''.ftg''' file is an uncompressed archive format used by the real-time strategy game [https://en.wikipedia.org/wiki/Dark_Reign:_The_Future_of_War Dark Reign], to package most of the game’s assets. | A '''.ftg''' file is an uncompressed archive format used by the real-time strategy game [https://en.wikipedia.org/wiki/Dark_Reign:_The_Future_of_War Dark Reign], to package most of the game’s assets. | ||
− | = Specification = | + | == Specification == |
− | + | ||
The format includes a '''header''', a '''directory of files''', and the file data itself. | The format includes a '''header''', a '''directory of files''', and the file data itself. | ||
Line 19: | Line 18: | ||
|- | |- | ||
| Signature | | Signature | ||
− | | <code>BOTG</code> | + | | "<code>BOTG</code>" |
| | | | ||
|- | |- | ||
| Directory offset | | Directory offset | ||
− | | <code> | + | | <code>uint</code> |
| | | | ||
|- | |- | ||
| File count | | File count | ||
− | | <code> | + | | <code>uint</code> |
| | | | ||
|} | |} | ||
Line 43: | Line 42: | ||
|- | |- | ||
| File offset | | File offset | ||
− | | <code> | + | | <code>uint</code> |
| | | | ||
|- | |- | ||
| File size | | File size | ||
− | | <code> | + | | <code>uint</code> |
| | | | ||
|} | |} | ||
+ | |||
+ | == Sample files == | ||
+ | * {{DexvertSamples|archive/darkReignGameArchive}} | ||
+ | |||
+ | [[Category:Dark Reign (Game)]] |
Latest revision as of 14:59, 30 July 2024
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.
[edit] 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
|