Game Development Community

For Torsion: Copy Game exe to Game Path AFTER project has been created?

by Richard Skala · in Torsion · 12/02/2009 (5:19 am) · 3 replies

How do you set TGB to "Copy Game Executable to Game Path" AFTER the project has already been created in TGB with that option unchecked? That option is only there when first creating a TGB project.

I'm trying to get Torsion to run with various examples (such as BehaviorPlayground), but there is no executable to set for Torsion's Configuration Settings.

I've posted this question previously (http://www.garagegames.com/community/forums/viewthread/106675), but no one answered (and it was probably the wrong place for it).

Thanks.

#1
12/02/2009 (2:59 pm)
You can control which example it runs from a single executable by settings the main.cs path ( in the Torsion project ) to the one that is appropriate.
#2
12/02/2009 (5:35 pm)
Thanks for your reply. In the Torsion project, there are two main.cs files -- one in the project folder, and one in the "game" folder. Which one would I change, and how do I change that?
#3
12/02/2009 (5:49 pm)
Actually, I figured it out -- not sure if this is the proper way to do it, but it worked, and below are the steps I took to do it. If someone knows a better way, please post it here to help everyone.

Go to your Torque install folder => \tgb\gameData\T2DProject\

and copy the following files from there into your game project directory:

glu2d3d.dll
OpenAL32.dll
opengl2d3d.dll
TGBGame.exe (This is the file to use as the executable in Torsion)
unicows.dll