This adds detection for Doom-engine games downloaded via the Bethesda.net Launcher. The process works like it does for Steam, where a certain registry key containing the Bethesda.net Launcher install location is read, and then the default location of each supported game is checked. The following games are currently detected:
- Doom - Unity version and the included DOS version
- Doom II - Unity version and the included DOS version
- Doom 3: BFG Edition
- Heretic
- Hexen
- Hexen: Deathkings of the Dark Citadel
I also added and commented out the path to Doom Eternal's DOOM.WAD and DOOM2.WAD; these are identical to the misdetected PSN WADs mentioned in the comment.Alternate DOS versions of Doom and Doom II (referred to as "Original" in the Bethesda Launcher). While the DOS versions that come with the Unity ports are unaltered, these use WADs from the European PSN versions. These WADs are currently misdetected by GZDoom: DOOM.WAD is detected as the Unity version (which it's not), while DOOM2.WAD is detected as the original DOS release despite having Doom 3: BFG Edition's censored secret level titles (albeit only in the title patches, not in the automap). Unfortunately, these WADs have exactly the same lump names as the WADs they're misdetected as, so it's not currently possible to distinguish them using GZDoom's current IWAD detection system. To prevent them from possibly overriding the real Unity DOOM.WAD and DOS DOOM2.WAD, these paths have been commented out.
(And Blzut3, if you're reading this and are interested in adding Bethesda.net support to ECWolf, the game data for Wolfenstein 3D is located in Wolfenstein 3D\base.)