Difference between revisions of "Worms"

From XentaxWiki
Jump to: navigation, search
 
m (MultiEx BMS Script)
Line 22: Line 22:
 
=== MultiEx BMS Script ===  
 
=== MultiEx BMS Script ===  
  
Not written yet<br><br>
+
<pre>Set DUMMYL Long 1024 ;
 +
Set FILEJMP Long 2048 ;
 +
SavePos FILESTART 0 ;
 +
GoTo EOF 0 ;
 +
SavePos E 0 ;
 +
Do ;
 +
GoTo FILESTART 0 ;
 +
Get FILEOFF Long 0 ;
 +
SavePos FILESTART 0 ;
 +
GoTo DUMMYL 0 ;
 +
Get FILESIZE Long 0 ;
 +
Set D Long FILESIZE ;
 +
Math D += FILEJMP ;
 +
SavePos DUMMYL 0 ;
 +
Math FILESIZE -= FILEOFF ;
 +
Math FILEOFF += FILEJMP ;
 +
Log FILENAME FILEOFF FILESIZE 0 0 ;
 +
While D < E ;
 +
</pre>
  
 
=== Compatible Programs ===  
 
=== Compatible Programs ===  
  
 
* [[Game Extractor|Game Extractor]]<br>
 
* [[Game Extractor|Game Extractor]]<br>

Revision as of 13:10, 24 May 2005

Choose archive extension:

SFX


Format Specifications

// for each file

uint32 {4}   - File Offset


byte {0-2048}      - null Padding to an offset of 2048 bytes
byte {X}     - File Data

MultiEx BMS Script

Set DUMMYL Long 1024 ;
Set FILEJMP Long 2048 ;
SavePos FILESTART 0 ;
GoTo EOF 0 ;
SavePos E 0 ;
Do ;
GoTo FILESTART 0 ;
Get FILEOFF Long 0 ;
SavePos FILESTART 0 ;
GoTo DUMMYL 0 ;
Get FILESIZE Long 0 ;
Set D Long FILESIZE ;
Math D += FILEJMP ;
SavePos DUMMYL 0 ;
Math FILESIZE -= FILEOFF ;
Math FILEOFF += FILEJMP ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
While D < E ;

Compatible Programs