Author Topic: Can't run FSO using wxLauncher on Linux  (Read 6397 times)

0 Members and 1 Guest are viewing this topic.

Can't run FSO using wxLauncher on Linux
Hello everybody!

First of all wanted to say thank to the community! this is the fourth time i want to play freespace 2 because there is nothing better outside!  :lol:

Ok, the issue is that i can't launch the fs2_open_3_7_2 (RC1) with wxlauncher because i get an error... AGAIN!
After reading the wxlauncher's log i read this:

\ufeff14143002519:INFO :wxLauncher Version 0.9.4
14143002519:INFO :Build "123456789abc+ unknown custom tip" committed on (Thu Jan 01 00:00:00 1970 -0000)
14143002519:INFO :vie 23 may 2014 02:25:19 CEST
14143002519:INFO :Initializing profiles...
14143002519:INFO : My profiles file is: /home/resu/.wxlauncher/global.ini
14143002519:INFO : Found 1 profile(s).
14143002519:INFO :Initializing SkinSystem...
14143002519:INFO :Initializing HelpManager...
14143002520:INFO :Initializing FlagListManager...
14143002520:INFO :Initializing ProfileProxy...
14143002520:INFO :wxLauncher starting up.
14143002520:STSBR:Profile 'Default' saved
14143002520:STSBR:Now autosaving profiles.
14143002520:ERROR:file '', line 4: '=' expected.
14143002521:WARN :image255x112 has invalid dimensions 252x111
14143002521:WARN :image255x112 has invalid dimensions 252x111
14143002521:STSBR:MainWindow is complete
14143002521:STSBR:Ready.
14143002521:ERROR:file '', line 4: '=' expected.
14143002521:WARN :image255x112 has invalid dimensions 252x111
14143002521:WARN :image255x112 has invalid dimensions 252x111
14143002521:INFO :The current game root folder is /home/resu/PlayOnLinux's virtual drives/Freespace2_gog/drive_c/Program Files/GOG.com/Freespace 2
14143002521:INFO : Found 2 FS2 Open executables in '/home/resu/PlayOnLinux's virtual drives/Freespace2_gog/drive_c/Program Files/GOG.com/Freespace 2'
14143002521:ERROR: FS2 Open did not generate a flag file.
14143002530:ERROR:OpenAL32.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
14143002531:ERROR:OpenAL:329: Unknown error number 0x0000a004
14143002531:ERROR:OpenAL:333: Unknown error number 0x0000a004
14143002531:ERROR:OpenAL:338: Unknown error number 0x0000a004
14143002531:ERROR:OpenAL:346: Unknown error number 0x0000a004
14143002531:ERROR:OpenAL:352: Unknown error number 0x0000a004
14143002531:ERROR:OpenAL:358: Unknown error number 0x0000a004
14143002531:ERROR:OpenAL:384: Unknown error number 0x0000a004
14143002531:ERROR:OpenAL:395: Unknown error number 0x0000a004
14143002531:INFO :Detected OpenAL version: 1.1 ALSOFT 1.14
14143002554:INFO :FS2 Open is now running...
14143002554:INFO :FS2 Open exited with a status of 127
14143004649:INFO :saving global profile before exiting.
14143004649:INFO :Current profile Default has no unsaved changes. Exiting.
14143004649:INFO :wxLogger shutdown complete.

Log closed.

I used this installer, and compiled wxlauncher following the instructions. I have been reading for hours and i have no more ideas. So pls, i would be gratefull if you let me any idea.

thanks in advanced.

PD: this is a Wheezy 64bits system. And i'm able to play on my windows machine.

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Can't run FSO using wxLauncher on Linux
Hmm.  I'm not really sure what this could be, so I'll move it over to the FSO Support forum so that somebody there can help you out.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Can't run FSO using wxLauncher on Linux
The error seems to be:
Code: [Select]
14143002521:ERROR: FS2 Open did not generate a flag file.

If you installed using the FSOInstaller I think this will be because the downloaded executable is a 32bit executable.  To run it on 64bit Debian Wheezy you'll need to install the 32bit libraries. I don't run Debian myself, but I think these pages should give you a good idea of what you need to do:
https://packages.debian.org/wheezy/ia32-libs
https://wiki.debian.org/Multiarch/HOWTO

You'll also need 32bit versions of the following libs:
Code: [Select]
libopenal libogg libvorbis libsdl1.2 libtheora libreadline6 libpng12 libjpeg62 liblua5.1-0 libjansson


As an alternative to installing multiarch, you could compile your own version of FSO. Our wiki has a guide on how to do that:
http://www.hard-light.net/wiki/index.php/Guide_to_FS_Open_on_Linux

If may be a little out of date, if you find any issues with it please let us know so it can be updated.


When you've got that problem fixed, you may hit another problem because your current FSO install path is too long.
Code: [Select]
14143002521:INFO :The current game root folder is /home/resu/PlayOnLinux's virtual drives/Freespace2_gog/drive_c/Program Files/GOG.com/Freespace 2

Unfortunately FSO still has issues with long path names.  I'd suggest moving this folder to /home/resu/Freespace2 (or a similar length path)

If you have any more issues getting FSO running, please let us know and we can help you fix them.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Re: Can't run FSO using wxLauncher on Linux
Thanks for your answers!

The error seems to be:
Code: [Select]
14143002521:ERROR: FS2 Open did not generate a flag file.

If you installed using the FSOInstaller I think this will be because the downloaded executable is a 32bit executable.  To run it on 64bit Debian Wheezy you'll need to install the 32bit libraries. I don't run Debian myself, but I think these pages should give you a good idea of what you need to do:
https://packages.debian.org/wheezy/ia32-libs
https://wiki.debian.org/Multiarch/HOWTO

You'll also need 32bit versions of the following libs:
Code: [Select]
libopenal libogg libvorbis libsdl1.2 libtheora libreadline6 libpng12 libjpeg62 liblua5.1-0 libjansson


As an alternative to installing multiarch, you could compile your own version of FSO. Our wiki has a guide on how to do that:
http://www.hard-light.net/wiki/index.php/Guide_to_FS_Open_on_Linux

If may be a little out of date, if you find any issues with it please let us know so it can be updated.


When you've got that problem fixed, you may hit another problem because your current FSO install path is too long.
Code: [Select]
14143002521:INFO :The current game root folder is /home/resu/PlayOnLinux's virtual drives/Freespace2_gog/drive_c/Program Files/GOG.com/Freespace 2

Unfortunately FSO still has issues with long path names.  I'd suggest moving this folder to /home/resu/Freespace2 (or a similar length path)

If you have any more issues getting FSO running, please let us know and we can help you fix them.

I already have a multiarch. My main system is 64 bits but i added as foreing arch i386 to be able to play some wine games. (as pro pinball timeshock!) I used those links you pasted too! very good info. Yes. I think averything is correctly done.

ok, i beleive what you said, right now i', downloading all 32libs and trying to compile the fs2_open.3.7.0. Yesterday already tried but without succes. That's why i was so happy when openfsoinstaller.jar did everything! it downloaded it for me :) i expected everything was going to work!  ;7 and...

About the path, i already moved the game to ~/freespace 2

I tried to recompile the fs2_open_3.7.0 from sources as the links said.
this is the final of my make

  CXX    outwnd_unix.o
  CXX    stubs.o
  AR     libcode.a
  CXX    freespace.o
freespace2/freespace.cpp: In function ‘void game_loading_callback_close()’:
freespace2/freespace.cpp:1257:6: warning: variable ‘real_count’ set but not used [-Wunused-but-set-variable]
freespace2/freespace.cpp: In function ‘void game_init()’:
freespace2/freespace.cpp:1687:6: warning: variable ‘s1’ set but not used [-Wunused-but-set-variable]
freespace2/freespace.cpp:1687:10: warning: variable ‘e1’ set but not used [-Wunused-but-set-variable]
  CXX    levelpaging.o
  CXXLD  fs2_open_3.7.0
make[1]: se sale del directorio `/home/resu/Escritorio/fs2_open_3_7_0_src/fs2_open_3_7_0/code'
make[1]: se ingresa al directorio `/home/resu/Escritorio/fs2_open_3_7_0_src/fs2_open_3_7_0'
make[1]: No se hace nada para `all-am'.
make[1]: se sale del directorio `/home/resu/Escritorio/fs2_open_3_7_0_src/fs2_open_3_7_0'

Same as yesterday!

Gonna keep searching about the multiarch and lib dependencias. I might have forgot something... :( don't know.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Can't run FSO using wxLauncher on Linux
That compile looks like it completed successfully.  All this stuff is just warnings (which we have too many of, but that is another story) that can safely be ignored.

Code: [Select]
freespace2/freespace.cpp: In function ‘void game_loading_callback_close()’:
freespace2/freespace.cpp:1257:6: warning: variable ‘real_count’ set but not used [-Wunused-but-set-variable]
freespace2/freespace.cpp: In function ‘void game_init()’:
freespace2/freespace.cpp:1687:6: warning: variable ‘s1’ set but not used [-Wunused-but-set-variable]
freespace2/freespace.cpp:1687:10: warning: variable ‘e1’ set but not used [-Wunused-but-set-variable]

All you need to do next is to copy code/fs2_open_3.7.0 to ~/Freespace2 and you should be ready to play :)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Re: Can't run FSO using wxLauncher on Linux
 :eek2: :eek2: :eek2: :eek2:

I thought it was an error!!! GONNA TRY!

Uhhhh.. yeha!! i remember as i see now. Were is supposed to be that fs2_open3.7.0 after compilation? :D i don't find it!!!

root@debian:/home/resu/Escritorio/fs2_open_3_7_0_src/fs2_open_3_7_0# find ./ -name fs2*
./fs2open.Doxyfile


This is the only file i find after compilation and i doesn't seem to me an executable


Modified:

Just a question, qhen you said install all these packages

libopenal libogg libvorbis libsdl1.2 libtheora libreadline6 libpng12 libjpeg62 liblua5.1-0 libjansson

You meant to install the :i386 version right? because it is what i did. I did not install :i386-dev to compile the executable. I wondering if i should!!!

Thanks! still working on it and won't stop untill it works!
« Last Edit: May 23, 2014, 05:56:01 am by MosC_AtheL »

 
Re: Can't run FSO using wxLauncher on Linux
I have been trying with some other launchers...

fs2_open_3.7.0 (ubuntu compilation)
/home/resu/GOG.com/Freespace 2/fs2_open_3.7.0: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory

and again if i:


fs2_open_3.7.2 (RC1)
/home/resu/GOG.com/Freespace 2/fs2_open_3.7.2_RC1: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory

Tried to link those "missing files" to user/lib/ but still same error...
I have those missing files in my computer, but i don't know if the program is looking where it should.

Anyway. Still on it. If i find solution i ll report it here!

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Can't run FSO using wxLauncher on Linux
root@debian:/home/resu/Escritorio/fs2_open_3_7_0_src/fs2_open_3_7_0# find ./ -name fs2*
./fs2open.Doxyfile

This is the only file i find after compilation and i doesn't seem to me an executable

Uh oh! You've been hit by shell expansion! :) You need to quote the last parameter otherwise the shell will expand * to match fs2open.Doxyfile in the current directory... and then find just that one file :)

Code: [Select]
$ find . -name fs2*
./fs2open.Doxyfile
$ find . -name "fs2*"
./projects/Eclipse/Freespace2/fs2_client.launch
./projects/Eclipse/Freespace2/fs2_client_host.launch
./projects/Eclipse/Freespace2/fs2_standalone.launch
./projects/codeblocks/fs2_open.workspace
./projects/codeblocks/fs2_open.workspace.layout
./fs2open.Doxyfile
(etc)

This may also be better search:

Code: [Select]
$ find . -name "fs2_open*"
./projects/codeblocks/fs2_open.workspace
./projects/codeblocks/fs2_open.workspace.layout
./code/fs2_open_3.7.1
./code/fs2_open_3.7.1_DEBUG

You can see my two compiled execs in ./code/

Just a question, qhen you said install all these packages

libopenal libogg libvorbis libsdl1.2 libtheora libreadline6 libpng12 libjpeg62 liblua5.1-0 libjansson

You meant to install the :i386 version right? because it is what i did. I did not install :i386-dev to compile the executable. I wondering if i should!!!

Thanks! still working on it and won't stop untill it works!

Yep - I meant to install the :i386 versions of all those libs. That was my best guess based on the packages needed to compile FSO.  From your other error you may also need to install libvorbisfile:i386.

Edit: I should really clarify; if you want to be able to run the executable downloaded by the FSOInstaller then you need all the :i386 libs installed. You don't need the :i386 libs to run FSO that you've compiled yourself.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: Can't run FSO using wxLauncher on Linux
if he can compile on 64 bit, he should compile with 64 bit libs, seriously!
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 
Re: Can't run FSO using wxLauncher on Linux
You mean? I'm a noob, so please feel free on the explanation :D

I have installed many dependencies and -dev packages but maybe not all necessaries to compie correctly the launcher.

All i have always done to all these compilations are the tipicals one.

./configre (if necessary)
make
make install (this one for wxlauncher)

And I followed all guides founded here as carefully as i could. (VERY GOOD GUIDES GUYS! GOOD JOB!)

But i don't know wich libraries it used to do the compilation. I just know i had to install many of them to acheive those logs i showed before.

If after following all stepd on before guides... and get this errors... Don't know.
Should I try to compile on a different way that explained on guides? tell me how i don't know. I cold on this linux machine. I can get you all logs and info necessary.

Thanks for all your answers
So, if i should

 
Re: Can't run FSO using wxLauncher on Linux
 :yes: :yes: IT WORKSSSSS!!!!!!!!!!!! IT WORKS!!!!!!!! HAHAHA  :yes: :yes:

You were right niffiwan. I think you were  ;)

I was looking for the compiled executable like this:
root@debian:/fs2_open_3_7_0#find ./ -name fs2*
./fs2open.Doxyfile

obviously.... when you know that i have bad written the command. I did as you said

root@debian:/fs2_open_3_7_0# find ./ -name fs2_ope*
./projects/codeblocks/fs2_open.workspace
./code/fs2_open_3.7.0

This is why i say i'm noob!!! i missplaced the * and now i find correctly the file.
I took that file, placed it in the game folder, launched wxlauncher from terminal, got the front end, i click play button and...

ALL WENT PERFECTLY!!

I love you all guys.
Very thanks you all.




 

Offline niffiwan

  • 211
  • Eluder Class
Re: Can't run FSO using wxLauncher on Linux
Glad you got it working! :)

And as a tip to save you trouble in future, I'd *strongly* recommend quoting wildcards in arguments to find.

i.e. don't use this:

# find ./ -name fs2_ope*

Use this:

# find ./ -name "fs2_ope*"


if he can compile on 64 bit, he should compile with 64 bit libs, seriously!

Yeah, that's what I was trying to say in my last posts edit, maybe it wasn't clear  :nervous:
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...