I think I got this working now. I've introduced a NETINFO lump (I thought about MAPINFO at first but figured this would be more suitable for stuff purely related to networking?) and takes the format of:
Code: Select all
ProtectedLumps
{
<lump_name> (<mode>)
}
- lump_name is the name of the lump to protect
- mode is either:
- last: the last loaded lump has to match, use for lumps where the replacement overrides the stock one completely (such as sprites, music, etc)
- all: all lumps loaded with this name have to match, use for lumps where each lump loaded with the name makes a difference (such as sndinfo, mapinfo, etc).
Example (this would go to zandronum.pk3)
Code: Select all
ProtectedLumps
{
"COLORMAP" (last),
"PLAYPAL" (last),
"HTICDEFS" (all),
"HEXNDEFS" (all),
"STRFDEFS" (all),
"DOOMDEFS" (all),
"GLDEFS" (all),
"DECORATE" (all),
"LOADACS" (all),
"DEHACKED" (all),
"GAMEMODE" (all)
}