Author Topic: Ubuntu 9.10, can't get FS2_Open or YAL to run  (Read 1699 times)

0 Members and 1 Guest are viewing this topic.

Offline carn1x

  • 25
Ubuntu 9.10, can't get FS2_Open or YAL to run
Installed FS2 with Wine.

Run FSOInstaller which seemed to download everything fine, including Linux executables.

I checked out the YAL source.

Compiled it and can't see any mention of error in the output (although tbh it all looks foreign to me, I'm not usually one to look too in-depth into source compiling output anyway).

Now I'm at the point where I simply don't know what to do, I can't find any instructions on what file or command line arguments to run to load YAL, or even run the game manually. I don't mind using Windows to acquire the relevant command line arguments if YAL is going to be too troublesome. From piecing different forums threads together, I'm guessing that yal.pro is the binary to run, but attempting to do so gives the following error:

Code: [Select]
$ ./yal.pro
./yal.pro: line 5: TEMPLATE: command not found
./yal.pro: line 6: CONFIG: command not found
./yal.pro: line 7: DEPENDPATH: command not found
./yal.pro: line 8: INCLUDEPATH: command not found
./yal.pro: line 10: DESTDIR: command not found
./yal.pro: line 16: TARGET: command not found
./yal.pro: line 17: RESOURCES: command not found
./yal.pro: line 19: btrl: command not found
./yal.pro: line 20: TARGET: command not found
./yal.pro: line 21: RESOURCES: command not found
./yal.pro: line 22: DEFINES: command not found
./yal.pro: line 23: syntax error near unexpected token `}'
./yal.pro: line 23: `}'

I did originally post the above error into http://www.hard-light.net/forums/index.php?topic=68413.msg1455835#msg1455835 however I'm not even sure of what version of YAL I compiled, although I assume that 0.3-rc2 is the most recent version on the SVN?

Please help! Thanks in advance :)

OK, when I run fs2_open_3_6_12_INF_r manually, I get a GLIBC error


Code: [Select]
$ ./fs2_open_3_6_12_INF_r
./fs2_open_3_6_12_INF_r: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by ./fs2_open_3_6_12_INF_r)

As I'm running Ubuntu 9.10, and it seems getting GLIBC 2.11 on 9.10 would be quite a difficult task; do I need to compile my own binaries in order to get fs2_open to run?
« Last Edit: January 08, 2011, 02:51:05 am by Jeff Vader »

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Ubuntu 9.10, can't get FS2_Open or YAL to run
someone who understands linux help this man

 

Offline carn1x

  • 25
Re: Ubuntu 9.10, can't get FS2_Open or YAL to run
Ok I'm going through compiling my own code now, perhaps these instructions will get me there :D

Well this just gets better and better.

- Compiled the source
- Moved fs2_open_r to gamedir
- chmod a+x fs2_open_r
- ./fs2_open_r

It runs, plays FSPort cutscene, although this may have something to do with lasting running this game data with FSPort mod from Windows.

Anyway, sound seems fine in the menus, I try to enter briefing room, and it dumps me to desktop with the following output. Now I'm in a 1366x768 desktop with a 640x480 viewport and I need to scroll around the desktop.

Code: [Select]
$ ./fs2_open_r  -spec -glow -mipmap -jpgtga -orbradar -mod Media_VP
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
AL lib: alsa.c:675: set access failed: Invalid argument
Segmentation fault

I then thought I'd try altering the .fs2_open/fs2_open.ini but it didn't exist. So I ran fs2_open again then quit it just to see if the crash prevented the ini from being created. But this time I got the output:

Code: [Select]
$ ./fs2_open_r  -spec -glow -mipmap -jpgtga -orbradar -mod Media_VP
Unrecognized command line parameter "-jpgtga".  Ignoring...
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
AL lib: alsa.c:675: set access failed: Invalid argument

Not entirely sure if the game quit or crashed since I was trying to quit. Either way, I still don't have an INI file to edit to up the resolution.

I've noticed that I'm running 3.6.13, which I wasn't expecting, not sure if that changes things?

Ok, found fs2_open.ini, changed to 1024x768 and now the game launches and plays fine.

Anyway, thought I'd try another different set of instructions for building YAL, so I tried:

Code: [Select]
$ qmake-qt4 yal.pro
$ make
make -f Makefile.Release
make[1]: Entering directory `/media/storage/Wine_D/Freespace 2/trunk'
/usr/bin/uic-qt4 ui/MainWindow.ui -o ui_MainWindow.h
make[1]: /usr/bin/uic-qt4: Command not found
make[1]: *** [ui_MainWindow.h] Error 127
make[1]: Leaving directory `/media/storage/Wine_D/Freespace 2/trunk'
make: *** [release] Error 2
dan@acer-ubuntu:/media/storage/Wine_D/Freespace 2

Obviously that failed miserably, not sure how to proceed with YAL.

Additionally in game, a couple missions have coughed up some real evil sound distortion.

In the middle of the 'Stop Asteroids from hitting Bastion' mission, the white noise very quickly faded it and became so loud i had to take off my headphones.

I paused the game with Esc, and the noise disappeared and I had perfect sound again. It did this about 15-20 times in that mission, until the last time I did it, the white noise stopped and then all sound just went dead.

So I finished the mission, quit the game, and I was left with a black screen with a white mouse, couldn't figure out how the hell the get back to desktop. I went to console with Ctrl Alt F1 and tried to kill fs2_open_r process, which I did, but that didn't seem to change matters on my Desktop. So I run 'reboot'.

Back in the game, when I was playing the 'Escort Plato to the Jump Node' mission, the sound problem happened only once, but didn't return.


Ok, got YAL to compile and it now runs and runs FSO fine, I had to run:
Code: [Select]
sudo apt-get install libxtst-dev build-essential libqt4-dev qt4-qmake
« Last Edit: January 08, 2011, 02:49:46 am by Jeff Vader »