Skip to content

Commit c7a80e0

Browse files
authored
Merge pull request odamex#995 from odamex/2024steamupdate
Add support for DOOM + DOOM II Steam release
2 parents 209c530 + a96a35e commit c7a80e0

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

common/d_main.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ static const char* steam_install_subdirs[] =
174174
"steamapps\\common\\ultimate doom\\base",
175175
"steamapps\\common\\DOOM 3 BFG Edition\\base\\wads",
176176
"steamapps\\common\\master levels of doom\\master\\wads", //Let Odamex find the Master Levels pwads too
177+
"steamapps\\common\\ultimate doom\\base\\doom2", //2024 Steam re-release additions here and below
178+
"steamapps\\common\\ultimate doom\\base\\master\\wads",
179+
"steamapps\\common\\ultimate doom\\base\\plutonia",
180+
"steamapps\\common\\ultimate doom\\base\\tnt",
181+
"steamapps\\common\\ultimate doom\\rerelease",
182+
177183
};
178184

179185

common/w_ident.cpp

+38-2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ static const identData_t identdata[] = {
7575
DOOM2_PREFIX " v1.9", // groupName
7676
IDENT_COMMERCIAL | IDENT_IWAD, // flags
7777
100, // weight
78+
},
79+
{
80+
DOOM2_PREFIX " (DOOM + DOOM II)", // idName
81+
"DOOM2.WAD", // filename
82+
"09B8A6AE", // crc32Sum
83+
"9AA3CBF65B961D0BDAC98EC403B832E1", // md5Sum
84+
DOOM2_PREFIX " v1.9", // groupName
85+
IDENT_COMMERCIAL | IDENT_IWAD, // flags
86+
140, // weight
7887
},
7988
{
8089
DOOM2_PREFIX " Classic Unity v1.3", // idName
@@ -179,6 +188,15 @@ static const identData_t identdata[] = {
179188
IDENT_COMMERCIAL | IDENT_IWAD, // flags
180189
300, // weight
181190
},
191+
{
192+
PLUTONIA_PREFIX " (DOOM + DOOM II)",// mIdName
193+
"PLUTONIA.WAD", // mFilename
194+
"650B998D", // mCRC32Sum
195+
"24037397056E919961005E08611623F4", // mMd5Sum
196+
PLUTONIA_PREFIX " v1.9", // groupName
197+
IDENT_COMMERCIAL | IDENT_IWAD, // flags
198+
320, // weight
199+
},
182200
{
183201
PLUTONIA_PREFIX " v1.9 Anthology", // mIdName
184202
"PLUTONIA.WAD", // mFilename
@@ -199,7 +217,16 @@ static const identData_t identdata[] = {
199217
"4E158D9953C79CCF97BD0663244CC6B6", // mMd5Sum
200218
TNT_PREFIX " v1.9", // mGroupName
201219
IDENT_COMMERCIAL | IDENT_IWAD, // flags
202-
300, // weight
220+
350, // weight
221+
},
222+
{
223+
TNT_PREFIX " (DOOM + DOOM II)", // mIdName
224+
"TNT.WAD", // mFilename
225+
"15F18DDB", // mCRC32Sum
226+
"8974E3117ED4A1839C752D5E11AB1B7B", // mMd5Sum
227+
TNT_PREFIX " v1.9", // mGroupName
228+
IDENT_COMMERCIAL | IDENT_IWAD, // flags
229+
370, // weight
203230
},
204231
{
205232
TNT_PREFIX " v1.9 Anthology", // mIdName
@@ -208,7 +235,7 @@ static const identData_t identdata[] = {
208235
"1D39E405BF6EE3DF69A8D2646C8D5C49", // mMd5Sum
209236
TNT_PREFIX " v1.9", // mGroupName
210237
IDENT_COMMERCIAL | IDENT_IWAD, // flags
211-
325, // weight
238+
375, // weight
212239
},
213240

214241
// ------------------------------------------------------------------------
@@ -223,6 +250,15 @@ static const identData_t identdata[] = {
223250
IDENT_COMMERCIAL | IDENT_IWAD, // flags
224251
200, // weight
225252
},
253+
{
254+
UDOOM_PREFIX " (DOOM + DOOM II)", // mIdName
255+
"DOOM.WAD", // mFilename
256+
"CFF03D9F", // mCRC32Sum
257+
"4461D4511386518E784C647E3128E7BC", // mMd5Sum
258+
UDOOM_PREFIX " v1.9", // mGroupName
259+
IDENT_COMMERCIAL | IDENT_IWAD, // flags
260+
240, // weight
261+
},
226262
{
227263
UDOOM_PREFIX " Classic Unity v1.3", // mIdName
228264
"DOOM.WAD", // mFilename

0 commit comments

Comments
 (0)