World Championship Poker 2 DAG: 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>
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(PKR3)</font> <br>
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(PKR3)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Directory Offset <br>
uint32 {4}&nbsp;&nbsp; - Directory Offset <br>  
<br>
<br>
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
<br>
<br>
<font color="blue"> ''' // Directory ''' </font> <br>
<font color="blue"> ''' // DIRECTORY ''' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(4)</font> '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(4)</font> '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(1)</font> '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(1)</font> '' </font> <br>  
uint32 {4}&nbsp;&nbsp; - Number of Files <br>
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>  
byte {132}&nbsp;&nbsp; - null <br>  
: byte {132}&nbsp;&nbsp; - null <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>  
: <font color="blue"> ''' // for each file ''' </font> <br>  
:: char {56}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>  
:: char {56}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>  
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
:: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
:: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
:: uint32 {4}&nbsp;&nbsp; - File Length '' <font color="red">(compressed length?)</font> ''<br>  
:: uint32 {4}&nbsp;&nbsp; - File Length <br>  
:: uint32 {4}&nbsp;&nbsp; - File Length '' <font color="red">(de-compressed length?)</font> ''<br>  
:: uint32 {4}&nbsp;&nbsp; - File Length <br>  
<br>
 
</b></tt>
</b></tt>


Line 65: Line 64:


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

Latest revision as of 22:45, 4 February 2021

DAG


Format Specifications

char {4}     - Header (PKR3)
uint32 {4}   - Directory Offset

byte {X}     - File Data

// DIRECTORY

uint32 {4}   - Unknown (4)
uint32 {4}   - Unknown (1)
uint32 {4}   - Number Of Files
byte {132}   - null


// for each file
char {56}    - Filename (null)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - File Offset
uint32 {4}   - File Length
uint32 {4}   - File Length

MultiEx BMS Script

IDString 0 PKR3 ;
ImpType StandardTail ;
SavePos TailOffOff 0 ;
Get TAILOFF Long 0 ;
Math TAILOFF += 8 ;
GoTo TAILOFF 0 ;
Get FILENUM Long 0 ;
SavePos TEMP 0 ;
Math TEMP += 136 ;
GoTo TEMP 0 ;
SavePos TEMP 0 ;
For X = 1 To FILENUM ;
GoTo TEMP 0 ;
GetDString FNAME 128 0 ;
Get FOOBAR Long 0 ;
Get FOOBAR Long 0 ;
SavePos FOFFSETO 0 ;
Get FOFFSET Long 0 ;
SavePos FSIZEO 0 ;
Get FSIZE Long 0 ;
Get FOOBAR Long 0 ;
SavePos TEMP 0 ;
Log FNAME FOFFSET FSIZE FOFFSETO FSIZEO ;
Next X ;

Notes and Comments

  • Even though two file length fields exist, no compression seems to be used.

Supported Programs