Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: marvn on November 08, 2007, 06:22:15 am

Title: Problems with open freespace in linux
Post by: marvn on November 08, 2007, 06:22:15 am
(sorry for my english ;))
I've installed Open freespace 3.6.9 on ubuntu 7.04 and with fs2_open script I can run it. But I have problem in game, because when i try to use numbers (for example for communication), it's not work. Even if I try to change controls to some nuber, it did not work...it seems like a din't even press it...
My second problem is with FRED, because I cannot run it with wine...is there some linux FRED for linux?
Title: Re: Problems with open freespace in linux
Post by: marvn on November 08, 2007, 08:20:14 am
heh, so i solved my first problem with this http://www.hard-light.net/wiki/index.php/Fs2_open_on_Linux/I18n_and_Key_mapping_problems :)
Title: Re: Problems with open freespace in linux
Post by: taylor on November 08, 2007, 10:16:00 am
My second problem is with FRED, because I cannot run it with wine...is there some linux FRED for linux?
FRED works well so long as you use a new enough version of Wine (0.9.47 or better).  There can be issues actually starting FRED though, which you can tell because you'll get some sort of "can't run from root" message.  This is actually fixed in CVS builds, but in older builds you can start it with a command like this (assuming that you are in the same directory as the binary): wine `winepath -w fred2_open_3_6_9.exe`.  What that does is make sure to pass the complete windows path to the EXE, and then it should start up fine.  Newer code doesn't require this, but this old method will still work the same with the newer code.
Title: Re: Problems with open freespace in linux
Post by: marvn on November 09, 2007, 09:31:02 am
i've just installed wine 0.9.47, but still it not works
m@MSI-ubuntu:/media/sda5/FS$ wine fred2_open_3_6_9.exe
err:module:import_dll Library OpenAL32.dll (which is needed by L"Z:\\media\\sda5\\FS\\fred2_open_3_6_9.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\media\\sda5\\FS\\fred2_open_3_6_9.exe" failed, status c0000135
if I try to wine FRED2.exe, it's as you said "Fred2 cannot be run from drive root directory!"
Title: Re: Problems with open freespace in linux
Post by: Jeff Vader on November 09, 2007, 09:46:12 am
err:module:import_dll Library OpenAL32.dll (which is needed by L"Z:\\media\\sda5\\FS\\fred2_open_3_6_9.exe") not found
I'm not a Linux guru. Hell, I know nothing about Linux. But still I'll bet that someone hasn't installed OpenAL. You'll need that for starters. Go to the OpenAL (http://www.openal.org) site and see if you can figure out what to do with the Linux stuff there. Or if you can find it with Synaptic or what was it called again. That might also work.
Title: Re: Problems with open freespace in linux
Post by: taylor on November 09, 2007, 09:50:28 am
Just grab the Windows version of OpenAL and install it with Wine.  Should work fine after that.
Title: Re: Problems with open freespace in linux
Post by: marvn on November 09, 2007, 11:13:00 am
Just grab the Windows version of OpenAL and install it with Wine.  Should work fine after that.
good...problem with OpenAL is solved...
but when i try: wine fred2_open_3_6_9.exe,  there is error "Freespace2/Fred2 cannot be run from drive root directory!", the same as i try run FRED2.exe...
Title: Re: Problems with open freespace in linux
Post by: taylor on November 09, 2007, 11:37:51 am
but when i try: wine fred2_open_3_6_9.exe,  there is error "Freespace2/Fred2 cannot be run from drive root directory!", the same as i try run FRED2.exe...
You have to use the winepath trick that I mentioned in my first post.  Newer code doesn't require that, but most every existing build (like 3.6.9) does.
Title: Re: Problems with open freespace in linux
Post by: marvn on November 10, 2007, 04:07:51 am
sorry, I forget it...now I can run FRED2.exe, but I when i try fred2_open_3_6_9.exe, there is some problem with X11 :(
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  128 (XFree86-DRI)
  Minor opcode of failed request:  7 ()
  Value in failed request:  0x75
  Serial number of failed request:  535
  Current serial number in output stream:  535
Title: Re: Problems with open freespace in linux
Post by: taylor on November 10, 2007, 08:58:55 am
Hmm.  Try running it with the -no_vsync cmdline option (like "wine `winepath -w fs2_open_3_6_9.exe` -no_vsync") and see if that fixes it.
Title: Re: Problems with open freespace in linux
Post by: McMonarch on December 09, 2007, 12:38:53 pm
I'm having the same problem, but when i try to do what taylor said nothing happens, it still says "cannot run from drive root"
Title: Re: Problems with open freespace in linux
Post by: McMonarch on December 10, 2007, 03:20:14 pm
Anyone? please help me :(