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?
Bare-bones IWAD ?
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.
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.
Re: Bare-bones IWAD ?
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?
Re: Bare-bones IWAD ?
Here's the list of needed lumps to make ZDoom load as various games...
So, no, you don't need anything else.
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
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Bare-bones IWAD ?
That's not correct. To identify a registered Doom 1 IWAD the other lumps are needed - but not for Doom2 and all other games.
Re: Bare-bones IWAD ?
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]
[edit]Cross post with Graf[/edit]
- 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 ?
It's scary how just yesterday night I did the same sifting and the same wondering, Enjay.
Thanks for answering the questions, guys.
Thanks for answering the questions, guys.
