Iwad does is not recognized as 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.
Iwad does is not recognized as Iwad
I am working on a game that I use a batch file to load, and I am using the -iwad parameter, but it asks me which iwad I want to load. What are the possible causes of this, so that I can narrow it down?
It used to work, but it does not now, and I must load it as a pwad. Could it be that I included a gameinfo lump?
It used to work, but it does not now, and I must load it as a pwad. Could it be that I included a gameinfo lump?
Re: Iwad does is not recognized as Iwad
Sounds like the wad is missing a lump that's required for -iwad startup. Check to make sure you didn't accidentally delete/replace something important, like COLORMAP/PLAYPAL.
Re: Iwad does is not recognized as Iwad
Nope. Both of those are there.
Re: Iwad does is not recognized as Iwad
Bump. Where can I find a list of every resource needed to have ZDoom recognize it as an Iwad?
-
- Posts: 75
- Joined: Mon Feb 21, 2011 1:45 pm
- Location: Sydney, Aus
Re: Iwad does is not recognized as Iwad
This is slightly offtopic, but I get the same problem with HexDD.wad. In ZDoom, it recognises as an iwad and automatically loads HEXEN.wad, however in ZDL it tries to load HAXDX asna IWad and fails miserably.
Anyway, I am by no means an expert on this sort of thing. I have no experience creating IWADs, but from what I remember, traditionally the file header is what determines if the file is an iwad, not the content itself. Then again, I could be completely wrong. According to this thread (http://forum.zdoom.org/viewtopic.php?f=3&t=27585), as long as your wad has a MAP01 it will be recognised as doom2.wad if you use the -iwad parameter.
Anyway, I am by no means an expert on this sort of thing. I have no experience creating IWADs, but from what I remember, traditionally the file header is what determines if the file is an iwad, not the content itself. Then again, I could be completely wrong. According to this thread (http://forum.zdoom.org/viewtopic.php?f=3&t=27585), as long as your wad has a MAP01 it will be recognised as doom2.wad if you use the -iwad parameter.
Re: Iwad does is not recognized as Iwad
The file header will say either IWAD or PWAD. However, as far as this particular situation is concerned, that's irrelevant. Zdoom can load a file with a PWAD header as an IWAD (provided it contains what it needs to) and, equally, you can load an IWAD as a PWAD.plausiblesarge wrote:traditionally the file header is what determines if the file is an iwad, not the content itself. Then again, I could be completely wrong.
[edit] In fact, interestingly, the original doom2.exe can load a doom2.wad with a PWAD header. I just tried it and all that happened was that I got the message that you normally get when starting the game with the -file parameter but, otherwise, the game worked normally as far as I can tell. [/edit]
Re: Iwad does is not recognized as Iwad
Actually, in my case I am using a PK3, it is a Doom 2 replacement, and all the maps are in a seperate PWAD. The fact that it is not recognized as an IWAD was an issue even before I converted it from wad to pk3. I know it worked as an IWAD at one point, and I'm not sure what I did to break it.
Re: Iwad does is not recognized as Iwad
Just put an empty text file called "MAP01" into the .pk3 file somewhere... Also, make sure that you include valid PLAYPAL and COLORMAP lumps.
I have a 4.5KB .pk3 with just those three files in it that loads fine as an iwad.
I have a 4.5KB .pk3 with just those three files in it that loads fine as an iwad.
Re: Iwad does is not recognized as Iwad
That worked perfectly, thanks! 

- Kappes Buur
-
- Posts: 4188
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: Iwad does is not recognized as Iwad
That is not quite true.plausiblesarge wrote:This is slightly offtopic, but I get the same problem with HexDD.wad. In ZDoom, it recognises as an iwad and automatically loads HEXEN.wad, however in ZDL it tries to load HAXDX asna IWad and fails miserably. ....
When you start ZDoom / GZDoom and select HEXDD, it will start HEXDD and not HEXEN.
Spoiler:With ZDL it is slightly different. You have to setup HEXEN as the Iwad and HEXDD as the Pwad.
Spoiler:
Re: Iwad does is not recognized as Iwad
That's really weird, though. Just launching ZDoom via "zdoom -iwad hexdd.wad" works just fine. Why would it work any different with ZDL?
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Iwad does is not recognized as Iwad
I believe I found out why. It's not specifically ZDL's fault, but something about ZDoom and paths.Xaser wrote:Why would it work any different with ZDL?