Like feature suggestions, but you've actually written code to make it happen. More likely to make it into the game than some random request in feature suggestions.

Moderator: GZDoom Developers

Forum rules
Please see Code submission guidelines

GZDoom Status:

Legacy Status:
Image Image

QZDoom Status:
Image support

Postby Yarn366 » Fri Aug 20, 2021 8:58 pm

Pull request

This adds detection for Doom-engine games downloaded via the Launcher. The process works like it does for Steam, where a certain registry key containing the 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

The Launcher also provides stand-alone DOS versions of Doom and Doom II, separate from the Unity versions; I added these to the code but commented them out. My comment in the source code explains why:

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.

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.

(And Blzut3, if you're reading this and are interested in adding support to ECWolf, the game data for Wolfenstein 3D is located in Wolfenstein 3D\base.)
Last edited by Yarn366 on Sat Aug 21, 2021 2:33 am, edited 1 time in total.
Joined: 02 Mar 2018

Re: support

Postby Gez » Sat Aug 21, 2021 2:29 am

Yarn366 wrote:
  • Heretic
  • Hexen
  • Hexen: Deathkings of the Dark Citadel

I'm a bit surprised they have these games.
Joined: 06 Jul 2007

Return to Code Submissions

Who is online

Users browsing this forum: No registered users and 0 guests