Game Development Community

TGB 1.7.3 has different folder structure, won't work

by Zachary Stauber · in Torsion · 06/01/2008 (11:21 pm) · 3 replies

In the old TGB, it used to have the executable TGB.exe under games, along with the common directory, the opengl DLL's, and cleandso.bat, and a few other things.

Now it is in a separate TGB directory parallel to games, and the -games option doesn't work, so Torsion doesn't seem to know how to do anything except start the game builder interface. Does anyone know how what is the best way to trick Torsion into loading up your particular mod without having to compile a new executable for it every time you start the mod?

#1
06/19/2008 (6:47 pm)
Im a lil confused, since i've been using torsion since teh 1.1.3 days of TGB, and while back then, you needed to explicitly especify the mod directory, in the latest releases of TGB (1.5 and onwards), all you have to do is locate teh mod directory from the very beggining, and torsion will work from there... its much easier than b4.

i mean, now all you hve to do is create a new project, and select the mod directory, and torsion will do the rest... and you dont have to compile a new TGB version... just put the game exe in the mod directory and tell torsion to look for that EXE and thats about it-
#2
06/25/2008 (10:57 pm)
Well, I put an exe in my mod directory, but it is a different size than the TorqueGameBuilder.exe that comes precompiled with the TGB install, and from the exe it put in a different game's mod directory when I built that. Does that mean it is specific to the build and I have to recompile it every time I make a major change? Or does it just change which mod the main exe is pointing to, rename it .exe and copy it in there?
#3
06/27/2008 (10:07 pm)
Well... you dont really need to recompile anything unless you do some code changes.
there are 2 different TGB exe's in the TGB folder... one is the one that actually launches the TGB Editor, and the other is the one than launches your custom game. you just need to put the latter in your mod folder, and rename it the way you want.

one easy way of doin this, its creating a new project with whatever name you want from TGB Editor, and when asked, say yes to the "copy game executable to mod folder" or somethin like that...

when you're done with that, you just need to initialize torsion and do what i told you b4, and it should work with no problems at all.