Author Topic: Freespace in Wine: problems with OpenAL  (Read 10494 times)

0 Members and 1 Guest are viewing this topic.

Offline Miramor

  • 24
Freespace in Wine: problems with OpenAL
When I try to run FS2-open (or more specifically The Babylon Project) in Wine, it fails to launch, giving an error about openal32.dll not existing. The thing is, Wine has its own openal32.dll in .wine/drive_c/windows/system32. I've also tried installing the package from openal.org, and that still doesn't fix the error.

Help?

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Freespace in Wine: problems with OpenAL
Have you tried the Linux-native executables? They aren't part of the TBP install package, but can be found here.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Freespace in Wine: problems with OpenAL
You'll only need the Inferno build for TBP. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Okay I'll try that... Thanks.

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
I get this on trying to execute the binary:

Code: [Select]
$ ./fs2_open_3_6_10_RC1_INF
bash: ./fs2_open_3_6_10_RC1_INF: cannot execute binary file

Yeah, BASH is being really helpful there...

Edit: Sigh, Linux builds are 64-bit only. I am using 32-bit. Has anyone posted 32-bit builds?
« Last Edit: March 25, 2009, 08:16:46 pm by Miramor »

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Freespace in Wine: problems with OpenAL
I was afraid of that, I didn't know if 64bit Ubuntu would build 64bit binaries if I set it up the same as 32bit Ubuntu.  I'll have to fix that.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Glad I found a problem...

FWIW, I  found some builds that worked (nightly builds), but the game crashes now with this error message:

Code: [Select]
ERROR: "Could not load exp04 anim file" at fireball/fireballs.cpp:785
AL lib: ALc.c:1346: exit(): closing 1 Device
AL lib: ALc.c:1323: alcCloseDevice(): destroying 1 Context
AL lib: alSource.c:2340: alcDestroyContext(): deleting 3 Source(s)
AL lib: alBuffer.c:1081: exit(): deleting 9 Buffer(s)

Any way to fix this?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Freespace in Wine: problems with OpenAL
What graphics card and drivers do you have?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Intel 945GM onboard, using the xf86-video-intel 2.4.3 driver. Can't upgrade that driver because I'm using XOrg 1.4.2.

 

Offline captain-custard

  • previously known as andicirk
  • 210
  • one sandwich short of a picnic
Re: Freespace in Wine: problems with OpenAL
maybe  im being stupid but is it really neccesary to run fsopen through wine? even tbp , cant you just install it onto you hard drive (copy and paste and then use an fsopen linux binary?) i know i did.........
"Duct tape is like the force. It has a light side, a dark side, and it holds the universe together."

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Freespace in Wine: problems with OpenAL
Which is what he did, actually. Read the thread. :rolleyes:
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline captain-custard

  • previously known as andicirk
  • 210
  • one sandwich short of a picnic
Re: Freespace in Wine: problems with OpenAL
no  ;)
"Duct tape is like the force. It has a light side, a dark side, and it holds the universe together."

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
Re: Freespace in Wine: problems with OpenAL
Intel 945GM onboard, using the xf86-video-intel 2.4.3 driver. Can't upgrade that driver because I'm using XOrg 1.4.2.
Direct rendering works? (glxinfo)

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Yup, DRI definitely works. And the crash occurs whether I'm using EXA or XAA.

Somehow, I don't think this is a problem with DRI. I mean, it's saying it can't load an image that the game needs.

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Okay, I did a bit of searching and it looks like this is a symptom of corrupted game data. Except... I know my game data isn't corrupted.

Could this problem be due to using normal as opposed to Inferno builds?

Could someone please help me out? Please?

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Freespace in Wine: problems with OpenAL
Either should work with TBP you just won't get the ships above 130 with regular builds.  Run the debug build and post the FS2_Open.log from your data folder.  You'll get a bunch of warnings but if you can continue do so until you get to one that you can't get past.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
How do I get fs2_open.log? I've run both the r and d builds (the d one works fine except for the crash, the r one is insanely slow) but neither produce that log.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Freespace in Wine: problems with OpenAL
The d one should produce the log in your data folder and it should be slower then the r one. 

How exactly do you have your directory set up?  How are you running the program?
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
I have the directory set up as the TBP installer (run in Wine) created it. I run the binary by clicking on it, or doing cding into the directory and doing ./fs2_open_foo in a terminal.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Freespace in Wine: problems with OpenAL
I'm not familiar with Wine but it's possible you aren't running with the necessary flags for TBP.  I suggest you check this forum for a launcher:  http://www.hard-light.net/forums/index.php/board,113.0.html

Once you have that you will need the following on   -spec -glow -env -mipmap -nomotiondebris -missile_lighting -dualscanlines -targetinfo -orbradar -rearm_timer -ship_choice_3d -3dwarp -warp_flash -tbp -snd_preload  -ambient_factor 65

I guess you could just type all that in. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras