Bethesda.net support

Moderator: GZDoom Developers

Yarn366
Posts: 57
Joined: Fri Mar 02, 2018 11:48 pm

Bethesda.net support

Post by Yarn366 »

Pull request

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
The Bethesda.net 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 Bethesda.net 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.
Gez
 
 
Posts: 17633
Joined: Fri Jul 06, 2007 3:22 pm

Re: Bethesda.net support

Post by Gez »

Yarn366 wrote:
  • Heretic
  • Hexen
  • Hexen: Deathkings of the Dark Citadel
I'm a bit surprised they have these games.
User avatar
Rachael
Admin
Posts: 12885
Joined: Tue Jan 13, 2004 1:31 pm
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: Bethesda.net support

Post by Rachael »

Considering the retirement of the Bethesda.net launcher, one has to wonder if this is even needed anymore.
Yarn366
Posts: 57
Joined: Fri Mar 02, 2018 11:48 pm

Re: Bethesda.net support

Post by Yarn366 »

Yeah, probably not. It should be fine to just undo my changes.
Gez
 
 
Posts: 17633
Joined: Fri Jul 06, 2007 3:22 pm

Re: Bethesda.net support

Post by Gez »

I don't think it hurts to keep it, just for the people who have gotten it from there and installed it.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47976
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Bethesda.net support

Post by Graf Zahl »

Why should we take it out? It doesn't hurt anybody and might inconvenience those who actually bought it there in the past.

Return to “Closed Feature Suggestions”