OpenSpace CNT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 19: Line 19:
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Encrypted Folder Name <font color="purple">(XOR with the "XOR Value Field")</font> <br>  
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Encrypted Folder Name <font color="purple">(XOR with the "XOR Value Field")</font> <br>  
<br>
<br>
byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - End Of Directory Marker / Directory Checksum<font color="purple">(1)</font> <br>  
byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - End Of Directory Marker / Directory Checksum<font color="purple"> (1)</font> <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  

Revision as of 15:37, 26 October 2020

CNT


Format Specifications

// header
uint32 {4}   - Number Of Folders
uint32 {4}   - Number Of Files
byte {1}     - Is XOR Used flag
byte {1}     - Is Checksum Used flag
byte {1}     - XOR Key

// for each folder

uint32 {4}   - Folder Name Length
char {X}     - Encrypted Folder Name (XOR with the "XOR Value Field")


byte {1}     - End Of Directory Marker / Directory Checksum (1)

// for each file

uint32 {4}   - null
uint32 {4}   - Filename Length
char {X}     - Encrypted Filename (XOR with the "XOR Value Field")
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - File Offset
uint32 {4}   - File Length


byte {X}     - File Data

MultiEx BMS

Not written yet.

Notes and Comments

  • CNT archive is used for storing data in OpenSpace games.

Supported Programs

Games

List of games using this file format:

  • Rayman 2
  • Rayman 3
  • Rayman M
  • Rayman Arena
  • Donald Duck: Quack Attack / Donald Duck: Goin' Quackers
  • Tonic Trouble
  • Playmobil: Hype

Gallery