Finishing off the game. EXE files, installation etc?
by Richard O · in Torque Game Engine · 05/20/2005 (5:52 pm) · 2 replies
Just at the end of the game and wondering if someone can help on a few small things:
1. How to create a finished .exe file with my own icon.?
2. Setting up an installer on the finished Game CD-ROM?
3. Exactly what files and folders from the SDK do I need to include on the finished game CD-ROM?
Any help much appreciated.
1. How to create a finished .exe file with my own icon.?
2. Setting up an installer on the finished Game CD-ROM?
3. Exactly what files and folders from the SDK do I need to include on the finished game CD-ROM?
Any help much appreciated.
#2
2. I suggest NSIS, it's the easiest and is free to customize and use.
3. Only the /example folder, and you can put it in any other named folder of your choice. You also should remove all open .cs files that have already been compiled, and remove any editors and extra mods that are not needed, depending on your game.
I also suggest you use a program to compress the exe. I use UPX to compress my executable, and it shrinks considerably.
[EDIT] You migt also want to add the main.cs directly into the source code, as it keeps the game much more secure, or, whatever. :) [/EDIT]
05/20/2005 (6:05 pm)
1. Edit the icon that is in the project directory. You'll need a program that correctly creates .ico files.2. I suggest NSIS, it's the easiest and is free to customize and use.
3. Only the /example folder, and you can put it in any other named folder of your choice. You also should remove all open .cs files that have already been compiled, and remove any editors and extra mods that are not needed, depending on your game.
I also suggest you use a program to compress the exe. I use UPX to compress my executable, and it shrinks considerably.
[EDIT] You migt also want to add the main.cs directly into the source code, as it keeps the game much more secure, or, whatever. :) [/EDIT]
Torque Owner Todd D. Degani
The icon that the engine currently uses is called torque.ico and is located in the /vc7 directory. In the Torque Demo project under the folder Source Files is the resource file called TorqueDemo.rc. Right click it and open it with the resource editor. In the properties of "IDI_ICON1" change the filename to that of your icon, save and build.
2) Setting up the installer depends on the installer. There are quite a few free ones out there, try googling on installers. One that I like is Inno Setup
3) Again this depends on your game, how you setup your directory structure, what assets you have, etc. You can just distribute your dso files and do not need to distribute your source scripts.