Bare-bones IWAD ?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Bare-bones IWAD ?

Post by Enjay »

People may have noticed that AFADoomer's Wolfenstein TC comes with a fake IWAD. It contains enough information to fool Zdoom into thinking it has found an IWAD and then all the project specific data is loaded from PK3 files.

I'd like to set up something similar but I noticed that AFADoomer's IWAD contains information for making Zdoom think that the IWAD is for Doom. I'd like to do it for Doom2.

AFADoomer's WAD contains PLAYPAL, COLORMAP, an almost empty PNAMES and a fake (empty) entry for E1M1 as well as for all the episode 2 and 3 maps. There are also fake entries for DPHOOF, BFGGA0, HEADA1, SPIDA1D1 and CYBRA1.

What changes would I need to make to get Zdoom thinking the WAD was a Doom2 IWAD and therefore starting up in Doom2 mode? The map names are an obvious one - but would I need all the maps or just some? And what about other lumps?
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Bare-bones IWAD ?

Post by Enjay »

OK, a quick experiment seems to indicate that I can remove all the fake map entries, bar one, and call the one left map01. That seems to start the game in Doom2 mode. Is there anything else I need to include to be "belt and braces" safe about it?
User avatar
AFADoomer
Posts: 1341
Joined: Tue Jul 15, 2003 4:18 pm
Contact:

Re: Bare-bones IWAD ?

Post by AFADoomer »

Here's the list of needed lumps to make ZDoom load as various games...

Code: Select all

Lumps:                       Game:
TITLE, TITLE, MAP60          HexenDK (That's how the check's coded...)
MAP01, REDTNT2               Doom2/TNT
MAP01, CAM01                 Doom2/Plutonia
MAP01, ENDSTRF               Strife
MAP01, TITLE                 Hexen
MAP01                        Doom2
E1M1, TITLE, No E2M1         Heretic Shareware
E1M1, TITLE, E2M1, EXTENDED  Heretic Extended
E1M1, TITLE, E2M1            Heretic
E1M1                         Doom Shareware
E1M1, E4Mx                   Ultimate Doom
E1M1, No E4Mx                Doom Registered
So, no, you don't need anything else.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Bare-bones IWAD ?

Post by Graf Zahl »

That's not correct. To identify a registered Doom 1 IWAD the other lumps are needed - but not for Doom2 and all other games.
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Bare-bones IWAD ?

Post by Enjay »

Thank you kindly. In fact, by that information (and after a quick check) a 4KB wad with nothing in it other than a fake entry saying map01 will get Zdoom kicking off in Doom2 mode. Of course, it fails to actually start a game (looking for pnames) but that's fine.

[edit]Cross post with Graf[/edit]
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Bare-bones IWAD ?

Post by Project Shadowcat »

It's scary how just yesterday night I did the same sifting and the same wondering, Enjay.

Thanks for answering the questions, guys. :)
Locked

Return to “Editing (Archive)”