Skip to content

Commit

Permalink
- add support for new Bethesda.Net Unity Edition wads
Browse files Browse the repository at this point in the history
- they can be extracted with this utility: https://github.com/kevansevans/Unity-Doom-Ripper
  • Loading branch information
madame-rachelle committed Jan 10, 2020
1 parent 3185e35 commit 6df9e39
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
39 changes: 39 additions & 0 deletions wadsrc/static/mapinfo/doom2unity.txt
@@ -0,0 +1,39 @@
// MAPINFO for Doom 2: 2019 Edition
include "mapinfo/doom2.txt"

gameinfo
{
titlepage = "DMENUPIC"
}

clearepisodes
episode map01
{
name = "Hell On Earth"
picname = "M_EPI1"
key = "h"
}

// Wolfenstein 3D censorship
map MAP31 lookup "HUSTR_31B"
{
titlepatch = "CWILV30"
next = "MAP16"
secretnext = "MAP32"
sky1 = "SKY3"
cluster = 9
par = 120
music = "$MUSIC_EVIL"
needclustertext
}

map MAP32 lookup "HUSTR_32B"
{
titlepatch = "CWILV31"
next = "MAP16"
secretnext = "MAP16"
sky1 = "SKY3"
cluster = 10
par = 30
music = "$MUSIC_ULTIMA"
}
35 changes: 35 additions & 0 deletions wadsrc_extra/static/iwadinfo.txt
Expand Up @@ -334,6 +334,23 @@ IWad
IgnoreTitlePatches = 1
}

IWad
{
Name = "DOOM: Unity Edition"
Autoname = "doom.id.doom1.unity"
Game = "Doom"
Config = "Doom"
IWADName = "doom1unity.wad", 2
Mapinfo = "mapinfo/ultdoom.txt"
Compatibility = "Shorttex"
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"
BannerColors = "00 7c 00", "a8 a8 a8"
IgnoreTitlePatches = 1
}

IWad
{
Name = "DOOM: Complete: WadSmoosh"
Expand Down Expand Up @@ -434,6 +451,20 @@ IWad
IgnoreTitlePatches = 1
}

IWad
{
Name = "DOOM 2: Unity Edition"
Autoname = "doom.id.doom2.unity"
Game = "Doom"
Config = "Doom"
IWADName = "doom2unity.wad"
Mapinfo = "mapinfo/doom2unity.txt"
Compatibility = "Shorttex"
MustContain = "MAP01", "DMENUPIC"
BannerColors = "00 7c 00", "a8 a8 a8"
IgnoreTitlePatches = 1
}

// Doom 2 must be last to be checked because MAP01 is its only requirement
IWad
{
Expand Down Expand Up @@ -463,6 +494,8 @@ Names
"doom2bfg.wad"
"bfgdoom.wad"
"doombfg.wad"
"doom1unity.wad"
"doom2unity.wad"
"doom2f.wad"
"freedoom1.wad"
"freedoom2.wad"
Expand Down Expand Up @@ -503,7 +536,9 @@ Order // Order in the IWAD selection box
"DOOM Registered"
"DOOM Shareware"
"DOOM 2: BFG Edition"
"DOOM 2: Unity Edition"
"DOOM: BFG Edition"
"DOOM: Unity Edition"
"Freedoom: Phase 1"
"Freedoom: Phase 2"
"FreeDM"
Expand Down

3 comments on commit 6df9e39

@kevansevans
Copy link
Contributor

@kevansevans kevansevans commented on 6df9e39 Jan 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doom1unity needs to be changed to doomunity, due to a change in how my script handles the parsing of unity assets and it's just easier without the special case for 1 wad.

Also, if Doom and Doom II are being added because of these minor changes from the original wads, Plutonia and TNT need to be added as well. The addons available to download through the bethesda unity ports also have edited sprites.

@Gaerzi
Copy link
Collaborator

@Gaerzi Gaerzi commented on 6df9e39 Jan 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you distinguish between them and the BFG edition? AFAIK DMENUPIC is also present in BFG IWADs.

@coelckers
Copy link
Member

@coelckers coelckers commented on 6df9e39 Jan 11, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.