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

×
high rated
I've put together a Wine wrapper for Medal of Honor: Allied Assault, allowing it to be played on Linux almost like a native game & with no Wine knowledge required.

Simply run the build script to create the wrapper. If the installer files are not alongside the wrapper build files then the path to them will need to be specified either by passing it as an argument to the build script with -respath="<path>" or by setting an environment variable named WINEWRAP_RESPATH containing it. You can change the path to build the wrapper in and the name of the wrapper directory with the -buildpath= and -dirname= arguments. The build path can also be set with the WINEWRAP_BUILDPATH environment variable.

The output will be a directory containing the game set up within a preconfigured Wine prefix, along with its own copy of Wine, extracted game icons, documentation, and start script(s). From there simply run the start script to play. The start script also includes options for creating a shortcut, configuring the wrapper etc.

(to uninstall simply delete the game directory and any shortcuts you created, and the game's user data directory in ~/.local/share if you don't want to keep your saves & settings)

User data is stored under ~/.local/share/mohaa

Full details are in the readme.txt and release notes. Here is the download link:

mohaa_wine.tar.xz
(40.5 kB, SHA256: 7a31afd7e42e84f6b9f8c05ce3c51422cba307dfb527e62c17b932d3d67f9655)

Last updated 2021/07/11

The wrapper uses Wine 6.0. Wine and Winetricks will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap

If anyone encounters any problems then post in this thread, Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion and/or The "Judas&trade; does this run in Wine" thread v1.173.

For more of my Linux Wine wrappers check out post 3 in this thread: Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion
Post edited July 11, 2021 by adamhm
installed with no issues, except for mouse. Solved the problem by googling

"I had read that going Configure>Wine>Configure Wine and the the Graphics tab you can turn off the two window manager settings and activate the emulated desktop feature. This seemed to improve the situation for me."



Thanks for the wrapper
Interesting, thanks for letting me know. So you needed to enable the virtual desktop for it to work properly? (the window manager settings have no effect when a virtual desktop is enabled)

What are the specs of your system, and which distro & graphics drivers (kernel + mesa version for the open drivers) are you using?

While making the wrapper I did encounter issues with mouse movement being broken on one of my systems (the one with Intel graphics), but I was able to fix it by setting the wrapper to use MouseWarpOverride=force. If that wasn't enough then I'll see about having it use a virtual desktop by default too.
Great, thanks so much for this. Works perfectly on my AMD APU-based system.
Good day adamhm,

I spent a bit of time trying out various configurations for making run MOHAA in wine, until I ended up giving a try to your scripts after being sick of weird OpenGL errors. Everything worked very well, and even better than expected (widescreen support, game very smooth, etc). Confirmed working on:
- Debian Sid (as of 2018-09-30)
- GPU AMD HD5770 with radeon driver as provided in Linux 4.18.7, and firmware AMD graphics 20180825
- wine as provided in your package.

I must acknowledge the quality of your work: it honors the, already incredible, work done by wine developpers, by making it more accessible, easier to use.

Thank You!
--
Tokapix.
First of all, thanks for the wrapper. This is my first time trying your wrappers, and if this one indicates the quality of them, I will be trying many more soon.

One question; is there a way to make the in-game UI text larger? I'm running on a 32" 4K monitor, and I can just barely read the text.

Thanks again.
avatar
sa666666: One question; is there a way to make the in-game UI text larger? I'm running on a 32" 4K monitor, and I can just barely read the text.
Not as far as I know. There's no workaround listed on WSGF at least.
OK, thanks anyway. Still enjoying the game; will have to continue squinting for now :)
Another quick question; how/where does one add commandline arguments for the app itself (not for Linux, but to be passed to the EXE)? Something like "+set sv_cheats 1", or similar?
avatar
sa666666: Another quick question; how/where does one add commandline arguments for the app itself (not for Linux, but to be passed to the EXE)? Something like "+set sv_cheats 1", or similar?
A colon by itself will tell the start script to ignore any arguments following it and instead pass them through to the game (or whatever command, if using the run/runwine arguments). e.g.:

./start.sh play : <arguments to pass through here>

So, for "+set sv_cheats 1" you'd do:

./start.sh play : +set sv_cheats 1
avatar
adamhm: I've put together a Wine wrapper for Medal of Honor: Allied Assault, allowing it to be played on Linux almost like a native game & with no Wine knowledge required.

Simply run the build script to create the wrapper. If the installer files are not alongside the wrapper build files then the path to them will need to be specified either by passing it as an argument to the build script with -respath="<path>" or by setting an environment variable named WINEWRAP_RESPATH containing it. You can change the path to build the wrapper in and the name of the wrapper directory with the -buildpath= and -dirname= arguments. The build path can also be set with the WINEWRAP_BUILDPATH environment variable.

The output will be a directory containing the game set up within a preconfigured Wine prefix, along with its own copy of Wine, extracted game icons, documentation, and start script(s). From there simply run the start script to play. The start script also includes options for creating a shortcut, configuring the wrapper etc.

(to uninstall simply delete the game directory and any shortcuts you created, and the game's user data directory in ~/.local/share if you don't want to keep your saves & settings)

User data is stored under ~/.local/share/mohaa

Full details are in the readme.txt and release notes. Here is the download link:

mohaa_wine.tar.xz
(37.3 kB, SHA256: b554e81a79930dd0a3a8877ca56762ad9fddf442a82eeb44a6e557951cd0dc56)

Updated 2019/12/11: Updated winewrap.shlib.

The wrapper uses Wine 4.0. Wine and Winetricks will be downloaded automatically if not present; to avoid redownloading for other scripts the downloaded Wine package will be stored in ~/.cache/winewrap

If anyone encounters any problems then post in this thread, Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion and/or The "Judas&trade; does this run in Wine" thread v1.173.

For more of my Linux Wine wrappers check out post 3 in this thread: Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion
Great Job, adamhm! I'd been looking to get this game up and running on Ubuntu 18.04 for some considerable time, and this worked a treat. Good, clear instructions too.
what am i doing wrong?
missing file: setup_medal_of_honor_2.0.0.21-1.bin
missing file: setup_medal_of_honor_2.0.0.21-2.bin
missing file: setup_medal_of_honor_2.0.0.21.exe
avatar
dayoftheduck: what am i doing wrong?
missing file: setup_medal_of_honor_2.0.0.21-1.bin
missing file: setup_medal_of_honor_2.0.0.21-2.bin
missing file: setup_medal_of_honor_2.0.0.21.exe
You need to either put the game installer files alongside the wrapper script, or tell the wrapper script where to find the installer files using the -respath= option or WINEWRAP_RESPATH environment variable.
Thank you for this wrapper! It's super convenient and I had no idea the game can be played in modern screen resolutions.
Wow, this helped me get the game running on the Steam Deck from within its Gaming Mode, and not its Desktop mode! Thanks for the help!