Worms SFX: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>Ikskoks
m (Ikskoks moved page Worms to Worms SFX)
 
(8 intermediate revisions by 3 users not shown)
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 ===  


* [[MultiEx Commander|MultiEx Commander]]
* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
[[Category:File Format]]

Latest revision as of 22:49, 4 February 2021

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