Game Development Community

Running Multiple Torque's

by Matt Huston · in Torque Game Engine · 01/10/2007 (2:49 am) · 8 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.

Thread is locked
#1
01/10/2007 (3:06 am)
There's some code in shiny.cc you'll have to comment out, as well as canvas.cs. That's from memory, I'm not at my home PC atm. Just do a search for "Copy of Torque is already running" in your scripts / code.
#2
01/10/2007 (3:20 am)
Nevermind, I see what you mean. Shiny folder :) Appreciate the help Tim.
#3
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
01/11/2007 (3:17 am)
@Stefan

Tim was talking about the gui/shiny/ directory but mentioned it as shiny.cc, that's all.
#5
01/11/2007 (3:28 am)
Yes but there is nothing in there that should be edited AFAIK. :)

You're welcome.
#6
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.
#7
11/15/2015 (3:06 am)
I have the same problem in the game Civil Disturbance and cannot find any directory named as gui/shiny/. Please tell me what to do to run the game. If I cannot run the game my money will be wasted!!!!!!!
#8
11/16/2015 (4:32 pm)
Please don't necro old thread here. This is a dev site. If you are having an issue with a game, please contact that developer.