Cultures

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

LIB


Format Specifications

uint32 {4}   - Version (1)
uint32 {4}   - Number Of Files

// for each file

uint16 {2}   - Filename Length
char {X}     - Filename
uint32 {4}   - File Offset
uint32 {4}   - File Length


byte {X}     - File Data

MultiEx BMS Script

Get DUMMYL Long 0 ;
Get FILECNTL Long 0 ;
SavePos FILESTART 0 ;
Do ;
GoTo FILESTART 0 ;
Get DUMMYL Int 0 ;
GetDString FILENAME DUMMYL 0 ;
SavePos FILESTART 0 ;
Get FILEOFF Long 0 ;
GoTo FILESTART 0 ;
Get TAILOFF Long 0 ;
Set TAILOFF Long FILESTART ;
Get FILESIZE Long 0 ;
SavePos FILESTART 0 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;

Compatible Programs