Game Development Community

How to build a "release" version?

by Mikael "soho" · in Torque Game Engine · 10/27/2004 (4:29 pm) · 8 replies

Pardon if this have been answered a million times and the sollution is obvious, but I've been unable to find any info on this. So here is my newbie question:

How do you make a release version of the game you just made?

Like, how do you make the .exe file smaller, how do you prevent the player form tampering with the scriptfiles (.cs), how do you remove the World Editor and other ingame tools to prevent the player modifying the world.

Thanks.

#1
10/27/2004 (4:39 pm)
Make an release by change the configuration in your compiler from Debug to release

You can use UPX to compress the exe and dll to a pretty small file.

Once the .cs files are compiled the produce a .cs.dso file which is abinary version of the scripts. Just delete the .cs file ( except main.cs) and release the .dso version

I would comment out the binds for the world/gui ediitors.
#2
10/27/2004 (5:16 pm)
Search the resources for main.cs and you'll find mention of a way to handle main.cs so you don't have to include the file with your release.
#3
10/28/2004 (9:09 am)
Very good, thank you guys.

Another question, is there any point in removing source from the engine that is not used? Will this make the compiled .exe smaller?
#4
10/28/2004 (9:45 am)
Of course there is a point, just be careful with what you're doing. Removing the lightning.cc file inside /fx will for instance break your game if you want to connect to a server, for instance.

I managed to strip the engine down to only GUI's left and netcode (more or less), but it took a while.
#5
11/08/2004 (10:39 am)
When you compile a "release" version, does this also include the editors?
(I would assume yes, as I have compiled it)

is there a way to make a release that does not include the editors?


additionally I did not see the main.cs notes that was mentioned above.
#6
11/08/2004 (10:44 am)
Just remove the editor source folder from your vc project, I think that will do it
#7
11/08/2004 (4:00 pm)
Or break/remove the editor GUI controls.

I mean, uh... no... you can't... a big monster will eat you if you do... ;)
#8
11/11/2004 (10:11 am)
You cannot compile it if you remove the editor source..

How would one "break" the editor controls?