Game Development Community

Linuxy T2D should be working

by Gary "ChunkyKs" Briggs · in Torque Game Builder · 03/01/2005 (10:38 am) · 7 replies

Well, after a brief bit of makefile molestation:
icculus.org/~chunky/stuff/t2d.targets.torque.mk.gz

Replace your targets.torque.mk with that, and it'll build fine in the normal fashion [make -f mk/configure.mk...], except you also need to remove the two terrain includes from platformX86UNIX/x86UNIXAsmBlit.cc


Actually, sadly, all I know is that it builds and executes. Whether or not anything appears on-screen, you'll have to wait until I get home to find out; my work box will hard-lock if I try to start a GL application on it, so I just used the display on my home machine.

Also, I used crossover to get the source out of the windows installer. It's hacky and disgusting, but at least I have the T2D source...

Gary (-;

#1
03/01/2005 (11:35 am)
I was re-building the targets.torque.mk last night to do a MinGW compile... I'll have to look at yours and see how close I got (note: I never got a good compile because I was too damn tired and went to bed ;p )
#2
03/01/2005 (11:47 am)
Just as an aside, it's pretty easy to make the necessary changes to targets.torque.mk. If you're using vi, you may find this line useful:

:r!find -name \*.cc | sort

Mostly I used that, with liberal spatterings of
:.,.+s/$/ \\/
and
:.,.+s/^//


And you know what scares me? I made that up off the top of my head, it means something, and it works. I love vi.

Gary (-;
#3
03/01/2005 (2:28 pm)
D'oh I knew I should have checked the forums first. I also just got T2D compiled and running under Linux. I had to also comment out dedicatedStub though. Couldn't get it to build for anything. Anyway, now to diff your targets and my targets to see how close I got. (And yes, vi rocks.)

-Joe
#4
03/01/2005 (2:56 pm)
Complete thread hijack, but...

@Gary: I've noticed a couple of times your "icculus" domain name. You wouldn't be by any chance related to "The Mud Connector" would you? The lead for that was a guy who's handles was Icculus...
#5
03/01/2005 (3:09 pm)
Ha. Actually, no. the Icculus in my email address is Ryan "Icculus" Gordon, aka, "that linux and OSX game porting guy". His recent and current high-profile ports include UT2k{3,4}, Serious Sam, MOHAA, CoD, Postal2, America's Army, and some others.

Mostly he gives accounts on his server to people who contribute to open-source, primarily linux, gaming.

Among other things, he also hosts loki setup, that thing that lots of linux games use as their installer.

Gary (-;
#6
03/01/2005 (5:26 pm)
More importantly, WOOOOOO

The linux download link is up

Gary (-;
#7
03/01/2005 (5:36 pm)
Nfocipher did this already too and posted the new targets file in the bug forum. And we *just* uploaded the official Linux version to the site. :)

Sorry for the small delay, Linux dudes. We're rockin now. :)