GRAF:Ur-Lympiade

From XentaxWiki
Revision as of 20:30, 8 December 2005 by imported>PXR
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GFX, SFX

  • Format Type : Archive
  • Endian Order : Little Endian
  • Date Posted : Dec. 8, 2005

Format Specifications

char {4}     - Header (NGS + null byte)
uint16 {2}   - Unknown
uint16 {2}   - Number of files

// for each file

uint32 {4}   - File Length
uint16 {2}   - Unknown
byte {X}     - File Data

// for each file

uint32 {4}   - File Offset

MultiEx BMS Script

ImpType Standard ;
IDString 0 NGS ;
Set TEMP Long 6 ;
GoTo TEMP 0 ;
Get FILENUM Int 0 ;
SavePos FRSTFILE 0 ;
GoTo EOF 0 ;
SavePos TAILOFF 0 ;
Set TEMP Long FILENUM ;
Math TEMP *= 4 ;
Math TAILOFF -= TEMP ;
Math TAILOFF += 1 ;
GoTo TAILOFF 0 ;
For X = 1 To FILENUM ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
SavePos NEXTFILE 0 ;
Set TEMP Long FOFFSET ;
Math TEMP -= 6 ;
GoTo TEMP 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Log "" FOFFSET FSIZE FOFFSETX FSIZEX ;
GoTo NEXTFILE 0 ;
Next X ;

Supported by Programs