Closed jmickle66666666 closed 6 years ago
I think we need to have a system that detects what IWAD it is. There are ways to do this and it's how ZDoom works. It looks for lumps found only in certain wads: https://github.com/coelckers/gzdoom/blob/master/wadsrc/static/iwadinfo.txt
Probably not the most elegant way to do it but I'm not sure there is a better way. (Checksums of certain lumps? Checksums of iwads?)
now detecting by md5 checksum. can be slow if there are a lot of wads in the iwad directory
Currently hardcoded values (in nasty.wad) are used for the IWAD filenames. That's not a good idea.