It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I decided to take a gamble and try out the Medal of Honor Allied Assault native port for Linux - and it works! Sort of...

you can get the installers here:

https://www.liflg.org/?catid=6&gameid=8

Simply running them with the target command like this:

./mohaa_1.11beta3-english.us.run --target /put/directory/where/files/will/extract

Will extract the data to the directory you put. This is necessary as the installer is originally intended to be used with the disc version of the game and won't extract the Linux executable or libraries. In the folder where you extracted the files, there should be a compressed archive called mohaa_beta3.tar.bz, decompress it and in the created folder will be all the files you need.

All you need to do is next is put the LInux executables inside the Medal of Honor folder or copy the main folder over to where your Linux executables are.

The only issue left is no sound. This appears in the terminal:

------- Sound Initialization (full) -------
OpenAL: Opening device {default}...
open /dev/[sound/]dsp: No such file or directory
OpenAL: Could not open device
OpenAL: Destroying channels...
OpenAL: Channels destroyed successfully.
OpenAL: initialization failed. No audio will play.
------- Sound Initialization Complete ------- 0 ms
Setting up Shaders
Loading inventory...
ERROR: Trying to register sound sound/menu/back.wav when soundsystem hasn't started.

And that goes on for every sound the game tries to play, which appears to block basic training from playing properly.

So at this point, any ideas?
Post edited May 14, 2017 by ModplanMan
This question / problem has been solved by linuxvangogimage
avatar
ModplanMan: I decided to take a gamble and try out the Medal of Honor Allied Assault native port for Linux - and it works! Sort of...

you can get the installers here:

https://www.liflg.org/?catid=6&gameid=8

Simply running them with the target command like this:

./mohaa_1.11beta3-english.us.run --target /put/directory/where/files/will/extract

Will extract the data to the directory you put. This is necessary as the installer is originally intended to be used with the disc version of the game and won't extract the Linux executable or libraries. In the folder where you extracted the files, there should be a compressed archive called mohaa_beta3.tar.bz, decompress it and in the created folder will be all the files you need.

All you need to do is next is put the LInux executables inside the Medal of Honor folder or copy the main folder over to where your Linux executables are.

The only issue left is no sound. This appears in the terminal:

------- Sound Initialization (full) -------
OpenAL: Opening device {default}...
open /dev/[sound/]dsp: No such file or directory
OpenAL: Could not open device
OpenAL: Destroying channels...
OpenAL: Channels destroyed successfully.
OpenAL: initialization failed. No audio will play.
------- Sound Initialization Complete ------- 0 ms
Setting up Shaders
Loading inventory...
ERROR: Trying to register sound sound/menu/back.wav when soundsystem hasn't started.

And that goes on for every sound the game tries to play, which appears to block basic training from playing properly.

So at this point, any ideas?
Hey ModplanMan,

We don't support MOH:AA on Linux at all, so my advice will be completely unofficial :)

Try installing 32 bit aoss, which is a tool providing compatibility with the legacy Linux sound system (https://help.ubuntu.com/community/alsa-oss), on Ubuntu you can do that by running the following comand:

sudo apt-get install alsa-oss:i386

Then run the game using the following command:

aoss ./mohaa_lnx
...
Post edited May 24, 2022 by clarry
avatar
linuxvangog: Hey ModplanMan,

We don't support MOH:AA on Linux at all, so my advice will be completely unofficial :)

Try installing 32 bit aoss, which is a tool providing compatibility with the legacy Linux sound system (https://help.ubuntu.com/community/alsa-oss), on Ubuntu you can do that by running the following comand:

sudo apt-get install alsa-oss:i386

Then run the game using the following command:

aoss ./mohaa_lnx
Thanks! Saw it a bit late but this suggestion worked. Sound now mostly works, although various sounds and certain dialogue still don't play. Lots of errors like this appear in the command line:

------- Sound Initialization Complete ------- 0 ms
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
STUB: sample_offset in client/snd_openal_new.cpp line 3867.
FIXME: Allow reverb toggle at runtime in OpenAL code.
Loading game...training0000
------- Attempting to load ./fgame.so -------
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
------ Server Initialization ------
Server: training
Called FadeSound with: 0.000000
Called FadeSound with: 0.000000
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
Called FadeSound with: 0.000000
Setting up Shaders
UI_DrawConnect called
I'm guessing this is likely to be an issue from the Linux port being beta when it was released. I also found an issue with the submarine base level - the sub you have to enter is messed up a bit and when you actually go inside, you can't move out of the first area as it's all jumbled up and geometry blocks your way.
avatar
linuxvangog: Hey ModplanMan,

We don't support MOH:AA on Linux at all, so my advice will be completely unofficial :)

Try installing 32 bit aoss, which is a tool providing compatibility with the legacy Linux sound system (https://help.ubuntu.com/community/alsa-oss), on Ubuntu you can do that by running the following comand:

sudo apt-get install alsa-oss:i386

Then run the game using the following command:

aoss ./mohaa_lnx
avatar
ModplanMan: Thanks! Saw it a bit late but this suggestion worked. Sound now mostly works, although various sounds and certain dialogue still don't play. Lots of errors like this appear in the command line:

------- Sound Initialization Complete ------- 0 ms
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
STUB: sample_offset in client/snd_openal_new.cpp line 3867.
FIXME: Allow reverb toggle at runtime in OpenAL code.
Loading game...training0000
------- Attempting to load ./fgame.so -------
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
------ Server Initialization ------
Server: training
Called FadeSound with: 0.000000
Called FadeSound with: 0.000000
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
Called FadeSound with: 0.000000
Setting up Shaders
UI_DrawConnect called
avatar
ModplanMan: I'm guessing this is likely to be an issue from the Linux port being beta when it was released. I also found an issue with the submarine base level - the sub you have to enter is messed up a bit and when you actually go inside, you can't move out of the first area as it's all jumbled up and geometry blocks your way.
I'm glad it worked! If your problem was solved, please mark my previous post as solution.

Yes, it looks like these are debug messages from the game itself. You might consider playing the game using Wine, as it's possible it will be more playable that way.