Mafia если у тебя linux

Установка и запуск Mafia II в Wine

Mafia II — новых хит от компании 2K Games. Игра представляет собой продолжение первой части Mafia, кстати, о том как запустить первую часть Mafia в Linux, я уже писал тут: Установка и запуск Mafia: The City of Lost Heaven в Wine .

Релиз Mafia II был в августе 2010 года.

Действия проходили в openSUSE 11.3 и ATI/AMD Catalyst 11.1.

Первое, что нам потребуется, это MS DirectX. Для его установки, читаем эту статью: Устанавливаем MS DirectX9x в Wine . Готово!

Далее нужно установить MSI Windows Installer 2.0. Чтобы его установить, заходим в терминал и вводим команду:

После завершения, вводим еще одну команду:

Начнется процесс загрузки и установки MSI Windows Installer 2.0.

Следующее, что нам надо, это AGEIA PhysX от NVIDIA. Для установки, вводим команду в терминале:

Именно для AGEIA PhysX нам был необходим MSI Windows Installer. Без него, он не устанавлевается.

После того как установили MS DirectX, MSI Windows Installer и AGEIA PhysX, теперь можно начать установку сервиса Steam. Об установке Steam в Linux, я писал уже в статье ранее, читаем — Установка Steam в Linux .

Как Steam установлен и вы сделали Логин, окроется перед нами окно:

Теперь в правом верхнем меню, где написано «Search the store», пишем Mafia и далее выбираем Mafia II Demo, так как она бесплатная.

Далее вводим дату своего рождения, можно ввести все, что угодно, только чтбы возраст был больше 21 года 🙂 Сделали! Откроется следующее окно и на нем ищем справа вот это:

Нажимаем «DOWNLOAD DEMO» и начнется процесс загрузки игры. Размер около 1,1 ГБ. Как игра скачается и установится, закрываем Steam и идем в директорию:

.wine/drive_c/users/ /Local Settings/Application Data/2K Games/Mafia II/Saves

и создаем или изменяем файл videoconfig.cfg. Вносим в него текст в формате:

bpp bpp resX resY 0 0 0 1, например: 24 24 1280 800 0 0 0 1.

Сохраняем и запускаем опять Steam и далее игру Mafia II.

Источник

Как поставить Mafia the city of lost heaven в wine?

Как-то раньше ставил, но сейчас чето не выходит, целый день мучаюсь. В терминале выдает

err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111

err:ole:CoGetClassObject no class object could be created for context 0x1

wine: Unhandled page fault on read access to 0x00000000 at address 0x7c1b9d1f (thread 003e), starting debugger.

В подробнее выдает тонну непонятных циферок (на самом деле там дамп памяти в шестнадцатеричном виде, но по нему нихрена не понятно).

В playonlinux требуют вставить диск, я примонтировал все как надо, указывал путь к диску, оно тупо не видит диск перед носом. При попытке установить как отсутствующую в списке программу выдает ошибку про POL_Wine, что он не поддерживается или что-то в этом духе. При установке Mafia 2 такая же ошибка выдается, но в случае с 1 мафией она выдается еще до установки, в случае с 2-й — после. Короче спасите, хочу в очередной раз перепройти мафию, а винду ставить неохота.

Я не понял, ты ставишь в PlayOnLinux, WineGame или своими силами в Wine? С первым не помогу, со вторым жди автора, в для третьего нужен список dll-ок и последовательность действий. Какой драйвер видеокарты? Какой версии вайн? Стэйджинг ли? Какой версии игра? Если ставил через POL, можешь не напрягаться, я тебе точно буду бесполезен и тужиться друг перед другом — пустая трата времени и сил.

Читайте также:  Windows file system cache size

Пытался всеми способами. Больше всего успеха добился в wine. Дрова свободные ибо поставить проприетарные дровишки на мою видюху на debian unstable физически нереально, видюха устарела. Но я точно помню, что никакой проприетарщины не ставил и играл мафию через вайн, так что проблема не должна быть в дровах. Вайн последний, 2.0.2, стабильный. Игра без понятия какой версии, англицкий текст и озвучка. Что такое POL вообще не в курсе.

Список либ, которые ставил — ставил все подряд, чтобы точно ничего не забыть. Конечно, не все либы, что есть, но все же. d3d8, d3d9, d3dx9_последний, dsound, dplay, dplayx, msvcrt (вроде правильно — ms vcredist)

WineGame — это альтернатива POL от одного ЛОРовца, написанная на плюсах и юзающая Qt4. Сам не тыкал.

Игра без понятия какой версии, англицкий текст и озвучка.

Хотя бы приблизительно прикинь, какого она года (бери во внимание наложенные патчи-обновления), может вайн для игры слишком свеж (такое бывает, да). Попробуй накатить стэйджинг.

Дурью ты маешься.

ШТО?! Зачем? Мафия НАМНОГО свежее восьмого директикса, он ей никуда не упёрся.

В общем, наводи порядок в либах, ставь только нужное, тогда и разгребать будет проще. И порядок либ порой тоже важен, выставляется в winecfg.

Качаю готовый префикс с игрой, там посмотрю, в чем ошибся. Пока качается попробую стейджинг. Про порядок либ удивил.

Там ещё можно некоторые либы выбрать между вайновыми встроенными и внешними установленными (если доступно).

Как минимум версией вайна.

Дрова свободные ибо поставить проприетарные дровишки на мою видюху на debian unstable физически нереально, видюха устарела

Можно поподробнее, какая видюха?

Рылгар, ты не спросил, какая у него видеокарта. От этого многое зависит

ты не спросил, какая у него видеокарта

Ставлю планку рамы, что невидия, ибо:

Дрова свободные ибо поставить проприетарные дровишки на мою видюху на debian unstable физически нереально, видюха устарела.

UPD: тщорд, я только что просрал свою последнюю планку рамы…

ATI Radeon HD 3600 series. Проблема уже решена, поставил wine 1.3.30 и все работает на максималках с хорошим FPS. Кажется, даже лучше, чем на винде (очень странно, что на свободных дровах через вайн работает лучше, чем на винде, но это так. Самому слабо верится).

Источник

Mafia 2 Linux Wine D9VK

Mafia 2 Linux Wine D9VK – how to play this game on Linux.

Vito Scaletta has started to make a name for himself on the streets of Empire Bay as someone who can be trusted to get a job done. Together with his buddy Joe, he is working to prove himself to the Mafia, quickly escalating up the family ladder with crimes of larger reward, status and consequence… the life as a wise guy isn’t quite as untouchable as it seems.

Enter the world of Empire Bay – World War II is raging in Europe and the architecture, cars, music and clothing all echo the period in stunning detail. As time passes, hot rod cars, 50s fashion and some of the era’s best music reflect the birth of a cool new era.

Mafia 2 Linux Wine D9VK – how to play this game on Linux.

Mafia II uses 2K Czech’s proprietary Illusion Engine which isn’t available for Linux. However, you can play this game without any problems via Wine and some other components. If you wonder how to do it, read on. Lets begin!

Читайте также:  Как отключить автоматическую установку приложений windows 10

For this game you’ll need Wine or Wine-Staging, DirectX 9, D9VK, and NVIDIA PhysX.

Mafia 2 will run fine with Wine only but you’ll get a better performance with D9VK. If you don’t know how to install it, you can follow our understandable D9VK installation guide.

For DirectX 9 installation you have two choices:

  • Install Wine DirectX 9 impementation (d3dx9) via winetricks:
  • Install DirectX 9 via Microsoft’s official installer:

You’ll have to download Microsoft’s official installer and run it with double click just like in Windows. Follow the installer’s steps.

NVIDIA PhysX installation is easy as:

If you want a smoother gameplay, you can also try ESync.

All done! Now you can play Mafia 2 on Linux!

Mafia 2 on Linux with Wine and D9VK.

  • Wine version used in the video: Wine-Staging 4.13 with ESync enabled.
  • D9VK version: 34b0e536
  • NVIDIA driver: 430.40

Link to the official D9VK project site – here.

For any questions don’t hesitate to use the comments section bellow.

Источник

Mafia если у тебя linux

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=»

» 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

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

mafia_wine.tar.xz
(853.9 kB, SHA256: ec33da97eb496cb0c42ce0e4c7c68d4a397bac4ed3aa6e5f6d16e2648e0da90f)

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

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 & Discussion and/or The «Judas™ 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 & Discussion

Читайте также:  Нет доступа сетевого ресурса windows 10

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

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

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

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 & Discussion and/or The «Judas™ does this run in Wine» thread v1.173.

./locale/share/Mafia it also writes something in its main directory. How can this problem be solved?

Hi, it would awesome to play Mafia on Linux Mint, but it’s not working for me. The menu opens when I run «start.sh», but when I choose Play or Game Settings, no new window opens but the following lines appear in the terminal (with no apparent error):

Running: Game.exe
Working directory: /home/gaspar/mafia_wine/Mafia/prefix/drive_c/Mafia
Not forcing virtual desktop

Then, after a short while:

-> Red 1.000, Green 1.000, Blue 1.000
Red 1.000, Green 1.000, Blue 1.000

Chances are that you’re missing some dependencies that Wine needs. Try running the start script from the terminal with WINEDEBUG=»» set, e.g.:

WINEDEBUG=»» ./start.sh play

And see if any error messages pop up in the terminal that give any clues as to what’s failing.

You can also generate a system report and check that for any signs of issues; you can do this by running the start script and selecting «Advanced options. » —> «Create system report» from the menu

Thanks very much for the quick and helpful reply! Yeah you are right now I get a bunch of error messages, apparently related to one or more missing dependencies:

Источник

Оцените статью