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 Mafia, 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/mafia

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

mafia_wine.tar.xz
(850.5 kB, SHA256: 50541773cd41f0e7f1fd2a37ea2ecee942541a209ff20d13d4c294ebda0e2e53)

Updated 2019/11/07: 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

Behar's widescreen fix is included to provide better support for widescreen resolutions.

I've fully played through the game and it ran perfectly, aside from a few apparently random crashes which could just be issues with the game itself (they weren't a big problem anyway). 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 November 07, 2019 by adamhm
TYVM for your work, adamhm
Would this wrapper conflict with an existing, say latest-version, installation of Wine?

Edit: No need to answer -found out myself. Your wrapper is definitely cool! Had a hard time with jerky mouse cursor on newer wine versions (dev + staging alike).
Post edited December 28, 2017 by MizG
avatar
adamhm: I've put together a Wine wrapper for Mafia, allowing it to be played on Linux almost like a native game & with no Wine knowledge required.

Simply place the script, resource archive and installer files together in the same directory & run the script. The output is a directory containing a "GOG-style" ready-to-go Wine-wrapped version of the game (the build script also has the option to create a tarball of the assembled game package); from there installation is simply a case of moving the directory to wherever you want it installed to - then just run the start script to play :)

(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)

Running the start script with the argument "-s" will have it create a shortcut at a location of your choice.

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

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

mafia_wine.tar.xz
(559.5 kB, SHA256: 5a0b137cab5a17c52c2c2dcbdfcbb0a118b6c3035975dc21ccc04dd93d956c67)

Updated 2018/10/17: Just another small framework update.

The wrapper uses Wine 3.0 with CSMT enabled. 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

Behar's widescreen fix is included to provide better support for widescreen resolutions.

I've fully played through the game and it ran perfectly, aside from a few apparently random crashes which could just be issues with the game itself (they weren't a big problem anyway). 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 see my GOGmix: adamhm's Linux Wine wrappers. Also check out Adamhm's Linux Wine Wrappers - News, FAQ &amp; Discussion
Hey man just installed it on my Elementary OS without a hitch! Thank you so much for this :) greatly appreciated