How do I create tge.exe. . .
by Adam · in General Discussion · 05/25/2006 (6:04 pm) · 12 replies
I am modifying the starter fps that came with the Torque engine. I was wondering how I can compile TGE.exe so I can run the program through a command prompt? Or is there a better way?
About the author
#2
05/25/2006 (6:22 pm)
I think you would be better copying the default starter.fps folder and remaining it. then you can use the -yourgame in the command prompt
#3
05/25/2006 (6:34 pm)
To compile TGE you need to own it, then use a compiler such as Visual Studio. If you didn't change the source files and you just changed the script files, the .cs files, all you need to do is delete the .dso files and run the game, it will automatically compile the script files for you.
#4
05/25/2006 (6:44 pm)
You will need to purchase a license to the engine, pick a compiler, and compile the source code.
#5
05/25/2006 (6:45 pm)
I am using the engine that came with 3D Game Programming All in One. Once I get good at using some of the basic features, i plan on purchasing a copy too. Although I think I am getting an updated one from my college next term. Can you briefly tell me what I need to do to compile TGE in Visual Studio.
#6
tdn.garagegames.com/wiki/Torque/vs2k5
Until then, don't worry. Changing script doesn't affect the .exe at all.
05/25/2006 (6:57 pm)
Buying the engine gets you the _source code_. You can get basically get what came with that book anywhere (i.e. download the TGE demo). When you do have the engine, read this:tdn.garagegames.com/wiki/Torque/vs2k5
Until then, don't worry. Changing script doesn't affect the .exe at all.
#7
05/25/2006 (6:58 pm)
In order to compile you need the source files, which does not come with the book.
#8
05/25/2006 (7:01 pm)
Quote:tell me what I need to do to compile TGE in Visual Studio.A license to the engine to get the source code. Then double-click on the solution file and Build All.
#9
05/25/2006 (7:53 pm)
And you don't need to rebuild the exe if all you're doing is modifying starter.fps : the exe you have will compile any modified or new script files.
#10
If I take and make a copy of starter.fps and name it something like newstarter.fps. How do I play this specific game? I don't have a tge.exe in any of my folders. I have a torqueDemo.exe in the example folder and a TorqueShowToolPro.exe.
05/25/2006 (8:38 pm)
I bought the engine a few minutes ago. Now the question I have is this:If I take and make a copy of starter.fps and name it something like newstarter.fps. How do I play this specific game? I don't have a tge.exe in any of my folders. I have a torqueDemo.exe in the example folder and a TorqueShowToolPro.exe.
#11
EDIT:
I didn't realize that was what you were asking at first since you were talking about compiling the engine.
05/25/2006 (8:41 pm)
TorqueDemo.exe is the one you want. You need to change main.cs to point to the game in newstarter.fps.EDIT:
I didn't realize that was what you were asking at first since you were talking about compiling the engine.
#12
05/25/2006 (8:55 pm)
Thanks, It would have taken me forever to figure that out
Torque Owner Adam
How do I create a .exe of my new modified program?