Game Development Community

Command Line Window in Torque EX E

by Kamal Syed · in Torque Game Engine · 03/11/2004 (9:34 am) · 7 replies

I am compiling the win32 flavour of torque, and I've always wondered if the command line window that pops up once you click the executable can be turned off or at least made "hidden". Is there a way to hide it from the user?

#1
03/11/2004 (9:36 am)
I belive it will go away if you make a non DEBUG exe
#2
03/11/2004 (9:39 am)
Need to change /SUBSYSTEM:CONSOLE to /SUBSYSTEM:WINDOWS under properties/link
#3
03/11/2004 (9:41 am)
If your're using vs6 just replace /subsystem:console in the project options of the Link tab on Project, Settings, with /subsystem:windows

EDIT: Damn this two finger typing. You beat me to it, Ron :)
Almost, I see you got typing problems too... heh, heh.
#4
03/11/2004 (9:58 am)
Thanks guys.
#5
03/11/2004 (10:04 am)
I have another question along the same lines: I want to edit the Titlebar text in the game, which by default says "Torque Game Engine". I would like to change that, but have been unsuccessful in finding the culprit file. Any ideas?
#6
03/11/2004 (10:19 am)
@Ron, you got eye trouble too, or are you just messing with me? :)
@Kamal: look in init.cs
#7
08/05/2005 (1:31 pm)
(sorry for cross-posting, wanted to update all relevant threads with this tidbit)

in case anybody out there is running TBE or otherwise compiling under GCC instead of Visual Studio, the equivalent to SUBSYSTEM:WINDOWS is to go to conf.GCC.WIN32.mk (or whatever conf you're using) and change the line that looks like this:

LFLAGS.GENERAL = -m i386pe

to this:

LFLAGS.GENERAL = -m i386pe -mwindows

All power to the free compiler!!!