Giants Citizen Kabuto

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

GZP


Format Specifications

// ARCHIVE HEADER

uint32 {4}   - Unknown
uint32 {4}   - Directory Offset


// FILE DATA

// for each file
uint32 {4}   - Compressed File Length (including 16-byte header)
uint32 {4}   - Decompressed File Length
uint32 {4}   - Hash?
uint32 {4}   - Compression Tag (1=compressed 2=not compressed)
byte {X}     - File Data


// DIRECTORY

uint32 {4}   - Unknown
uint32 {4}   - Number Of Files
// for each file
uint32 {4}   - Compressed File Length (including 16-byte header)
uint32 {4}   - Decompressed File Length
uint32 {4}   - Hash?
uint32 {4}   - File Offset
byte {1}     - Compression Tag (1=compressed 2=not compressed)
byte {1}     - Filename Length (including null terminator)
char {X}     - Filename
byte {1}     - null Filename Terminator

MultiEx BMS Script

Get DUMMYL Long 0 ;
Get TAILOFF Long 0 ;
GoTo TAILOFF 0 ;
Get DUMMYL Long 0 ;
Get FILECNTL Long 0 ;
SavePos TAILOFF 0 ;
Do ;
GoTo TAILOFF 0 ;
Get FILESIZE Long 0 ;
Get DUMMYL Long 0 ;
Get DUMMYL Long 0 ;
Get FILEOFF Long 0 ;
Math FILEOFF += 16 ;
SavePos TAILOFF 0 ;
Math TAILOFF += 2 ;
GoTo TAILOFF 0 ;
Get FILENAME String 0 ;
SavePos TAILOFF 0 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;

Other Games

This format is used in the following games...

  • Giants Citizen Kabuto *.gzp
  • Giants Citizen Kabuto Reaper *.gzp

Compatible Programs