Difference between revisions of "Cultures"

From XentaxWiki
Jump to: navigation, search
m (Format Specifications)
 
Line 48: Line 48:
 
* [[MultiEx_Commander|MultiEx Commander]]
 
* [[MultiEx_Commander|MultiEx Commander]]
 
* [[Game Extractor|Game Extractor]]<br>
 
* [[Game Extractor|Game Extractor]]<br>
 +
 +
 +
[[Category:File Format]]

Latest revision as of 16:05, 3 January 2021

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