Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: CountOfFive on April 04, 2010, 08:36:13 pm

Title: Linux stand-alone automated server setup?
Post by: CountOfFive on April 04, 2010, 08:36:13 pm
Howdy folks,

Been looking around for some info on running SCP as a stand alone server on an extra Linux box I have down in Toronto.
Have had no luck.

Anyone doing this?

If not, anyone like to work with me to make a .deb package for an easy install and config of such a beast?

Later...
Title: Re: Linux stand-alone automated server setup?
Post by: chief1983 on April 04, 2010, 10:25:09 pm
Running a standalone still requires the game data.  Once you have the game installed and running, you can run a standalone.  Unfortunately, it doesn't run native on Linux (yet).
Title: Re: Linux stand-alone automated server setup?
Post by: CountOfFive on April 04, 2010, 11:30:15 pm
Unfortunately, it doesn't run native on Linux (yet).
That is too bad. I suppose I could do the wine thing.

I wonder if it will run headless.
Title: Re: Linux stand-alone automated server setup?
Post by: karajorma on April 04, 2010, 11:41:10 pm
I believe that a port of the standalone to Linux has already been done. I've just never seen the code for it.
Title: Re: Linux stand-alone automated server setup?
Post by: portej05 on April 05, 2010, 12:15:36 am
Spicious did a port of the standalone to wxWidgets.
Not sure if the patch is still floating around, or whether it still compiles - I had problems with the patch when I first tried!
Title: Re: Linux stand-alone automated server setup?
Post by: chief1983 on April 05, 2010, 12:30:02 am
Yeah some people said the code definitely needed some work, so it was never committed.
Title: Re: Linux stand-alone automated server setup?
Post by: Spicious on April 05, 2010, 07:11:44 am
Why don't people tell me these things?
Title: Re: Linux stand-alone automated server setup?
Post by: chief1983 on April 05, 2010, 09:25:14 am
Beats me.  The people who had issues should have mentioned those issues in the thread where it was posted.  Especially since the forums are the supposed to be the primary venue for those sorts of things.
Title: Re: Linux stand-alone automated server setup?
Post by: CountOfFive on April 05, 2010, 11:54:05 am
Well Spicious, wanna give it another go?

I can use my machine for devel and testing of a headless standalone server, and you can wrap it in a wxWidgets front end for the desktop folks? Bonus with wx is it can cross-compile so the windows and mac folks get some lovin' too.

C'mon...ya know you wanna!
Title: Re: Linux stand-alone automated server setup?
Post by: chief1983 on April 05, 2010, 12:15:04 pm
The way it's currently set up, it can't be done headless.  Where was that thread again anyway?

Edit: nm found it (http://www.hard-light.net/forums/index.php?topic=64174.0).  Too bad the diffs were deleted.  Don't think I know where I saved them right now.
Title: Re: Linux stand-alone automated server setup?
Post by: Spicious on April 06, 2010, 06:10:58 am
Try this (http://www.cse.unsw.edu.au/~samm/standalone.7z).