Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: DuncanF on March 04, 2007, 02:13:42 am
-
Was just curious which distributions of linux people use who are involved with the SCP. Sorry if this is deemed slightly off topic, last time I tried working with Freespace in linux the distribution I was using at the time was too far out of date to compile.
-
I use Kubuntu (64-bit). The main thing is making sure you have all the libraries that you need...people have gone through the code and updated it in many cases to work with all the various iterations of Linux's GCC, or at least a number of the most common ones.
-
Kubuntu 7.04 Feisty Fawn.
I'd recommend a Debian based distro, X/K/Ubuntu, MEPIS, Kanotix, ect... as they have the easiest packaging system to use I've seen... just get the packages configure says you need and you should be fine... I don't remember what all you need, but there's seven or so you'll need.
-
Well decided to go with 32 bit Kubuntu 6.10, as I was messing around with 64bit but I don't need it and the performance increase isn't worth some of the hastle for me at the moment. What is the most stable build for linux at the moment as I see that 3.6.9 isn't out yet.
-
Better to build it yourself.
apt-get install cvs
apt-get install automake1.8
apt-get install libsdl1.2-dev
apt-get install g++
apt-get install libtheora-dev
apt-get install libvorbis-dev
cvs -d:pserver:[email protected]:/home/fs2source/cvsroot login
cvs -d:pserver:[email protected]:/home/fs2source/cvsroot co -r fs2_open_3_6_9 fs2_open
cd fs2_open
./autogen.sh
make
Grab the binary => /code/fs2_open_r
-
I successfully compiled it on Gentoo without any problems.
-
I successfully compiled it on Gentoo without any problems.
Same here. And also, with Gentoo, you don't need to bother with these development packages. It should be noted thou, Gentoo is a niche distro, catering to control freaks. I wouldn't advice anyone new to Linux to start with Gentoo.
EDIT: Forgot to mention the fs2_open on Linux (http://www.hard-light.net/wiki/index.php/Fs2_open_on_Linux) wiki article.
-
Using Gentoo 64 bit too, works like a charm.
I remember playing Freespace on a 200Mhz MMX Pentium many years back and I am back playing it since I knew it works in Linux :)
-
Well it compiled fine, however when I put the binary in the freespace directory it just flashes to a black screen then closes.
-
Well it compiled fine, however when I put the binary in the freespace directory it just flashes to a black screen then closes.
What did it write to console?
-
I got it working, I was being silly and trying to launch it through the GUI, works fine through terminal.
-
I got it working, I was being silly and trying to launch it through the GUI, works fine through terminal.
It's easier to have a litte bash script that deals with all the settings and whatever env variables you might want.
#!/bin/bash
CMDLINE="-bla bla bla"
./fs2_open_r ${CMDLINE}
-
thanks everyone, got everything working except that my game isn't generating an ini file even f I launch it as root.
-
You mean it didn't create the ~/.fs2_open folder?
-
thanks everyone, got everything working except that my game isn't generating an ini file even f I launch it as root.
If you launch the game as root, which you should never ever do, it should create a /root/.fs2_open/fs2_open.ini ( and some other stuff in there ). As a normal user, it's /home/you/.fs2_open.
-
all good Ubuntu Dapper 6.10
-
Had to mess with a couple permissions but now it's working perfectly, thanks for all the help.