Game Development Community

T2D 1.1 alpha Linux HOWTO

by David .NfoCipher. Bunt · in Torque Game Builder · 11/25/2005 (4:47 am) · 7 replies

Yep, it works and here's how you do it:
TDN still hates me, but I did manage to upload a zip file containing everything you need.
T2DLinux11a.zip
Download the zip and place it in the ALPHA_T2D-SDK_1-1 directory
unzip T2DLinux11a.zip
make -f mk/configure.mk OS=LINUX COMPILER=GCC3 BUILD=RELEASE
make

This should produce a T2D.bin file in the example directory.
Launch your new T2D.bin by running runT2D.sh
This is the best method as it makes openal work correctly.

Also remember that saving files (ie: map editor) will save under /home/WhateverYourUserNameIs/.garagegames/torqueDemo/T2D/client/maps

I'm going to sleep now..

#1
11/25/2005 (5:18 am)
Thanks David!

Had a look at your list of stuff to change and one thing I noticed is that there alot of errors that reference the "sceneedit" code. This is source that got left in the alpha accidentally. This isn't the scene-editor to come, it's just old prototype code that doesn't have any script-support so you can quite happily remove the whole directory and remove it from the build which should make things much easier.

The only other change you'll need to do is remove the few references to it in "guiInspector.cc"; remove the entries surrounded by "#ifdef TORQUE_2D / #endif".

Thanks again!

- Melv.
#2
11/25/2005 (5:30 am)
Not to sound like a broken record, but thanks David!

I started compiling this last night & had managed to fix a few errors, but it was getting late & there was one error which stumped me... looks like you have that corrected & much more!
#3
11/26/2005 (5:07 am)
I've changed my HOWTO with sceneedit out of the picture. I'm assuming engine/T2D/activeTiles can be removed too?
#4
11/26/2005 (10:19 am)
You can remove them no problem if you don't want to use them. They are part of the official build though so if you've found something odd then please let me know.

Thanks David!

- Melv.
#5
11/26/2005 (2:03 pm)
T2D/activeTiles/t2dGunTurret.cc:98: error: 'class t2dImageMapDatablock' has no member named 'getImageMapRegionCount
T2D/activeTiles/t2dGunTurret.cc:7:27: error: ../t2dGlobals.h: No such file or directory (which of course doesn't exist)

T2D/activeTiles/t2dTestTile.cc:7:27: error: ../t2dGlobals.h: No such file or directory
T2D/activeTiles/t2dTestTile.cc:161: error: 'fileStream' was not declared in this scope


Pretty much currently broke. I can take a closer look at it later tonight.
#6
11/27/2005 (1:42 am)
David,

For some reason, those are the old ones. I'll check that out today.

- Melv.
#7
12/07/2005 (11:18 pm)
Howto updated with the save/load dialog problem fixed..