


If $FileID does not = "KenSilverman" then file is not a true GRP MsgBox(0, "Error", "Unable to open file.") Open and check if file opened for reading OK From there I thought about making my own extractor but that is down the road a bit. I have attempted to see if I could write an AutoIt script that could at least SEE what was contained in a. (This was taken from the official 3Drealms site). In short, it is just an uncompressed archive of data! I imagine it is only 12 bytes because of the older naming convention: 8.3 or xxxxxxxx.xxxīytes 28-31 = long integer (4 bytes) which is the length of the first file in bytes.įinally, after the index, we have X number of file data, stored in respect to the order of the filenames, one after the other, back to back. Then we have X number of records in the following format:īytes 16-27 = 12 byte array for filename (this would be the first filename in the group. GRP file is as follows:īytes 0-11 = 12 byte array or 12 byte ID which is "KenSilverman"īytes 12-15 = long integer (4 bytes) which is total number of files contained in. The engine author, Ken Silverman, needed a quick and dirty way of consolidating the sound, music and art files and so he came up with this convention. The 3D shooter, Duke Nukem 3D, that came out in the mid 90's, used a type of archive for storing it's resource files.

Most of you will think this a pointless experiment but I was just curious to see if it could be done in AutoIt.
