Jump to content

Flatpak gz doom mods


Recommended Posts

Through the command-line you can pass the usual parameters such as -file to the flatpak run command, for example "flatpak run org.zdoom.GZDoom -file <path/to/wad>". I use the Flatpak version of GZDoom with the launcher ZDL (the version here has a precompiled Linux binary) by creating a script that runs GZDoom with any parameters passed to the script, and then adding that script as a "source port" in ZDL. I can share that when I'm at my computer if you haven't figured it out by then.

 

IIRC you also need to grant the Flatpak read permissions to where you have your wads/mods, you can do that through the command-line or through the GUI app Flatseal (also available as a Flatpak).

Edited by Shepardus

Share this post


Link to post
1 hour ago, lefsiheryboi said:

also can i get the comands to run the zdl in linux?

If you download and unpack one of the Linux downloads from the link I provided (x64 or x86 depending on whether you're running 64-bit or 32-bit), you should be able to just run ZDL like any executable, i.e. double-clicking it in your file manager if it supports that, or running ./zdl from the command-line.

 

1 hour ago, lefsiheryboi said:

and also can i get your comands shepardus? Thanks for helping

#!/bin/sh
flatpak run --command=gzdoom org.zdoom.GZDoom "$@"

The "$@" means to include all the arguments passed to the script, so all this script does is run the GZDoom Flatpak with whatever arguments are passed into the script. I save this as a script, make sure it's executable, and then point ZDL to this script as a source port. Then when I use ZDL to run a set of mods with GZDoom selected as the source port, ZDL puts together all the command-line parameters and runs the script (which it's been told is the source port) with those parameters, and the script launches the Flatpak with the same parameters.

Share this post


Link to post
  • 2 months later...
28 minutes ago, lefsiheryboi said:

IM on flatpak btw

You will need to supply more details than ''Open GL does not work help.'' We aren't fortune tellers.

Share this post


Link to post

Sorry for not being specific im not good at linux.( im on a chromebook using flatpak)I tried to open gz doom. I got a pop up saying Unsupported opengl version. at least open gl 3.3 is required to run gzdoom. I dont know how to fix it. Do you guys have any insight. thanks for the help.

Share this post


Link to post
1 hour ago, lefsiheryboi said:

Sorry for not being specific im not good at linux.( im on a chromebook using flatpak)I tried to open gz doom. I got a pop up saying Unsupported opengl version. at least open gl 3.3 is required to run gzdoom. I dont know how to fix it. Do you guys have any insight. thanks for the help.

Maybe the system is a bit old, you should try older versions of LZDoom, like Doomkid said. For linux, you have version 3.88a, have you tried to install this version instead of the flatpak? LZDoom is focused on older hardware, maybe it can run on older versions of OpenGL?

 

Edit:

Post some screenshots, if possible. Can be useful to describe the specs of the system, too.

Edited by SilentD00mer

Share this post


Link to post

Try using OpenGL ES instead, it generally works better than regular OpenGL on older cards. Does it give you the option to change the renderer?

3 hours ago, lefsiheryboi said:

( im on a chromebook using flatpak)

Stupid question, but, that has ChromeOS installed by default right?

Share this post


Link to post
6 hours ago, lefsiheryboi said:

how do i download open gl es?

You don't, your GPU supports it by default.

In GZDoom, under video options, you can switch to the OpenGLES renderer.

Share this post


Link to post
1 hour ago, Redneckerz said:

You don't, your GPU supports it by default.

In GZDoom, under video options, you can switch to the OpenGLES renderer.

That might be a problem if OP can't launch GZDoom in the first place.

 

The relevant config is vid_preferbackend, but IIRC GZDoom is supposed to fall back to whatever it can if the default isn't supported, so if it fails to launch due to the OpenGL version you might just be out of luck.

Share this post


Link to post
10 minutes ago, Shepardus said:

The relevant config is vid_preferbackend

Maybe setting it to 2 will solve the issue, that sets OpenGL ES on my end.

Share this post


Link to post
43 minutes ago, lefsiheryboi said:

how do I do it?

Press the tilde ~ key within GZ and write vid_preferbackend and i believe OpenGL.

43 minutes ago, lefsiheryboi said:

And would it help if i de updated gzdoom?

You may try.

Share this post


Link to post
5 hours ago, lefsiheryboi said:

how do I do it? And would it help if i de updated gzdoom?

From GZDoom itself, do what Red said.

Another thing you could do if GZDoom doesn't launch is:

  1. Navigate to /home/your_user/.var/app/org.zdoom.GZDoom/.config/gzdoom/ 
  2. Open gzdoom.ini with any text editor.
  3. find the variable vid_preferbackend and change the value to 2. That should set the rendering api to OpenGL ES.

 

Share this post


Link to post

hey i just got a new computer and i got gzdoom loaded just fine but zdl keeps giving me a thing saying failed to launch executable. Im no longer using flatpak. Still on a chrome book. What should i do?

Share this post


Link to post

ZDL gives that error when it either doesn't find the executable you've pointed it to, or it doesn't have permission to execute it. Are you sure the path you configured in ZDL is in fact the path to the GZDoom executable?

 

If you're not using Flatpak, what are you using? (Where did you get GZDoom?)

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...