Issues Loading .WAD Files in GZDoom on Linux (20.04)

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.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Issues Loading .WAD Files in GZDoom on Linux (20.04)

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by DukeNukem » Tue Aug 26, 2025 12:18 pm

Thanks for the replies. Looks like it is a flatpack issue :-( From https://www.linuxfordevices.com/tutoria ... all-gzdoom:
However, even this method of installation doesn’t play nice with mods, as GZDoom doesn’t come up as an app which we can choose to run .WAD files. For proper mod playability, we would need to go to manual installation techniques, which are more prevalent on Windows.
Dang :-( Same page goes on to to mention installing from a .deb file so I tried that and now it works, yay ! I edited the GZDoom.Ini (as previously posted) to include the dir with all my wads in, so I just need to enter "-file SomeWad.wad" without any paths and it works.

TTFN,
Jon

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by axredneck » Tue Aug 26, 2025 11:24 am

Also you can try some sort of https://flathub.org/ru/apps/com.github.tchx84.Flatseal to grant GZDoom access to folders where wads are.

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by Blzut3 » Mon Aug 25, 2025 6:26 pm

GZDoom doesn't error on invalid command line parameters.

I'm not an expert with flatpaks but it looks like it can only access files in ~/.var/app/org.zdoom.GZDoom/.config/gzdoom by default. Note that while applications supporting the ~ notation is common, it's actually syntax that bash expands so if you're passing via the Additional Parameters box you will need to write out /home/<username>/ and not ~.

I would think the flatpak should be able to load a file from anywhere if passed through the desktop file. But that would require the Exec line to include %F which it doesn't appear to. Something you'll need to take up with the maintainer of the flatpak (Eonfge).

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by DukeNukem » Mon Aug 25, 2025 2:15 pm

I'm running GZDoom from desktop icon;. I installed GZDoom as a flatpack, which installed GZDoom entry on the main menu which I then right-clicked and "Add To Desktop".

Running GZDoom directly on the command line => command not found - not a shock as its a flatpack I guess?

Copying the desktop icon's Properties->Launcher and pasting to command line launches gzdoom as expected:

Code: Select all

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gzdoom.sh org.zdoom.GZDoom
If I add a wad file:

Code: Select all

 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gzdoom.sh org.zdoom.GZDoom -file SomeWad.wad
... then GZDoom runs but still no sign of the wad file. Putting the command in quotes "gzdoom.sh org.zdoom.GZDoom -file SomeWad.wad" gives error "error: APP must be specified"

So, I run GZDoom, it starts with a dialog to select which game (DOOM2, Ultimate DOOM, DOOM registered) which has an additional text box [Additional Parameters]. It seems that [Additional Parameters] is ignored, as if I enter complete gibberish GZDoom still launches without errors.

TTFN,
Jon

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by m8f » Mon Aug 25, 2025 10:20 am

Are you running GZDoom from a terminal or from a launcher? Which one?

What happens if you try to specify the wad file via shell autocompletion? Like this, in a terminal:

Code: Select all

gzdoom -file ~/Games/Doom/So[tab]
Will the shell autocomplete the file name? What will it suggest you?

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by DukeNukem » Mon Aug 25, 2025 6:40 am

I'm struggling with this. I've installed GZDoom as flatpack (Linux Mint 22), it runs, yay. I have a folder with hundreds of wad files and I want to play one of them. However GZDoom just ignores the "Additional Parameters".

For example these do nothing (no errors/warnings, just runs GZDoom ignoring the wad I specified):

-file ~/Games/Doom/SomeWad.wad
-file "~/Games/Doom/SomeWad.wad"
file ~/Games/Doom/SomeWad.wad
~/Games/Doom/SomeWad.wad

Yes, the case is correct and in a terminal "cd ~/Games/Doom" switches me to the directory.

So, I edited gzdoom.ini (in ~/.var/app/org.zdoom.GZDoom/.config/gzdoom") to specifically add the directory:

Code: Select all

# These are the directories to search for wads added with the -file
# command line parameter, if they cannot be found with the path
# as-is. Layout is the same as for IWADSearch.Directories
[FileSearch.Directories]
Path=$HOME/.config/gzdoom
Path=$HOME/.local/share/games/doom
Path=$HOME/Games/Doom                       <---------- I Added this
Path=/usr/local/share/
Path=/usr/local/share//doom
Path=/usr/local/share//games/doom
Path=/usr/local/share/doom
Path=/usr/local/share/games/doom
Path=/usr/share/doom
Path=/usr/share/games/doom
Path=$DOOMWADDIR
then tried:

-file SomeWad.wad
-file "SomeWad.wad"
file SomeWad.wad
SomeWad.wad


Still nothing - gzdoom just runs like nothing was specified. Wish it'd just error if it doesnt understand something :-(

What am I missing ?

I previously ran these wads (Mint 18!) by dragging the wads onto the gzdoom executable - not ideal, but it worked.

TTFN,
Jon

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by axredneck » Mon Oct 28, 2024 9:30 am

the doc sataper wrote: Sun Oct 27, 2024 1:55 pmI didn't know that uppercase letters matter in file names on GNOME.
It's not because of Gnome but because of file system (ext4, btrfs...)

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by the doc sataper » Sun Oct 27, 2024 1:55 pm

I didn't know that uppercase letters matter in file names on GNOME. That might be the cause of my issue. I’ll be more careful the next time.

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by Rachael » Sun Oct 27, 2024 3:50 am

Do remember also that Linux uses a case-sensitive file-system by default. So Nerve.wad is not the same as nerve.wad is not the same as NERVE.WAD each can be a distinct separate file.

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by the doc sataper » Sun Oct 27, 2024 3:41 am

I tried that with NERVE.WAD, the two methods work fine for me, thank you so much.

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by Blzut3 » Sat Oct 26, 2024 5:40 pm

Assuming the files that work and the ones that don't are in the same folder I'm not sure why it wouldn't be loading. If GNOME has a right click "open with" option in the file manager, that should work.

Otherwise with the terminal instead of typing out "myfile.wad", drag and drop the file onto the terminal. It will then write out the full path to the file which should work regardless of the working directory so that would rule out that.

If it's still not loading, have you ruled out that your mod isn't just broken and GZDoom is loading it and not doing what you expected? (i.e. There's definitely no "adding" line in the console.)

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by the doc sataper » Sat Oct 26, 2024 7:44 am

I'm using Ubuntu 22.04 (I made a typo in the topic title) with the Gnome environment.
I tried loading the file in two different ways:

- Through the terminal by typing gzdoom "-file myfile.wad" (without quote)
- Through the GZDoom launcher, entering "-file myfile.wad" (without quote) in the text field for command line parameters.
My WADs are placed in a valid folder for gzdoom (same than my mods)

I also tried placing a WAD file in an empty PK3 archive, but that gave the same result. However, mods like Brutal Doom and Tobby's Accessibility Mod (a mod that adapts Doom for blind players) work without any issues.

I installed the Debian GZDoom package by downloading it from https://zdoom.org/downloads.

Re: Issues Loading .WAD Files in GZDoom on Linux (20.04)

by Rachael » Fri Oct 25, 2024 6:23 pm

What exactly are you doing to load them? What shells, desktop environments, and/or launchers?

Issues Loading .WAD Files in GZDoom on Linux (20.04)

by the doc sataper » Fri Oct 25, 2024 2:26 pm

Hello,

I'm encountering an issue while trying to load additional .wad files (like custom maps) on Linux. When I attempt to load a .wad file, GZDoom seems to act as if the file doesn't exist. However, .pk3 files (for example, "brutal doom v21.pk3") load perfectly fine.

I’ve checked the permissions on my .wad files, and they match those of the .pk3 files. Currently, I’m using GZDoom version 4.13.1, but I noticed this issue with earlier versions too, likely around version 4.10 or 4.11.

Since I’m not very experienced with Linux, I’m unsure if this is a bug or a misconfiguration on my end.

Thank you for your time and assistance!

Top