You Dont Know Jack SRF

From XentaxWiki
Revision as of 19:34, 30 May 2005 by imported>Elcondor (→‎MultiEx BMS Script)
Jump to navigation Jump to search

Choose archive extension:

SRF


Format Specifications

char {4}   - Header (srf1)
uint32 {4}   - Archive Size

// for each file

uint32 {4}   - File Size (including these two 4-byte fields)
char {4}     - File Type/Extension (32 terminated)
byte {X}     - File Data


MultiEx BMS Script

IDString 0 srf1 ; FindLoc DUMMYL String snd 0 ; Math DUMMYL += 4 ; GoTo DUMMYL 0 ; Get FILECNTL Long 0 ; ReverseLong FILECNTL ; SavePos FILESTART 0 ; Do ; GoTo FILESTART 0 ; Get FILENAME Long 0 ; ReverseLong FILENAME ; Get FILEOFF Long 0 ; ReverseLong FILEOFF ; Get FILESIZE Long 0 ; ReverseLong FILESIZE ; SavePos FILESTART 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math EXTRCNT += 1 ; While EXTRCNT <> FILECNTL ;

Compatible Programs

  • None - Incomplete format specifications