Reallowing the start up log to be viewable during load-up? [4.12+]
Moderator: GZDoom Developers
-
- Posts: 223
- Joined: Wed Dec 27, 2006 8:13 pm
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
- Location: Canton, OH
Reallowing the start up log to be viewable during load-up? [4.12+]
With 4.12.0+ being out now I noticed immediately with the new UI loadup that there's no means to see the log readout during engine loadup, meaning you have to either get an error for it to stop and suddenly show the log, or wait for load up to look through the console (and if something is happening on a TITLEMAP or such that causes things to print to the console, it messes in real time with the ability to read through the console for those possible warning messages you missed on load up until you can start a new game or get to some point where console text isn't printing actively). I preferred the old means to track any warnings in real time load up, and was wondering if there was actually a way to currently re-enable seeing them, or if that can be requested as a feature to add onto the new UI in the near future?
That, and the almost entirely blank screen with just the tiny loading bar... it feels discomfortingly barren all of a sudden, though that's also just a personal feeling on the matter. >.>;
That, and the almost entirely blank screen with just the tiny loading bar... it feels discomfortingly barren all of a sudden, though that's also just a personal feeling on the matter. >.>;
-
- Posts: 13694
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
The previous RTF console was completely removed, and for now there does not exist an option to have the graphical console that appears when a fatal error occurs to appear at startup.
However, you can run gzdoom through conhost.exe and append the -stdout argument to get a console, ex:
As of now only conhost.exe seems to work - terminal alternatives such as Windows Terminal or mintty or pterm will not work.
If you don't want the startup screen you can even add "-nostartup" after the "-stdout".
However, you can run gzdoom through conhost.exe and append the -stdout argument to get a console, ex:
Code: Select all
conhost.exe gzdoom.exe <args> -stdout
If you don't want the startup screen you can even add "-nostartup" after the "-stdout".
Last edited by Rachael on Mon Apr 22, 2024 1:19 am, edited 3 times in total.
-
- Posts: 2041
- Joined: Mon Aug 11, 2003 1:50 pm
- Location: Waveney, United Kingdom
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
Windows XP Lives! and the Devs will fight anyone who says otherwise
Seriously, though, wow I thought it was just a property of the mod or a maybe some weird bug therein when I saw this yesterday.
So why was this done, if I may ask?
And also, what does "RTF" mean, please?
Seriously, though, wow I thought it was just a property of the mod or a maybe some weird bug therein when I saw this yesterday.
So why was this done, if I may ask?
And also, what does "RTF" mean, please?
Last edited by MartinHowe on Mon Apr 22, 2024 1:05 am, edited 1 time in total.
-
- Posts: 13694
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
-
- Posts: 2041
- Joined: Mon Aug 11, 2003 1:50 pm
- Location: Waveney, United Kingdom
-
- Posts: 13694
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
I'd have to ask the person who did it.
-
-
- Posts: 3100
- Joined: Sat May 28, 2016 1:01 pm
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
I removed the startup console specifically to annoy users. It is what I do, after all.
-
- Posts: 246
- Joined: Mon Jan 09, 2023 2:02 am
- Graphics Processor: nVidia (Modern GZDoom)
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
You don't need conhost.Rachael wrote: ↑Mon Apr 22, 2024 12:58 am The previous RTF console was completely removed, and for now there does not exist an option to have the graphical console that appears when a fatal error occurs to appear at startup.
However, you can run gzdoom through conhost.exe and append the -stdout argument to get a console, ex:As of now only conhost.exe seems to work - terminal alternatives such as Windows Terminal or mintty or pterm will not work.Code: Select all
conhost.exe gzdoom.exe <args> -stdout
If you don't want the startup screen you can even add "-nostartup" after the "-stdout".
If you run 'gzdoom -stdout' from any terminal it will output there, and if you run this from the GUI it will open a new console window.
-
- Posts: 2041
- Joined: Mon Aug 11, 2003 1:50 pm
- Location: Waveney, United Kingdom
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
Sadly, the above is one of those cases where typing on a screen loses context; is this a lighthearted joke, an attempt at sarcasm, or something else?
I did ask politely why it was removed, so I hope it's not too much to ask for a serious explanation, if possible; I mean, it is to enable some new functionality further down the line, was it too time-consuming to support, etc?
Also I notice it says widgets and customisable in the intro for this version. So if that's what this is about, I guess it's to enable a new feature at the expense of an old one? I really hope it's not gone for good; I am utterly fed up with programs hiding us from the guts of things, for example chkdsk /v no longer works when checking the C drive, you get this childish baby-talk about scanning and repairing instead.
So please, a bit of context? Thanks.
-
-
- Posts: 3100
- Joined: Sat May 28, 2016 1:01 pm
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
Here's the serious explanation:
I rewrote the win32 startup code in vkdoom to align better with what I personally consider the right way for a game to boot up. Same way as how 99% of all other games have been doing it for the last 20 years: in a single window, showing any loading progress screen there with the same code that drives the rest of the game. The new code replaced the old code and can therefore not be reactivated.
As for why GZDoom now has it? You'd have to ask those that imported it, but if I'm to guess I'd say it was because the new startup dialog code was cross platform, removing a long lasting pain point that the other platforms had their own implementations of the startup dialogs. Now Windows, Linux and macOS all use the same code and any future features added this is shows up everywhere.
I rewrote the win32 startup code in vkdoom to align better with what I personally consider the right way for a game to boot up. Same way as how 99% of all other games have been doing it for the last 20 years: in a single window, showing any loading progress screen there with the same code that drives the rest of the game. The new code replaced the old code and can therefore not be reactivated.
As for why GZDoom now has it? You'd have to ask those that imported it, but if I'm to guess I'd say it was because the new startup dialog code was cross platform, removing a long lasting pain point that the other platforms had their own implementations of the startup dialogs. Now Windows, Linux and macOS all use the same code and any future features added this is shows up everywhere.
-
- Posts: 2041
- Joined: Mon Aug 11, 2003 1:50 pm
- Location: Waveney, United Kingdom
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
Thanks, I can see that now.
So once this widget thing (aka 'HereticLoadingScreenEx') is better understood ... how long before somebody makes a mod with a startup screen that mimics ye olde console look
TBH, I had no idea that the RTF console was not done that way; when the old monochrome console in an OS default terminal window disappeared ages ago, I thought the new coloured text console in the main window was done that way, using the same underlying code as in HUDMessage() or whatever; I'm guessing it was simply overlaid on the main window, which would indeed complicate things.dpJudas wrote: ↑Mon Apr 22, 2024 11:37 am I rewrote the win32 startup code in vkdoom to align better with what I personally consider the right way for a game to boot up. Same way as how 99% of all other games have been doing it for the last 20 years: in a single window, showing any loading progress screen there with the same code that drives the rest of the game. The new code replaced the old code and can therefore not be reactivated.
So once this widget thing (aka 'HereticLoadingScreenEx') is better understood ... how long before somebody makes a mod with a startup screen that mimics ye olde console look
-
-
- Posts: 3100
- Joined: Sat May 28, 2016 1:01 pm
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
Hehe, probably not very long. In fact, I wouldn't be surprised if someone mimicked the DOS version of it.
-
- Posts: 2041
- Joined: Mon Aug 11, 2003 1:50 pm
- Location: Waveney, United Kingdom
Re: Reallowing the start up log to be viewable during load-up? [4.12+]
As I'm completely unfamiliar with this new system, are there any docs yet? Can't find anything on the Wiki. Or is there some code in gzdoom.pk3 that I could look at to see how even the red progress bar is done? Or a list of APIs?