KenSilverman GRP: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
(just because it uses the same extension doesn't mean it's the same format)
imported>Dinoguy1000
(just because it uses the same extension doesn't mean it's the same format)
(No difference)

Revision as of 02:59, 13 March 2012

GRP


Format Specifications

char {12}    - Header (KenSilverman)
uint32 {4}   - Number Of Files

// for each file

char {12}    - Filename (null)
uint32 {4}   - File Size


byte {X}     - File Data

MultiEx BMS Script

ImpType SFileSize ;
IDString 0 KenSilverman ;
Get FC Long 0 ;
Set MFC Long FC ;
Math MFC *= 16 ;
Math MFC += 16 ;
SavePos FS 0 ;
For TE = 1 To FC ;
GoTo FS 0 ;
GetDString FN 12 0 ;
SavePos FSO 0 ;
Get FSI Long 0 ;
SavePos FS 0 ;
Log FN MFC FSI 0 FSO ;
Math MFC += FSI ;
Next TE ;

Compatible Programs


Other Games

These games also use this file format

  • Duke Nukem 3D *.grp
  • Redneck Rampage *.grp
  • Shadow Warrior *.grp