Running Multiple Torque's
by Matt Huston · in Torque Game Engine · 01/10/2007 (2:49 am) · 6 replies
I have created an application using Torque that should be able to run together with a seperate TGE 1.5 Starter.FPS. Much like how ShowTools Pro, even though it is a Torque Application can be run at the same time as TGE. However when I attempt to do this currently, I still get "Copy of Torque is already running; exiting" message.
About the author
www.atomicbanzai.com
#2
01/10/2007 (3:20 am)
Nevermind, I see what you mean. Shiny folder :) Appreciate the help Tim.
#3
To get Torque running under multiple instances, you'll have to change some code. The message that comes up is triggered in canvas.cs (common folder) but it's just a message.
Head into gui/core/guiCanvas.c @ line 198.
Remove this part:
01/10/2007 (6:33 am)
Shiny folder? (What?)To get Torque running under multiple instances, you'll have to change some code. The message that comes up is triggered in canvas.cs (common folder) but it's just a message.
Head into gui/core/guiCanvas.c @ line 198.
Remove this part:
#if !defined(TORQUE_DEBUG) && !defined(INTERNAL_RELEASE)
if(!Platform::excludeOtherInstances("TorqueTest"))
return false;
#endif
#4
Tim was talking about the gui/shiny/ directory but mentioned it as shiny.cc, that's all.
01/11/2007 (3:17 am)
@StefanTim was talking about the gui/shiny/ directory but mentioned it as shiny.cc, that's all.
#5
You're welcome.
01/11/2007 (3:28 am)
Yes but there is nothing in there that should be edited AFAIK. :)You're welcome.
#6
Probably better to remove them from where you mention Stefan, either way works on my PC.
01/11/2007 (7:35 pm)
Those three lines of code are also in gui/shiny/guiEffectCanvas.cc and removing them from there will allow multiple copies of Torque to run at once. Probably better to remove them from where you mention Stefan, either way works on my PC.
Torque Owner Tim Heldna