Game Development Community

Compiling 1.5.

by Braveheart · in Torque Game Engine · 01/08/2008 (1:46 pm) · 9 replies

I have been doing a tutorial for compiling TGE in Visual Studios C++ 2005, I have Visual Studios C++ 2008 Express Edition, it tries to "convert" the "Torque SDK.sln" I load in from "\VS2005\Torque SDK.sln " should I just allow it to convert it?

There are a few things I need help understanding about compiling:

1. The example folder, should I create another folder and rename it to my game? As I don't want to have all the starter.fps, starter.race etc in my game files.

2. When compiling the engine, what happens? Where do my game files go? What .exe do I use?

Don't think of this as a lazy way to get information, I have searched and have done tutorials but I have not found answers to the above questions.


Thanks,
Robbie. :)

#1
01/08/2008 (1:51 pm)
You should go through the Getting Started Tutorial. It is located in the start menu. It will take you through the folders and such. You want to keep the examples folder and create your new folder underneath that one.

There should also be a Torque exe in the examples folder. The compiled solution will place it here, too.

I haven't used 2008 express yet, so I'm not sure if it will convert correctly.
#2
01/08/2008 (2:26 pm)
I have done! But I will go through it again. So the tourqeDemo.exe is the ONE .exe you use for all games you create? Or is another one created when you compile?

With Torsion it asks me to specify my game's .exe, is that the torqueDemo.exe? I thought I had to compile TGE first to get MY game's exe.

Has anyone else used 2008? Should I allow it to convert the solution or is it worth uninstalling it and getting a copy of 2005?
#3
01/08/2008 (2:31 pm)
This is the one you use for any game.
#4
01/08/2008 (2:49 pm)
So when distributing you just copy the .exe? Can that .exe be anywhere? Or does it have to be in the examples folder?
#5
01/08/2008 (2:56 pm)
The examples folder is the base. You copy your exe, dll's, your folder, and the common folder to whereever you are distributing it. Think of "examples" as C:\ if you were using the root of your hard drive.
#6
01/08/2008 (3:06 pm)
So when distributing you just copy the .exe? Can that .exe be anywhere? Or does it have to be in the examples folder?
#7
01/09/2008 (6:55 am)
It is the exe, the common, and the folder for your mod.

For example:
if you make your game in \examples\coolgame

And you just want it to be c:\coolgame, you would copy the files from examples (the exe and dll's) into coolgame. Then copy the \common\ and \coolgame] folders.
#8
01/09/2008 (10:25 am)
Alright. So what about the main.cs that's needed to run the .exe isn't it? Or would you make a coolgame folder and put the .exe plus .dll's (plus the server .exe?) then put the common and the coolgame folder from examples into it?

Do you just leave the all scripts, models, textures etc accessible by anyone...?
#9
01/09/2008 (1:04 pm)
You can zip them and compile the engine with the encrypted zip resource to make it harder for them to get at them.