Kohan 2 - Kings Of War

From XentaxWiki
Revision as of 12:27, 28 December 2005 by WATTO (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Choose archive extension:

RWD


Format Specifications

char {4}     - Header (TGCK)
uint32 {4}   - Unknown (2)
uint32 {4}   - Unknown (3)
uint32 {4}   - Unknown (2)
uint16 {2}   - Description Length [*2, as it is unicode text]
char {X}     - Description (Unicode text)
uint32 {4}   - null
uint32 {4}   - Unknown

byte {X}     - File Data

// Directory

// for each file
uint32 {4}   - File Type ID?
uint16 {2}   - Filename Length [*2, as it is unicode text]
char {X}     - Filename (Unicode Text)
uint64 {8}   - Offset [+X] (relative to the start of the file data, as found in the File Data Details)
uint64 {8}   - Length
uint32 {4}   - null


// Tail Information (offset=archiveSize-288)

// Header Details
char {64}    - Header Name (Header) (Unicode Text)
uint64 {8}   - Header Offset (12)
uint64 {8}   - Header Length
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint64 {8}   - Header Length


// File Data Details
char {64}    - File Data Name (Files) (Unicode Text)
uint64 {8}   - File Data Offset
uint64 {8}   - File Data Length
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint64 {8}   - File Data Length


// Footer Details
char {64}    - Directory Name (Footer) (Unicode Text)
uint64 {8}   - Directory Offset
uint64 {8}   - Directory Length
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint64 {8}   - Directory Length


MultiEx BMS Script

Not written yet

Notes and Comments

  • All strings in these archives are Unicode text, meaning that each letter uses 2 bytes instead of 1. For English, it is suitable to skip every second character, as it will be null. So, whenever it says to read a string, read it as unicode!


Other Games

  • Axis And Allies *.rwd
  • Kohan 2: Kings Of War *.rwd

Compatible Programs