drfrag666 / gzdoom

GZDoom adds an OpenGL renderer to the ZDoom source port.
http://gzdoom.drdteam.org
GNU General Public License v3.0
73 stars 15 forks source link

- Moved NRFTL before DOOM 2: Hell on Earth #31

Closed emawind84 closed 2 years ago

emawind84 commented 2 years ago

NRFTL as last check was causing some iwad like zbloody_hell.wad to not work when doom 2 was not present in any iwadsearch directory, since it was identified like NRFTL with requirement of Doom 2 iwad. Added MAPINFO to MustContain for NRFTL and moved before Doom 2 to keep the last iwad without Requirements and keep the original behavior

drfrag666 commented 2 years ago

That won't work, the official nerve.wad does not contain a MAPINFO that's the pirated version. I changed the order when i added support for NRFTL based on Rachael's addon. The problem here is that NRFTL is not an iwad, perhaps i should remove it.

drfrag666 commented 2 years ago

Now that i think of it ZBloody Hell is not an ipk3. WIth the command line provided in the batch file it should work: "lzdoom -iwad zbloody_hell.wad -file "zbloody_hell_v1915.pk3" "zbloody_hell_v1915_Caleb.pk3" "zbloody_hell_v1915x_Patch.pk3"". Drag and drop tries to load it as a pwad and just running lzdoom won't detect it since it's not in the list.

emawind84 commented 2 years ago

I see the problem, I used the iwad argument though and it doesn't work if it can't find the doom2.wad because of the Required field in NRFTL section. I actually removed the section in my other branch to make it works just didn't want to pull request it, thanks for the info!

emawind84 commented 2 years ago

I see you put NRFTL and Sigil as well so I wonder if it was just for showing them in the launcher. But it seems to me that they should be loaded as pwad instead, still having them in the launcher is not bad either.

emawind84 commented 2 years ago

It seems the nerve.wad from Doom 2 - Bethesda addon on Steam has the DMAPINFO lump if it is useful as condition.

drfrag666 commented 2 years ago

But other versions such as the BFG edition don't. Anyway for me the command line with -iwad works. What have you done? Renaming the wad to nerve.wad?

emawind84 commented 2 years ago

I removed all reference of doom2.wad so lzdoom can't find it, then I run lzdoom with the parameters you also gave me and I receive the error. Dunno why it works for you. I set developer setting to 5 to receive more logs and I can see the 'identified ...' messages it might help understand if lzdoom is finding doom2.wad somewhere on your pc

drfrag666 commented 2 years ago

No becouse Doom 2 doesn't appear on the list. With the batch file ZBloody Hell runs with or without Doom 2. Which error do you get?

emawind84 commented 2 years ago

Just to be clear, the error rise for me when I run lzdoom with just the zbloody hell total conversion, without any reference to doom2.wad, since it should work also without owning a copy of doom2

emawind84 commented 2 years ago

No becouse Doom 2 doesn't appear on the list. With the batch file ZBloody Hell runs with or without Doom 2. Which error do you get?

I get the following error log

LZDoom version 3.88b-1-gb077470fb3
OS: Windows 10 (or higher) (NT 10.0) Build 19043

M_LoadDefaults: Load system defaults.
Using program directory for storage
Identified ./zbloody_hell.wad as DOOM 2: No Rest for the Living
Identified D:/GitHub/lzdoom-mobile/build/Debug/zbloody_hell.wad as DOOM 2: No Rest for the Living

Execution could not continue.

Cannot find a game IWAD (doom.wad, doom2.wad, heretic.wad, etc.).
Did you install LZDoom properly? You can do either of the following:

1. Place one or more of these wads in the same directory as LZDoom.
2. Edit your lzdoom-username.ini and add the directories of your iwads
to the list beneath [IWADSearch.Directories]
emawind84 commented 2 years ago

It seems like any iwad identified will be used to run it. So if I put doom.wad in lzdoom folder it will be loaded together with zbloody_hell.wad. If instead I completely remove any wad so the launcher also will not run, then the game will not start and throw that error I showed you above. The correct behavior I think, is that it should run whether a game iwad is present or not.

drfrag666 commented 2 years ago

The problem here is that i added the MAP30 requirement for Doom 2 and ZBloody Hell doesn't have a MAP30. Seems it needs to be misidentified as Doom II to run standalone, but the wad only has MAP01 and the rest of them are somewhere else in ExMx format. This looks like a hack to make it run to me. Are you sure it's even an iwad? I see there's missing stuff such as sprites there.

emawind84 commented 2 years ago

I don't think is a valid iwad either, if you ask, I just followed the instructions in the readme and it is supposed to run without other iwad around but it seems this is not the case. Zbloody_hell.wad is supposed to run as an iwad from what I understood.

drfrag666 commented 2 years ago

It just happened to run, clearly it's not a valid iwad. It's only 162 KB in size. I don't think it's even an iwad, it doesn't contain an IWADINFO lump and most likely the iwad identifier either. https://doomwiki.org/wiki/IWAD