ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Help and Support > Supressing the console window Goto page 1, 2  Next
Supressing the console window
  Author    Thread Reply to topic
Collector



Joined: 30 Oct 2005
Posts: 537
Supressing the console window 

Is there a way to suppress the console window or at least have it start minimized from starting a game from the command line?

 Reply with quote  
Post Thu Oct 21, 2010 11:57 pm 
 View user's profile Send private message Visit poster's website
KuroShiro



Joined: 15 May 2008
Posts: 453
Location: Miyazaki, Japan
Re: Supressing the console window 

quote:
Originally posted by Collector
Is there a way to suppress the console window or at least have it start minimized from starting a game from the command line?


It's possible to do, yes. I believe to do so you have to build it yourself, and change some settings to Windows in sdl-config. I think that is actually the default, so if you download the SDL runtime and dev stuff from their website (not the pre-compiled libraries on the wiki) and build ScummVM with it, you should get a console-less version.

That is with MinGW, I'm not sure about VS2008+.
 Reply with quote  
Post Fri Oct 22, 2010 2:04 am 
 View user's profile Send private message
Collector



Joined: 30 Oct 2005
Posts: 537
 

I need to be able to do this without a special build of my own. I am a little surprised that this ability is missing. It is just a command line switch in DOSBox. I guess that all I can do is make a feature request, but I would imagine that it would be of so low priority as to never be implemented.

 Reply with quote  
Post Fri Oct 22, 2010 6:45 pm 
 View user's profile Send private message Visit poster's website
md5
ScummVM Developer


Joined: 03 Nov 2005
Posts: 2256
Location: Athens, Greece
 

quote:
Originally posted by Collector
I need to be able to do this without a special build of my own. I am a little surprised that this ability is missing. It is just a command line switch in DOSBox. I guess that all I can do is make a feature request, but I would imagine that it would be of so low priority as to never be implemented.


If someone is interested to do this, and it doesn't break anything else, then it'll be done, so I suggest you file a feature request
 Reply with quote  
Post Sat Oct 23, 2010 12:36 pm 
 View user's profile Send private message
MusicallyInspired



Joined: 02 Mar 2007
Posts: 976
Location: Manitoba, Canada
 

DOSBox outputs the console to a text file instead of a console window with the command line so as not to lose the information should anything valuable come up. I'd suggest adding that to the feature request if you haven't already, Collector.

 Reply with quote  
Post Sat Oct 23, 2010 3:14 pm 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address
Collector



Joined: 30 Oct 2005
Posts: 537
 

MI, I had submitted a request before I saw your suggestion, but I guess that it doesn't matter now. It was very quickly rejected.

 Reply with quote  
Post Sat Oct 23, 2010 11:07 pm 
 View user's profile Send private message Visit poster's website
bobdevis



Joined: 16 Jan 2009
Posts: 563
 

Well, the mandatory command-prompt window (It's Windows so lets call it that) is only kind of semi-useful now.
If a crash or force-quit event happens it disappears. So in effect it shows you why stuff is going A BIT wrong, but not why stuff is going A LOT wrong.

Completely suppressing it by default OR making it persistent after a quit by default would both be better solutions then the current one, I think.

Ofcause, if any other default behaviour then the current one requires a lot of platform specific code, I understand why no-one wants to implement it Wink

 Reply with quote  
Post Sat Oct 23, 2010 11:48 pm 
 View user's profile Send private message
Collector



Joined: 30 Oct 2005
Posts: 537
 

In most cases it is not needed. Of course you want it if you are trying to troubleshoot a game, but for just playing a game that has no issues it just gets in the way. Granted you don't see it if you run a game full screen, but with the size of modern monitors I and many others do not with older games. With DOSBox it is enabled by default, but is easily turned off and has no cross platform problems with it.

 Reply with quote  
Post Sun Oct 24, 2010 12:43 am 
 View user's profile Send private message Visit poster's website
Mataku



Joined: 21 Apr 2009
Posts: 196
 

the buildbot snapshots don't have the console window.

 Reply with quote  
Post Sun Oct 24, 2010 1:19 am 
 View user's profile Send private message
Collector



Joined: 30 Oct 2005
Posts: 537
 

Odd. You'd think that a developmental build would be when you would especially want the information displayed in it.

 Reply with quote  
Post Sun Oct 24, 2010 1:49 am 
 View user's profile Send private message Visit poster's website
KuroShiro



Joined: 15 May 2008
Posts: 453
Location: Miyazaki, Japan
 

quote:
Originally posted by Collector
Odd. You'd think that a developmental build would be when you would especially want the information displayed in it.


It most likely has to do with what I mentioned before, in that the newest default SDL libraries are set up to not have the console window, and the buildbot probably uses those libraries.
 Reply with quote  
Post Sun Oct 24, 2010 1:51 am 
 View user's profile Send private message
Qbix



Joined: 08 Jul 2009
Posts: 9
 

edit: Ah missed the fact it was rejected
nvmd

 Reply with quote  
Post Sun Oct 24, 2010 1:55 pm 
 View user's profile Send private message
md5
ScummVM Developer


Joined: 03 Nov 2005
Posts: 2256
Location: Athens, Greece
 

quote:
Originally posted by Qbix
edit: Ah missed the fact it was rejected
nvmd


Actually, there has been a long discussion concerning this on IRC. Some experimental code has been committed by m_kiewitz, but it's still open to discussion, so it has been reopened
 Reply with quote  
Post Sun Oct 24, 2010 9:32 pm 
 View user's profile Send private message
Collector



Joined: 30 Oct 2005
Posts: 537
 

Not to speak for him, but I imagine that Qbix was going to comment on how DOSBox handles this. Having missed all of the on going discussions I have no idea of what the general thought is currently, but I would imagine that it has more to do with the developmental aspects of what is possible/practical, but from a troubleshooting point, what is the usual procedure is to have the user start ScummVM from the command prompt, rather than from the shortcut, so that the console does not close when the game crashes. From a support point of view, what would be that much different to have the user start ScummVM in a different way to provide the information from the console that is not usually available after a crash. The installer could provide an additional shortcut in the start Menu, such as "ScummVM - Logged.lnk" or "ScummVM - Console.lnk".

Another approach for support could be to have it output to a log, such as the "stdout.txt" file for DOSBox, not only would this information be available, but would always be there. It could be attached to a post so as to provide complete information. It could otherwise be ignored and simply over written by the next ScummVM session.

 Reply with quote  
Post Mon Oct 25, 2010 12:18 am 
 View user's profile Send private message Visit poster's website
Collector



Joined: 30 Oct 2005
Posts: 537
 

quote:
Originally posted by md5
Actually, there has been a long discussion concerning this on IRC. Some experimental code has been committed by m_kiewitz, but it's still open to discussion, so it has been reopened
So I am assuming that it was still rejected after the discussion.
 Reply with quote  
Post Thu Oct 28, 2010 1:04 am 
 View user's profile Send private message Visit poster's website
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page 1, 2  Next


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge