Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Darkmage on December 18, 2002, 02:22:45 am

Title: LINUX port, please help!
Post by: Darkmage on December 18, 2002, 02:22:45 am
I've managed to compile the linux version from cvs, but have been unable to run the game. At first there was an openal error which I resolved by compilling/installing openal myself, now the error I getting is when I run the game itself.
[root@cpe-freespace2]#./freespace2
WinMain: exceptions shall fall through
STUB: WinMainSub at src/freespace2/freespace.cpp, line 6873, thread 2145
STUB: find_freespace_cd at src/freespace2/freespace.cpp, line 8286, thread 2145
General: Size of bitmap info = 355 KB
General: Size of bitmap extra info = 8 bytes
ERROR: Freespace2/Fred2 cannot be run from a drive root directory!
now, the weird thing is I did not try to run fred 2 or anything, I was purely trying to run freespace 2. can anyone help me? thanks in advance, btw this was the icculus port.
Title: LINUX port, please help!
Post by: Inquisitor on December 18, 2002, 08:22:11 am
That actually looks like the port we started working on, not icculus.org's port.

You might want to get their port directly from their site.
Title: LINUX port, please help!
Post by: Darkmage on December 19, 2002, 12:30:49 am
no it IS the icculus.org port I know that for sure. I cvs grabbed it just like the icculus page said to
Title: LINUX port, please help!
Post by: EdrickV on December 21, 2002, 08:30:19 pm
1. You might want to try running it as a regular user not as root.
2. Where exactly is it installed? From the message, it looks like it's complaining that it's being run from / (Kinda the Linux equivilent to c:\) or it thinks that's where it's being run from.
Title: LINUX port, please help!
Post by: Darkmage on December 27, 2002, 07:58:37 pm
I was running it from /freespace2 as root not as regular user.
Title: LINUX port, please help!
Post by: DTP on December 28, 2002, 10:18:52 am
well the code got some checks for if it is being run from the drive root.

Look if they have replaced all "\\" so called directory seperators to those used by LINUX that are "//".

if not, find all and change.

you might want to try and fool this check

by trying to run it from somedirectory/freespace2/

, in case the Directory seperator is the problem.
Title: LINUX port, please help!
Post by: Darkmage on December 29, 2002, 06:05:39 am
THANKS! I just dumped it into /games/freespace2 and it works!
beautiful work guys
Title: LINUX port, please help!
Post by: DTP on December 29, 2002, 05:12:15 pm
so seems the iccules, ahmm, whatever port has some flaws.

I wonder what happens if people runs fs2_open from ROOT:/freespace2/

anyone that does and reads this, plz reply if you can.
Title: LINUX port, please help!
Post by: Darkmage on December 29, 2002, 06:24:31 pm
from /root/freespace2? I can test that if you want, from /freespace2 it goes fubar... the icculus port also has no music... briefing speech... and no movie support for the .mve files I suggest you guys contact the modelview32 coders.... they had a movie app for the .mve files.
Title: LINUX port, please help!
Post by: theoddone33 on December 29, 2002, 09:29:03 pm
Please have the courtesy to contact us directly if you have problems with our port.  We do not read this forum regularly and there are clearly documented ways of contacting us.

Yes our port has problems.  We are already aware of many of them and we would like to fix ones that crop up, such as running from /freespace2.  However if you would like to report a bug in our port, this forum is not and will most likely never be the proper place to do so.
Title: LINUX port, please help!
Post by: Inquisitor on December 29, 2002, 09:39:47 pm
what he said :)
Title: LINUX port, please help!
Post by: EdrickV on December 30, 2002, 06:47:34 pm
Quote
Originally posted by Darkmage
no movie support for the .mve files I suggest you guys contact the modelview32 coders.... they had a movie app for the .mve files.


I don't think MVE movie support will happen in any unofficial FS2 versions. (Unless Interplay changes it's legal policies regarding it.) There are good reasons why the mve code was removed from the source before it was released. There are old threads about this.
Title: LINUX port, please help!
Post by: Inquisitor on December 30, 2002, 06:57:31 pm
fs2_open will not do mve.

I believe the Icculus.org port has some limited mve support.