World Championship Poker 2 WAD 1: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:


<tt><b>
<tt><b>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>
: char {16}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(without extension) (null)</font> <br>  
: char {16}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(without extension)</font> <font color="purple">(null)</font> <br>  
: char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Filename extension <font color="purple">(null)</font> <br>  
: char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Filename Extension <font color="purple">(null)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - File Length <br>  
: uint32 {4}&nbsp;&nbsp; - File Length <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
: byte {x}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
<br>
 
</b></tt>
</b></tt>


Line 39: Line 37:


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

Latest revision as of 22:46, 4 February 2021

WAD (TYPE 1)


Format Specifications

// for each file

char {16}    - Filename (without extension) (null)
char {4}     - Filename Extension (null)
uint32 {4}   - File Length
uint32 {4}   - Unknown
byte {X}     - File Data

MultiEx BMS Script

Do ;
GetDString FNAME 20 0 ;
Get FSIZE Long 0 ;
If FSIZE = 0 ;
CleanExit ;
EndIf ;
Get FOOBAR Long 0 ;
Get FOOBAR Long 0 ;
SavePos FOFFSET 0 ;
Log FNAME FOFFSET FSIZE 0 0 ;
Math FOFFSET += FSIZE ;
GoTo FOFFSET 0 ;
While NotEOF <> 0 ;

Supported Programs