I used to add "--no-console" to completely hide scummVM shell window on Windows 10+...
I've upgraded to:
ScummVM 2.6.1 (Oct 17 2022 10:09:38)
Features compiled in: Vorbis FLAC MP3 RGB zLib MPEG2 FluidSynth Theora AAC A/52 FreeType2 FriBiDi JPEG PNG GIF taskbar TTS cloud (servers, local) TinyGL OpenGL (with shaders)
and see the --no-console doesn't work as expected anymore: it still opens a console window at launch, but is empty without output.
Is this an oversight?
--no-console not working anymore?
Moderator: ScummVM Team
- rootfather
- ScummVM Lead
- Posts: 182
- Joined: Tue Mar 31, 2015 11:59 am
- Location: Germany
- Contact:
Re: --no-console not working anymore?
I just checked with the upcoming ScummVM 2.7.0.
When I use the --no-console option, the console host window flashes for a brief moment and then closes. However, I am still on the "old" console host because I don't like the new Windows Terminal, so behavior might be different there.
When I use the --no-console option, the console host window flashes for a brief moment and then closes. However, I am still on the "old" console host because I don't like the new Windows Terminal, so behavior might be different there.
Re: --no-console not working anymore?
Installed new 2.7.0 but still the same: I run it with this INI file:
https://paste.sh/kHIGnoR1#Z1t50JYk06iC54_iT8M7vfgr
It opens in fullscreen, and when I quit I see for a brief moment its prompt/shell/terminal window closing on the desktop...
https://paste.sh/kHIGnoR1#Z1t50JYk06iC54_iT8M7vfgr
It opens in fullscreen, and when I quit I see for a brief moment its prompt/shell/terminal window closing on the desktop...
Last edited by hexaae on Sun Feb 26, 2023 9:24 pm, edited 1 time in total.
- rootfather
- ScummVM Lead
- Posts: 182
- Joined: Tue Mar 31, 2015 11:59 am
- Location: Germany
- Contact:
Re: --no-console not working anymore?
Do you use the "old" console host or the new Windows Terminal one? For Windows Terminal, indeed it doesn't seem to work for me anymore.
Re: --no-console not working anymore?
I'm on Win11 now and yes, it runs in the new terminal (configured for old MSDOS Prompt at default, not PowerShell...).
- rootfather
- ScummVM Lead
- Posts: 182
- Joined: Tue Mar 31, 2015 11:59 am
- Location: Germany
- Contact:
Re: --no-console not working anymore?
Ah, yes, then MIcrosoft did change how the console is handled in general.
This is some sort of recurring theme - the console handling tends to break every few Windows releases. It is not entirely uncommon that this feature breaks, but we'll have to investigate - this issue is always pretty labor intensive to deal with.
This is some sort of recurring theme - the console handling tends to break every few Windows releases. It is not entirely uncommon that this feature breaks, but we'll have to investigate - this issue is always pretty labor intensive to deal with.
Re: --no-console not working anymore?
Ouch... Thanks for prompt support!
- rootfather
- ScummVM Lead
- Posts: 182
- Joined: Tue Mar 31, 2015 11:59 am
- Location: Germany
- Contact:
Re: --no-console not working anymore?
The root cause of this issue was a bug in Windows Terminal itself: https://github.com/microsoft/terminal/issues/14416
I just tested with the latest Windows Terminal Preview and this restores the correct behavior.
I just tested with the latest Windows Terminal Preview and this restores the correct behavior.