OpenSpace CNT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 25: Line 25:
: uint32 {4}&nbsp;&nbsp; - Filename Length <br>  
: uint32 {4}&nbsp;&nbsp; - Filename Length <br>  
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Encrypted Filename <br>  
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Encrypted Filename <br>  
: uint32 {4}&nbsp;&nbsp; -  '' File XOR Key '' <br>  
: uint32 {4}&nbsp;&nbsp; -  File XOR Key  <br>  
: uint32 {4}&nbsp;&nbsp; - '' Checksum '' <br>  
: uint32 {4}&nbsp;&nbsp; - Checksum  <br>  
: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
: uint32 {4}&nbsp;&nbsp; - File Length <br>  
: uint32 {4}&nbsp;&nbsp; - File Length <br>  

Revision as of 15:41, 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
uint32 {4}   - File XOR Key
uint32 {4}   - Checksum
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