Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
User avatar
Delfino Furioso
Posts: 89
Joined: Sat Mar 27, 2021 3:21 pm


Post by Delfino Furioso »

Hi, consider a user case where game contents are organized as such:

Code: Select all

"<DIR>\bin\" => engine binaries
"<DIR>\main\" => main game data
"<DIR>\maps\" => megawad files
"<DIR>\mods\" => pwad files
the universal way of loading things would be:

Code: Select all

"<DIR>\bin\engine.exe" -iwad "<DIR>\main\DOOM2.WAD" -file "<DIR>\maps\D2TWID.WAD" "<DIR>\mods\D2SPFX.WAD" 

however, for the majority of source ports, one might define

Code: Select all

set DOOMWADDIR="<DIR>\main\"
set DOOMWADPATH="<DIR>\maps\;<DIR>\mods\"
and then launch simply

Code: Select all

"<DIR>\bin\engine.exe" -iwad "DOOM2.WAD" -file "D2TWID.WAD" "D2SPFX.WAD" 

I've tried doing the same with gzdoom by setting the following .ini file lines:

Code: Select all

but after testing I've determined that the "Path=" setting does not support a semicolon-separated list of directories
furthermore, it seems that there is no way to tell gzdoom to look for wads recursively within the specified path (iirc Raze do offer this option, at least for IWADSearch.Directories)

am I doing something wrong?
am I supposed to specify each directory in its own .ini file line?

in general, I'm looking for a convenient way to handle (via batch files, not a launcher) multiple wads organized in a pretty articulated directory tree (ex: by iwad/episode/complevel)
do any of you guys have any suggestions?

thank you!
User avatar
Kappes Buur
Posts: 4057
Joined: Thu Jul 17, 2003 12:19 am
Location: British Columbia, Canada


Post by Kappes Buur »

Using a batch file certainly makes this possible, but
one could get easily lost in the syntax.

Although you mention no launcher for some reason,
using a dedicated Launcher would be the better way to go.
I see good things written about DoomRunner.

Return to “Technical Issues”