Hate the console window? well get rid of it!!
by Ron Yacketta · in Torque Game Engine · 04/09/2002 (4:00 pm) · 13 replies
I got to thinking this evening while I was mucking with scripts and my TGE Scripting Document, why in the heck do we have to load that useless consoleAPP window? Yah know, the one that first spawns before the game does?
Well I started to dig, and dig and dig. Finally I got ticked off and went to the MSDN and found this little trick :)
project->settings
Select the "Torque Demo"
click on the "Link Tab"
Under project options find
/subsystem:console
and change it to
/subsystem:windows
then recompile and you will be rid of that useless consoleAPP window!
This also seems to help my laptop out as well, with /subsystem:console my laptop was lagged to hell
with /subsystem:windows everything was usable and the lag was haredly noticable.
Regards,
Ron
Well I started to dig, and dig and dig. Finally I got ticked off and went to the MSDN and found this little trick :)
project->settings
Select the "Torque Demo"
click on the "Link Tab"
Under project options find
/subsystem:console
and change it to
/subsystem:windows
then recompile and you will be rid of that useless consoleAPP window!
This also seems to help my laptop out as well, with /subsystem:console my laptop was lagged to hell
with /subsystem:windows everything was usable and the lag was haredly noticable.
Regards,
Ron
#2
www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=2617
and saved yourself the sore back you got from all that digging :-)
Are those things ribs ? :-)
04/10/2002 (10:42 pm)
If you had done a forum search on "console" you would have found this thread:www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=2617
and saved yourself the sore back you got from all that digging :-)
#3
-Tim aka Spock
04/11/2002 (12:34 am)
Also that consoleapp window is very useful if you run torque with -console as you can watch the console in it without having to hit ~ and bring the one in torque up.-Tim aka Spock
#4
I did not search the forums/resources at GG, hell I never even thought of doing that *snicker* I though "I" was the first to walk that path. How foolish I look now ;)
04/11/2002 (6:14 am)
Yeah yeah yeah, so sue me. I did not search the forums/resources at GG, hell I never even thought of doing that *snicker* I though "I" was the first to walk that path. How foolish I look now ;)
#5
I still get the start-up console window (without any text). Is there a way to not have the console window show at all?
06/20/2002 (10:33 pm)
When using the methods described in the link above: Quote:
in Project->Settings and go to the Link tab. In the Project Options text box you will see the various linker switches, etc. Look for /subsystem:dos and change it to /subsystem:windows. If the /subsystem switch isn't there, then add it
I still get the start-up console window (without any text). Is there a way to not have the console window show at all?
#6
-Tim aka Spock
06/21/2002 (12:49 am)
Check and make sure you made those changes on the correct project and if it was on the debug or release build. Sounds like what is wrong.-Tim aka Spock
#7
06/21/2002 (3:40 pm)
I did it for both release and debug.
#8
-Tim aka Spock
06/22/2002 (2:54 am)
your sure you had the torquedemo highlighted in the project options?-Tim aka Spock
#9
Here are TorqueDemo Release settings under Link|Project Options (with TorqueDemo highlighted at left):
COMCTL32.LIB COMDLG32.LIB USER32.LIB ADVAPI32.LIB GDI32.LIB WINMM.LIB WSOCK32.LIB ljpeg.lib lpng.lib lungif.lib zlib.lib vfw32.lib /nologo /subsystem:windows /incremental:yes
/pdb:"../engine/out.VC6.RELEASE/torqueDemo.pdb"
/machine:I386 /out:"../example/torqueDemo.exe"
/libpath:"../lib/out.VC6.RELEASE"
06/22/2002 (8:32 am)
ahhh, no, ok, did that but still get initial blank console windowHere are TorqueDemo Release settings under Link|Project Options (with TorqueDemo highlighted at left):
COMCTL32.LIB COMDLG32.LIB USER32.LIB ADVAPI32.LIB GDI32.LIB WINMM.LIB WSOCK32.LIB ljpeg.lib lpng.lib lungif.lib zlib.lib vfw32.lib /nologo /subsystem:windows /incremental:yes
/pdb:"../engine/out.VC6.RELEASE/torqueDemo.pdb"
/machine:I386 /out:"../example/torqueDemo.exe"
/libpath:"../lib/out.VC6.RELEASE"
#10
the full clean is is the clean in the window where you have to check mark the type of build you want (either debug or release)
06/22/2002 (9:12 am)
hey, it worked fine for me, i just had todo a full clean then build to get it to take (dont know if that was mentioned or not)the full clean is is the clean in the window where you have to check mark the type of build you want (either debug or release)
#11
(just stuf that could be happening)
06/22/2002 (9:17 am)
also at first i had a problem with open recent work spaces , i thought it was going to my current project but it went to a project that i had renamed for some reason so i went to open project and led it to the current project and made the changes there .(just stuf that could be happening)
#12
06/22/2002 (2:14 pm)
Thanks ACE, Tim --that got it--needed the CLEAN build.
#13
06/28/2002 (10:44 am)
...and you can still turn on the console by simply adding -console to your .exe-shortcut ... so there is no reason not to compile it without the default console!
Torque Owner Jane Austen