World Championship Poker 2 DAG: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>WATTO
No edit summary
(No difference)

Revision as of 16:06, 12 December 2005

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 (compressed length?)
uint32 {4}   - File Length (de-compressed 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