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

0 Members and 1 Guest are viewing this topic.

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Both the d and r executables are unusably slow with those settings - I get literally one frame per second, and that's just on the intro/options screen.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Freespace in Wine: problems with OpenAL
But do you crash?  Slow is one thing and there isn't much we can do about that.  Crash is another.  Although I will say that Intel chipsets and FS2_Open have a history of not liking each other. 

Which leads me to the question can you play FS2?
« Last Edit: March 26, 2009, 11:37:31 pm by FUBAR-BDHR »
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
It appears that the crash still happens.

As for playing FS2, I've done it before on this machine... Could be that driver updates have changed things though.

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
Re: Freespace in Wine: problems with OpenAL
As for running it on linux, make sure there aren't any .ini files hiding in install folder hierarchy, then try to run it with the bare bones ./fs2_open_r (i.e. without any cmd line options).

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Well, that makes fs2_open_r run at the speed it ought to, but it still crashes.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Freespace in Wine: problems with OpenAL
Did you get a log when you tried to run the debug version last time?
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
Nope, no log. Does it require some kind of option? Perhaps --force-make-log-dammit?

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Freespace in Wine: problems with OpenAL
No debug should make a log if the program starts at all.

Screenshot of listing of your TBP directory then?  With file sizes.
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
Code: [Select]
[The Babylon Project]$ du -h *
90M B5-C-sp-EMW-3_0.vp
267M B5-C-sp-RW-3_0.vp
1.3G B5-Core-3_4.vp
980K B5-M-MultiPack-1_0.vp
248K Launcher.exe
4.0K Root_fs2.vp
88K UninstallTBP.exe
16K data/missions
304K data/strips
80K data/tables
4.2M data/documentation
848K data/Misc
192K data/freddocs/Charts_files
2.1M data/freddocs
100K data/cache
20K data/links
7.6M data
544K devil.dll
28M emwintro.ogg
3.0M fred2_open_3_6_9.exe
3.0M fred2_open_3_6_9_INF.exe
10M fred2_open_3_6_9_debug.exe
10M fred2_open_3_6_9_debug_INF.exe
3.2M fs2_open_3_6_9.exe
3.2M fs2_open_3_6_9_INF.exe
7.4M fs2_open_3_6_9_INF_debug.exe
7.4M fs2_open_3_6_9_debug.exe
17M fs2_open_d-20090318_r5106
16M fs2_open_r-20090318_r5106
4.0K fs2open_pxo.cfg
64K ilu.dll
28K ilut.dll
41M intro.ogg
11M rwcredits.ogg
6.2M rwlogo.ogg
4.0K sparky_fs2.vp
4.0K sparky_hi_fs2.vp
4.0K stu_fs2.vp

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Freespace in Wine: problems with OpenAL
There should be data\players\single and data\players\multi.  You might not be getting far enough for those to be created though.  No harm in creating them manually.

Have you tried opening the B%-Cored-3_4.VP and seeing if the file it is crashing on is in there? 
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 created those dirs manually... How do I open the .vp file though? XArchiver says the format isn't recognized. Is it LZMA or something exotic like that?

(Remember, I'm on Linux... Windows archive formats *should* all be supported, but some may not be.)

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Freespace in Wine: problems with OpenAL
VPView or similar utility but I don't know where to get a version for your OS.  You can try Kara's FAQ or the modding forum. 
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 castor

  • 29
    • http://www.ffighters.co.uk./home/
Re: Freespace in Wine: problems with OpenAL
VPView works with Wine, but you'll need to find a few DLLs to get it to run.

  

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Alright, I tried the latest Linux build (3.6.10 RC2) with WC Saga, and this is what I get on the console...

Code: [Select]
Unrecognized command line parameter "-2d_poof".  Ignoring...
ERROR: "Could not load in ChoosePilot-m!" at ui/window.cpp:237
AL lib: ALc.c:1302: exit() 1 device(s) and 1 context(s) NOT deleted
AL lib: alSource.c:2291: alcDestroyContext(): 1 Source(s) NOT deleted
AL lib: alBuffer.c:1097: exit() 1 Buffer(s) NOT deleted

Following this, the game immediately crashes.

Help?

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Freespace in Wine: problems with OpenAL
Maja I believe is crossplatform since it's Java and can view and edit VP files.  I'm not sure what's up with that error, did you have to create a libopenal symlink?
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 Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Freespace in Wine: problems with OpenAL
Or is it crashing due missing low reso pilot selection screen?

Debug build (and the log, might help)
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Maja I believe is crossplatform since it's Java and can view and edit VP files.  I'm not sure what's up with that error, did you have to create a libopenal symlink?

Thanks, and nope, I didn't make the symlink.

Quote from: Wanderer
Or is it crashing due missing low reso pilot selection screen?

Debug build (and the log, might help)

Maybe... It is crashing when it should display the selection screen.

Again, the debug build doesn't create a log. I'm starting to think that might be a bug.

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Yup, the lack of a low-res screen was the cause of the crash.

Unfortunately, the game also crashes at the same point as the Windows one, once I get past the selection screen... Again, no log, and this time no error messages. *sigh*

 

Offline Miramor

  • 24
Re: Freespace in Wine: problems with OpenAL
Okay, I seem to have solved the OpenAL problem by using the stable version of Wine... However, I now get this when running the launcher:

Code: [Select]
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
proteus@skylark:~/Games/Freespace$ nano -w launcher6.ini
proteus@skylark:~/Games/Freespace$ wine start /unix Launcher.exe
proteus@skylark:~/Games/Freespace$ fixme:win:EnumDisplayDevicesW ((null),0,0x33ccb4,0x00000000), stub!
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396} could be created for context 0x7
wine start /unix Launcher.exewine: Call from 0x40c0f5 to unimplemented function MFC42.DLL.6888, aborting
wine: Unimplemented function MFC42.DLL.6888 called at address 0x40c0f5 (thread 0017), starting debugger...
wine: Call from 0x40c0f5 to unimplemented function MFC42.DLL.6888, aborting

Where oh where can I find a version of mfc42.dll that actually works for the launcher? Failing that, what do I edit so that fs2_open can run without me running the launcher first?

(For the record, I can't use the Linux version of 3.6.9, because it instantly segfaults on start. No idea why.)

 

Offline castor

  • 29
    • http://www.ffighters.co.uk./home/
Re: Freespace in Wine: problems with OpenAL
I tried the WCS mod under Wine, and following was enough to get it to run: wine fs2_open_3_6_10_RC2.exe -wcsaga -mod wcs
(wcs is the folder where I have all the files that came with the mod)

Its constantly *****ing about something network related though.
Quote
fixme:ras:RasEnumConnectionsA (0x33cf98,0x33cecc,0x33cec0),stub!
fixme:ras:RasEnumConnectionsA RAS support is not implemented! Configure program to use LAN connection/winsock instead!