Show "No WAD found" window

Moderator: GZDoom Developers

Post Reply
toxicbits
Posts: 8
Joined: Fri Sep 15, 2017 4:24 pm

Show "No WAD found" window

Post by toxicbits »

I think it would be helpful, if the message [0] stating where to place wads and where to add search paths was shown in a window. Otherwise GZDoom just fails silently when starting it via a .desktop file (e.g. the Freedoom wads).


[0]
cannot find a game IWAD (doom.wad, doom2.wad, heretic.wad, etc.).
Did you install GZDoom properly? You can do either of the following:

1. Place one or more of these wads in ~/.config/gzdoom/.
2. Edit your ~/.config/gzdoom/gzdoom.ini and add the directories of your
iwads to the list beneath [IWADSearch.Directories]
Last edited by toxicbits on Fri Sep 15, 2017 5:34 pm, edited 1 time in total.
User avatar
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Show "No WAD found" window

Post by Rachael »

There is absolutely no question, in my mind, that the Linux port is in dire need of touch-ups and GUI-prettifying, but we do need someone able and willing to mess around with the GTK interface who can port or recreate some of the Windows dialog boxes over for that.
toxicbits
Posts: 8
Joined: Fri Sep 15, 2017 4:24 pm

Re: Show "No WAD found" window

Post by toxicbits »

I've only used GTK very little, but I can try. I assume, for this case I'd need to add a GTK window here [0], sourrounded by #ifdefs so it only gets compiled on Linux?

[0] https://github.com/coelckers/gzdoom/blo ... tem.h#L115
User avatar
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Show "No WAD found" window

Post by Rachael »

_mental_ or Blzut3 would know much better than I where you need to put that.

I do appreciate that you're willing to do it, though. :) Let's see what they think.
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Show "No WAD found" window

Post by Caligari87 »

Likewise on Linux, GZDoom doesn't seem to show any startup window besides the IWAD selection. The only way to get the console output (including errors in mods) is to run from a terminal. Not a deal-breaker, but it is kind of annoying when I default to pressing "Run" in Slade and ... nothing happens because it failed silently.

8-)
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Show "No WAD found" window

Post by _mental_ »

Fatal error reporting is tightly coupled with startup window but SDL backend doesn't have it.
Some sort of message box can be hacked in by using the same approach as this one.
Gez
 
 
Posts: 17835
Joined: Fri Jul 06, 2007 3:22 pm

Re: Show "No WAD found" window

Post by Gez »

Caligari87 wrote:Likewise on Linux, GZDoom doesn't seem to show any startup window besides the IWAD selection. The only way to get the console output (including errors in mods) is to run from a terminal. Not a deal-breaker, but it is kind of annoying when I default to pressing "Run" in Slade and ... nothing happens because it failed silently.

8-)
Good point. I'll make a note for SLADE to report console output from ports.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Show "No WAD found" window

Post by _mental_ »

Added in 55c6a14.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”