I committed a fix for that in r3661, by the way.
I've also got another modification of the startup window game selector coming up that allows arbitrary GRPs to be added to the selector (finally!).
It's already programmed, but I want to play with it a bit before I commit it to make sure it doesn't screw anything up. Currently, it scans the root dir for any file with a "grpinfo" extension and loads as many additional entries from that as are defined in the file, in this format:
Quote
"fuuuu" 418389083 22213819 GAMEFLAG_ADDON DUKE15_CRC "fuuuu.con"
The first field is the GRP's friendly name, the second field is the CRC (take it from grpfiles.cache, it's the last field there), the third is the filesize of the GRP, the fourth defines what type of GRP it is (currently just GAMETYPE_DUKE or GAMETYPE_ADDON), the fifth is the CRC of the main GRP an add-on GRP requires to operate (current predefined values are DUKE15_CRC, DUKE13_CRC, and DUKEDC_CRC/DUKECB_CRC/DUKENW_CRC representing the GRPs distributed with the Megaton Edition), and the sixth field is of course the name of the CON file the GRP needs to load to function. I plan on adding an additional field for the DEF file name before I commit this, so the syntax will change a little bit, but that should be enough information to give everyone an idea of how it works and how simple it is to use.