From bd2027ee4b44468fc78ff9674e250ca89f15dd8e Mon Sep 17 00:00:00 2001 From: Vitaliy Kanev Date: Fri, 9 Aug 2024 11:38:21 +0300 Subject: [PATCH] Support the new Doom + Doom II update --- src/win32/i_steam.cpp | 8 +++- wadsrc_extra/static/iwadinfo.txt | 67 ++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 1 deletion(-) diff --git a/src/win32/i_steam.cpp b/src/win32/i_steam.cpp index 2cf536475a..07e7f2a026 100644 --- a/src/win32/i_steam.cpp +++ b/src/win32/i_steam.cpp @@ -183,6 +183,7 @@ static bool QueryPathKey(HKEY key, const wchar_t *keypath, const wchar_t *valnam TArray I_GetGogPaths() { + // TODO Does the 2024 Update affect GOG version? TArray result; FString path; std::wstring gamepath; @@ -292,9 +293,13 @@ TArray I_GetSteamPath() "hexen/base", "hexen deathkings of the dark citadel/base", "ultimate doom/base", + "ultimate doom/base/doom2", // 2024 Update + "ultimate doom/base/tnt", // 2024 Update + "ultimate doom/base/plutonia", // 2024 Update "DOOM 3 BFG Edition/base/wads", "Strife", - "Ultimate Doom/rerelease/DOOM_Data/StreamingAssets", + "Ultimate Doom/rerelease/DOOM_Data/StreamingAssets", // 2019 Unity port (previous-re-release branch in Doom + Doom II app) + "Ultimate Doom/rerelease", // 2024 KEX Port "Doom 2/rerelease/DOOM II_Data/StreamingAssets", "Doom 2/finaldoombase", "Master Levels of Doom/doom2" @@ -350,6 +355,7 @@ TArray I_GetBethesdaPath() TArray result; static const char* const bethesda_dirs[] = { + // TODO Does the 2024 Update affect Bethesda Launcher? "DOOM_Classic_2019/base", "DOOM_Classic_2019/rerelease/DOOM_Data/StreamingAssets", "DOOM_II_Classic_2019/base", diff --git a/wadsrc_extra/static/iwadinfo.txt b/wadsrc_extra/static/iwadinfo.txt index c52f899bd6..d8149623ce 100644 --- a/wadsrc_extra/static/iwadinfo.txt +++ b/wadsrc_extra/static/iwadinfo.txt @@ -336,6 +336,24 @@ IWad IgnoreTitlePatches = 1 } +IWad +{ + Name = "DOOM: KEX Edition" + Autoname = "doom.id.doom1.kex" + Game = "Doom" + Config = "Doom" + IWADName = "doom.wad", 2 + Mapinfo = "mapinfo/ultdoom.txt" + Compatibility = "Shorttex", "nosectionmerge" + MustContain = "E1M1","E2M1","E2M2","E2M3","E2M4","E2M5","E2M6","E2M7","E2M8","E2M9", + "E3M1","E3M2","E3M3","E3M4","E3M5","E3M6","E3M7","E3M8","E3M9", + "DPHOOF","BFGGA0","HEADA1","CYBRA1","SPIDA1D1", "E4M2", + "DMENUPIC", "GAMECONF" + Load = "extras.wad" + BannerColors = "00 7c 00", "a8 a8 a8" + IgnoreTitlePatches = 1 +} + IWad { Name = "DOOM: Unity Edition" @@ -443,6 +461,21 @@ IWad IgnoreTitlePatches = 1 } +IWad +{ + Name = "Final Doom: TNT - Evilution: KEX Edition" + Autoname = "doom.id.doom2.tnt.kex" + Game = "Doom" + Config = "Doom" + IWADName = "tnt.wad" + Mapinfo = "mapinfo/tnt.txt" + Compatibility = "Shorttex", "Stairs" + MustContain = "MAP01", "REDTNT2", "GAMECONF" + BannerColors = "a8 00 00", "a8 a8 a8" + Load = "extras.wad" + IgnoreTitlePatches = 1 +} + IWad { Name = "Final Doom: TNT - Evilution" @@ -471,6 +504,21 @@ IWad IgnoreTitlePatches = 1 } +IWad +{ + Name = "Final Doom: Plutonia Experiment: KEX Edition" + Autoname = "doom.id.doom2.plutonia.kex" + Game = "Doom" + Config = "Doom" + IWADName = "plutonia.wad" + Mapinfo = "mapinfo/plutonia.txt" + Compatibility = "Shorttex" + MustContain = "MAP01", "CAMO1", "GAMECONF" + BannerColors = "a8 00 00", "a8 a8 a8" + Load = "extras.wad" + IgnoreTitlePatches = 1 +} + IWad { Name = "Final Doom: Plutonia Experiment" @@ -500,6 +548,21 @@ IWad IgnoreTitlePatches = 1 } +IWad +{ + Name = "DOOM 2: KEX Edition" + Autoname = "doom.id.doom2.kex" + Game = "Doom" + Config = "Doom" + IWADName = "doom2.wad", 2 + Mapinfo = "mapinfo/doom2.txt" + Compatibility = "Shorttex", "nosectionmerge" + MustContain = "MAP01", "DMENUPIC", "GAMECONF" + BannerColors = "00 7c 00", "a8 a8 a8" + IgnoreTitlePatches = 1 + Load = "extras.wad" +} + IWad { Name = "DOOM 2: Unity Edition" @@ -621,12 +684,16 @@ Order // Order in the IWAD selection box "DOOM 2: BFG Edition" "DOOM: XBox Edition" "DOOM 2: XBox Edition" + "DOOM: KEX Edition" "DOOM: Unity Edition" + "DOOM 2: KEX Edition" "DOOM 2: Unity Edition" "Final Doom: Plutonia Experiment" "Final Doom: Plutonia Experiment: Unity Edition" + "Final Doom: Plutonia Experiment: KEX Edition" "Final Doom: TNT - Evilution" "Final Doom: TNT - Evilution: Unity Edition" + "Final Doom: TNT - Evilution: KEX Edition" "Freedoom: Phase 1" "Freedoom: Phase 2" "FreeDM"