Still Life SL: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Mr.Mouse
imported>Mr.Mouse
Line 40: Line 40:
SavePos CO 0 ;
SavePos CO 0 ;
While CO < MaxSize ;
While CO < MaxSize ;
</code>
</code></pre>


=== Compatible Programs ===  
=== Compatible Programs ===  


* [[Game Extractor|Game Extractor]]<br></pre>
* [[MultiEx Commander]]
* [[Game Extractor|Game Extractor]]<br>

Revision as of 11:39, 5 June 2005

Choose archive extension:

SL


Format Specifications

char {4}     - Header (VXBG)
uint32 {4}   - Directory Length [+8 for these fields]

// for each file

char {X}     - Filename (null)
uint32 {4}   - File Length


byte {X}     - File Data

MultiEx BMS Script

ImpType SFileSize ;
IDString 0 VXBG ;
Get DirSize Long 0 ;
Set MaxSize Long 8 ;
Math MaxSize += DirSize ;
Set FO Long MaxSize ;
Do ;
Get FN String 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Log FN FO FS 0 FSO ;
Math FO += FS ;
SavePos CO 0 ;
While CO < MaxSize ;
</code>

Compatible Programs