ZDoom / gzdoom

GZDoom is a feature centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities
http://zdoom.org
GNU General Public License v3.0
2.32k stars 526 forks source link

[Feature] Make launcher optional again #2597

Open shaohme opened 3 weeks ago

shaohme commented 3 weeks ago

GZDoom version

4.12.2

Which game are you running with GZDoom?

Doom 2

What Operating System are you using?

Linux x86_64

If Other OS, please describe

Void Linux

Relevant hardware info

No response

Is your feature request related to a problem? Please describe.

The IWAD selection window that appears in 4.12 is annoying when running gzdoom from a terminal. Its kinda broken on my system but reacts to Enter key which starts gzdoom. My system could very well be the reason for it.

screenshot-1718045688

Describe the solution you'd like

In older versions, like 4.11, the GTK GUI could be disabled with -DNO_GTK=ON cmake option. We shoud re-introduce this again to keep gzdoom cli simple again.

Describe alternatives you've considered

No response

Add any other context or screenshots about the feature request here.

No response

madame-rachelle commented 3 weeks ago

Try running with +set queryiwad false in the command line, I am not sure if it takes effect immediately or on next startup, but you only have to do it once. But the command line interface for selecting an iwad is likely not coming back.

It's a bit curious though that you got a completely blank window - that's a bit more concerning to me than the lack of ability to run it as a CLI app. It's all SDL driven completely, now.

shaohme commented 3 weeks ago

Try running with +set queryiwad false in the command line, I am not sure if it takes effect immediately or on next startup, but you only have to do it once. But the command line interface for selecting an iwad is likely not coming back.

It's a bit curious though that you got a completely blank window - that's a bit more concerning to me than the lack of ability to run it as a CLI app. It's all SDL driven completely, now.

See attached video. https://github.com/ZDoom/gzdoom/assets/21690272/86e31e20-2511-47a3-8246-1a449cf6409e I run gzdoom, wait for window to spawn. I trigger Sway to turn the tiled window into a floating one. Resize it. Then click somewhere on it, at which point the graphics is rendered.