Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: kasperl on October 04, 2003, 04:47:58 am

Title: linux?
Post by: kasperl on October 04, 2003, 04:47:58 am
what is the exact status on the linux port?

i tried a search, but i didn't get anything recent enough to tell me how far we are.

i would like to know because i hope linux FSO would be easier on the sysreqs then windows FSO. and because i am thinking about a linux FSO boot CD,like knoppix. that way you can even play FSO in school!.
Title: linux?
Post by: phreak on October 04, 2003, 09:20:30 am
you may want to talk to penguin, he's incharge of it.
Title: linux?
Post by: bKtHeG on October 05, 2003, 04:38:16 am
I've worked on the linux port a few weeks ago and most things should work (except networking) and a some sounds.
Currently I don't have enought time to do any additional stuff (the only thing I did since my last post was figure out how difficult it would be to port Fred2 to wxWindows - a mfc like plattform independent api).
Title: linux?
Post by: kasperl on October 05, 2003, 06:11:05 am
were can i dl the linux port?

and how hard would it be for anyone to implement networking?
Title: linux?
Post by: bKtHeG on October 05, 2003, 07:04:09 am
You should use this (http://www.hard-light.net/forums/index.php/topic,17364.0.html) howto.

Networking: It should be possible to port this from icculus-fs2 within 2 or 3 days, but i don't know exactly how far scp and icculus differ.
Title: linux?
Post by: kasperl on October 05, 2003, 07:05:06 am
mmm, networking would be very cool.

now, how do i make a knoppix disk with this?

edit:

also, it says i have to compile it in the thread. i only have knoppix right now, what do i do?
Title: linux?
Post by: bKtHeG on October 05, 2003, 08:21:11 am
I don't know how you can make a knoppix disk with this because I don't use knoppix (I'm using gentoo linux).

In order to compile it you need the binutils and gcc (type "gcc --version" in the console to check if you have gcc installed - If you don't have gcc on your computer check the knoppix-forums on how to install gcc and the binutils)
Now extract the sources to a directory on your hdd, switch to that directory (in the console) and compile/build everything (follow the steps in the howto). After that copy the executeable into your freespace2 directory.
Title: linux?
Post by: phreak on October 05, 2003, 11:13:39 am
Quote
Originally posted by bKtHeG
You should use this (http://www.hard-light.net/forums/index.php/topic,17364.0.html) howto.

Networking: It should be possible to port this from icculus-fs2 within 2 or 3 days, but i don't know exactly how far scp and icculus differ.


icculus is vanilla FS2 without sound (i think) or networking. with graphics thrown at SDL
Title: linux?
Post by: bKtHeG on October 05, 2003, 11:21:46 am
icculus supports both sound and networking (most of the soundcode for the linux version of scp is from icculus) but it is only vanilla FS2
Title: linux?
Post by: phreak on October 05, 2003, 11:33:22 am
ah
Title: linux?
Post by: kasperl on October 05, 2003, 02:31:45 pm
ok, i just tried this, and you can;t install it as long as you boot from linux CD.

so i'll try it again when i've got linux on my HD, in 3 weeks or something.
Title: linux?
Post by: Kazan on October 05, 2003, 11:35:49 pm
since this is a linux thread: heads up penguin, i haven't checked functionality of the TCP_Socket and UDP_Socket code on unix, I have put some code in there, but i have not completed it... some things i haven't checked on and may have #ifdefs in there that are not required (code same on windows and linux... select() comes to mind)