== Ken Silverman's .GRP format ==

This file, used by most Build engine powered games, contains a whole set of various files: graphics, maps, sounds, musics, etc. Note that PowerSlave's STUFF.DAT is also a GRP file, only with a different file extension.


Structure:
	CHAR[12]	signature	MUST be "KenSilverman"
	INT32	dirLength	Size of the directory, in entries
	dir_t	dir[]	Read dirLength entries
	CHAR[]	rawData	Each entries, stored contigously, following the directory's order. The first entry located at 16 + (dirLength * 16)


dir_t (16 bytes)
	CHAR[12]	chunkName	Name of the chunk, may not be NULL-terminated
	UINT32	chunkSize	Size of the chunk, in bytes