World Championship Poker 2 DAG

From XentaxWiki
Jump to: navigation, search

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