Spellforce 2 CFF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Baccello
No edit summary
 
imported>Ikskoks
 
(16 intermediate revisions by 2 users not shown)
Line 8: Line 8:
<tt><b>
<tt><b>
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(0x12DD72DD) </font> <br>  
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(0x12DD72DD) </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Archive Version? '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Archive Version? '' </font> <font color="purple">(3) </font> <br>  
byte {12}&nbsp;&nbsp;&nbsp; - null <br>  
byte {12}&nbsp;&nbsp;&nbsp; - null <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File ID? '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' File ID? '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - (1) <br>  
: uint16 {2}&nbsp;&nbsp; - (1) <br>  
: uint32 {4}&nbsp;&nbsp; - Compressed Size <br>  
: uint32 {4}&nbsp;&nbsp; - Compressed Size <br>  
: uint32 {4}&nbsp;&nbsp; - (1) <br>  
: uint16 {2}&nbsp;&nbsp; - (1) <br>  
: uint32 {4}&nbsp;&nbsp; - Uncompressed Size <br>  
: uint32 {4}&nbsp;&nbsp; - Uncompressed Size <br>  
: byte {x}&nbsp;&nbsp;&nbsp;&nbsp; - File Data  <font color="purple">(zlib compressed) </font> <br>  
: byte {x}&nbsp;&nbsp;&nbsp;&nbsp; - File Data  <font color="purple">(zlib compressed) </font> <br>  
<br>
<br>
</tt>
</b></tt>


=== Notes and Comments ===
=== Notes and Comments ===
Line 28: Line 28:


=== Supported by Programs ===
=== Supported by Programs ===
{{NoProgramSupport}}
* [https://github.com/Hokan-Ashir/SFGameDataEditor SFGameDataEditor]
* [https://github.com/leszekd25/spellforce_data_editor spellforce_data_editor]
<br><br>
 
 
[[Category:File Format]]

Latest revision as of 20:13, 26 October 2022

CFF


Format Specifications

char {4}     - Header (0x12DD72DD)
uint32 {4}   - Archive Version? (3)
byte {12}    - null

// for each file

uint32 {4}   - File ID?
uint16 {2}   - (1)
uint32 {4}   - Compressed Size
uint16 {2}   - (1)
uint32 {4}   - Uncompressed Size
byte {x}     - File Data (zlib compressed)


Notes and Comments

None

MultiEx BMS Script

None written yet.

Supported by Programs