BattlefrontII help

Questions about Wine on Linux
Locked
fred654
Newbie
Newbie
Posts: 4
Joined: Sat Mar 01, 2014 11:09 am

BattlefrontII help

Post by fred654 »

Out of all the games available for the xbox the only one I ever liked was battlefrontII. Today I got a PC version and decided to run it on wine. Unfortunately, after starting the app and hitting the install button it gives me a message and quits.

Code: Select all

% wine LaunchBFII.exe
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
^Cfixme:console:CONSOLE_DefaultHandler Terminating process 2d on event 0
ballsystemlord@vian1:~/.wine/dosdevices/d:> wine LaunchBFII.exe
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
I'm running opensuse 13.1 with the kde desktop and wine-1.7.2.
The message in the GUI reads:
IMPORTANT NOTE: You may encounter audio
Emphasis theirs.
It also gives me a link:
entitled:
Show documentation.
The link brings up wines text editor above the desktop, ie. I can't hit close or get it's focus and there is not text inside.
The window also has an ok button on the button.
I've searched your forums and mailing lists and the intranet to no avail.

Thanks for your help,

Fred

PS: I've couldn't help but notice that most people seem to be kinda on edge when posting. Please understand that I've written several bug reports so far and am left with the understanding that hitting the computer with a hammer does not fix the bugs inside (though it may squash them.) If you, therefore, need anything to trouble shoot this problem do not hesitate to ask. My intranet connection is intermittent and I don't have all the time in the would so I may not instantly respond, but I'd be happy to see this app working.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: BattlefrontII help

Post by Bob Wya »

@fred654,

All the help you need is sitting right in front of you... In the terminal output you posted... 8)

I happen to run OpenSUSE (Tumbleweed) on my laptop - so I chroot'd into this to see what package this file belongs to... Surprise, surprise you haven't got all the 32-bit ALSA packages you need, for Wine, installed yet...

Code: Select all

zypper wp /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
...
S | Name                     | Summary                                 | Type   
--+--------------------------+-----------------------------------------+--------
i | alsa-plugins-pulse-32bit | Pulseaudio Plug-In for the ALSA Library | package
Bob
fred654
Newbie
Newbie
Posts: 4
Joined: Sat Mar 01, 2014 11:09 am

Re: BattlefrontII help

Post by fred654 »

I installed all the 32bit alsa libs and I'm still getting an error

Code: Select all

err:ole:CoInitialize Attempt to change threading model of this apartment from muti-threaded to apartment threaded
I'm also still getting the same dialog box.
I thought it might have something to do with not installing libpthread 32bit but after installing that and all the 32bit boost libs it's still no go.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: BattlefrontII help

Post by dimesio »

Try upgrading Wine; the version you are using is old.
fred654
Newbie
Newbie
Posts: 4
Joined: Sat Mar 01, 2014 11:09 am

Re: BattlefrontII help

Post by fred654 »

I've upgraded form the opesuse wine addon repo I've got wine version 1.7.13.
I'm now getting this out put.

Code: Select all

% wine LaunchBFII.exe
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:module:import_dll Library libgcc_s_sjlj-1.dll (which is needed by L"C:\\windows\\mono\\mono-2.0\\bin\\libmono-2.0-x86.dll") not found
err:mscoree:load_mono Could not load Mono into this process
libgcc_s_sjlj-1.dll
is not in any of the packages availible for install.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: BattlefrontII help

Post by dimesio »

fred654 wrote:

Code: Select all

err:module:import_dll Library libgcc_s_sjlj-1.dll (which is needed by L"C:\\windows\\mono\\mono-2.0\\bin\\libmono-2.0-x86.dll") not found
That's a bug in the openSUSE wine-mono package. http://bugs.winehq.org/show_bug.cgi?id=35413

Use wine-mono from Sourceforge. Place it in /usr/share/wine/mono. http://source.winehq.org/winemono.php
fred654
Newbie
Newbie
Posts: 4
Joined: Sat Mar 01, 2014 11:09 am

Re: BattlefrontII help

Post by fred654 »

I tried that but it did not help, so I built wine myself, getting these errors (I installed all the requested libs so perhaps I have versions that are to old or in some weird place,)

Code: Select all

configure: libGLU 32-bit development files not found, GLU won't be supported.
configure: lib(n)curses 32-bit development files not found, curses won't be supported.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: libv4l 32-bit development files not found.
configure: libgphoto2 32-bit development files not found, digital cameras won't be supported.
configure: libgphoto2_port 32-bit development files not found, digital cameras won't be auto-detected.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcapi20 32-bit development files not found, ISDN won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: libmpg123 32-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 32-bit development files not found (or too old), OpenAL won't be supported.
 
I compiled without opencl support and without hal. I did not install geko. I still get the same old error message.

Code: Select all

err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
However the previously blank error box now reads:

Code: Select all

IMPORTANT NOTE: You may encounter audio problems or a game crash when attempting to play starwars battle front II on windowz vista unless a microphone is plugged into the microphone jack of your computer or if the "stereo mix" device is not enabled on the recording tab of the "sound" windowz control panel applet. For additional information on these issues, please refer to the troubleshooting guide on the game disk located
(hyperlink here)
The hyperlink still brings up nothing.
Equally confusing is the fact that I had wine set to XP and the I set it to windowz 2000 but I still get the same old error message.
Locked