Standalone Executable in T2D
by Wayland Fong · in Torque Game Builder · 10/14/2009 (1:42 am) · 9 replies
Hi,
I'm trying to create a standalone executable for my game that works without having to reference a bunch of code and asset files. I used the original version of Torque 2D (1.0?), before it was called to Torque Game Builder. Is that even possible? If so, how would I do it? Please help!
-Wayland
I'm trying to create a standalone executable for my game that works without having to reference a bunch of code and asset files. I used the original version of Torque 2D (1.0?), before it was called to Torque Game Builder. Is that even possible? If so, how would I do it? Please help!
-Wayland
#2
There are programs to do this, but I don't really think it's a good idea. Making a good installer and, more importantly, uninstaller, is far better. Use something like InnoSetup and make an uninstall script which removes the data folder your game should create.
You need to reference a bunch of assets one way or another to have it running.
10/14/2009 (1:22 pm)
I think he wants to make the EXE the only file, with all the game assets included.There are programs to do this, but I don't really think it's a good idea. Making a good installer and, more importantly, uninstaller, is far better. Use something like InnoSetup and make an uninstall script which removes the data folder your game should create.
You need to reference a bunch of assets one way or another to have it running.
#3
10/14/2009 (1:25 pm)
So you want just one EXE that players can download and run? No installation and etc right? There are programs that do this but I forget what the names are. Molebox I think was one. It costs $ though.
#4
Either having an installer or a standalone exe could work. Any more suggestions for programs that could do such a thing?
10/14/2009 (1:51 pm)
Hi,Either having an installer or a standalone exe could work. Any more suggestions for programs that could do such a thing?
#5
well, while its handy to have all the assets on one file, it will make take some impact on the RAM available on the machine, so unless your game its small enough, or the machine you intend to run it to, powerful enough, i advice against this.
it works flawlessly with regular applications, but not so good with games.
10/14/2009 (2:18 pm)
ah!... its that so?...well, while its handy to have all the assets on one file, it will make take some impact on the RAM available on the machine, so unless your game its small enough, or the machine you intend to run it to, powerful enough, i advice against this.
it works flawlessly with regular applications, but not so good with games.
#6
http://www.innosetup.com/isinfo.php
10/14/2009 (2:41 pm)
Yeah, molebox is one, BitRock is another but $$$. I think Ronny's recommendation for Inno is the best option.http://www.innosetup.com/isinfo.php
#7
10/14/2009 (2:46 pm)
Yeah if all you want is an installer there are a ton available, many free :) A few good ones I know of: Inno Setup, NSIS, Astrum...
#8
If you're doing your own DRM (or using Software Passport) you should be fine.
10/15/2009 (6:42 pm)
Molebox is really nice (puts all the files into the EXE), but I'd advise against using it if you're looking to distribute through anyone who does their own DRM (most game portals). Molebox and hand-rolled DRM tend to clash in odd ways that nobody likes to figure out.If you're doing your own DRM (or using Software Passport) you should be fine.
#9
10/16/2009 (12:18 am)
Thanks for all the advice, everyone! You've all been very helpful!
Torque Owner Ehrlich