Game Development Community

Torque Distributions - Required files

by Fenrir Wolf · in Torque Game Engine · 08/31/2004 (10:33 am) · 5 replies

So, I'm getting ready to start distributing one of my Torque games -- But I have a question. What exactly do I need to include, outside of the game directory?

For example, are there any external DLL references that Torque uses? The only one I can think of is OpenAL. (Does the user need to install OpenAL on their system first?)

Just looking for some pointers on making a CD that won't pop up a "Unable to find BLAH.DLL" when a user runs it. :)

#1
08/31/2004 (10:57 am)
Per default, I think the DLL's are in the root of the game.
We released out beta's with the DLL's kept in the game root and it worked fine on many systems.
#2
08/31/2004 (11:29 am)
Stock torque needs only openal.dll, and yes Im pretty sure it also needs to be installed. If you have a good installer prog, it can probably check if its already installed, and if not, install it. Something like all those games that check for directx.
You may have ogg/vorbis in your engine as well, depending on if you played with RW or just starter.fps. If you are using that, its got 1-2 dlls itself.
Other than those, you need only game.exe, main.cs, common/, and yourgamedir/.
#3
09/04/2004 (12:12 pm)
You might check to see what the Torque Demo installer does.
#4
09/06/2004 (5:47 pm)
Thanks, I actually wondered because I have copied some test games over to friend's machines and they worked fine -- I only realized later that the OpenAL DLL was sitting in the game's root directory and that explained that.

Basically, you need just the EXE, the .DLLs built by the engine, the OpenAL DLL and then, of course, your "common" and "gamedir" game directories. (Though if you restructured the way you do things, the common directory could be factored out.)

More info:

You don't need the .cs or .gui files, as the compiled .DSO files will work just fine. You WILL however need main.cs in your Torque root directory, uncompiled. You can also include the gamedir/client/scripts/client/config.cs file, though it seems Torque will re-generate it automagically from default.bind.dso if it exists.
#5
09/07/2004 (8:31 am)
Don't forget that because of endianness, dso's from pc and mac are not compatible, so you should have both sets included if you will not be distributing the cs/gui files themselves.