Меню Рубрики

Mta для mac os

MacOS

[[|link=]] Warning: This page is intended for developers. If you are here looking for instructions to install the client on macOS, please read this page!

This page is incomplete, and is still being updated by developers. If you are here to learn how to run MTA on OS X, you only need to read the first section «Making Your Own Wrapper».

Contact User:qaisjp if you need any help with anything on this page.

Contents

User Experience

This section outlines what our automated version will do.

A .dmg file will be distributed. EULAs can be embedded within .dmg files.

This file will contain a link to the Applications folder and the Multi Theft Auto application. The user is expected to transfer the application to the applications directory before running.

The application will:

  • confirm we are not running from an img file
  • check if there is currently a valid GTA:SA directory
    • if not, prompt for a directory.
    • Wineskin does not support symbolic links. Once the directory has been chosen, we copy the gta_sa.exe file over and directory junction the rest of the files.
  • start Multi Theft Auto for us automatically

Making Your Own Wrapper

This section is written like a tutorial for public consumption, but is intended to serve as working documentation to aid the automated version in development. It is recommended that you read through this entire section (including the «Tips» section at the bottom) before following the tutorial, if you wish to build your own Wineskin wrapper. You do not need to read any other sections.

Grabbing the Winery

  • Grab the Wineskin Winery. At the time of writing, v1.7. This allows you to create your own wrapper.
  • Open Wineskin Winery.app, and click «Update» underneath «No Wrapper Installed» to download the master wrapper..
  • Now click the + plus button. This will bring up a new window titled «Add Engine».
  • Select the latest engine (at the time of writing, WS9Wine1.9.15) and click the blue «Download and Install» button.
  • Now you can click «Create New Blank Wrapper» button at the bottom of the «Wineskin Winery» window.
  • Call the application whatever you like, «Multi Theft Auto» is a good name to use.
  • You may receive a firewall dialog. Press «Yes».
  • Allow the wrapper to be created. This will take some time.
  • A new wrapper will be generated in the Applications folder in your home folder. It will not appear in your main Applications folder (which resides in the root of your drive, for all the users).

Now we have generated an empty wrapper, we need to add GTA, install MTA, and configure some other settings.

Running San Andreas

Firstly, we will test out Grand Theft Auto: San Andreas. For the sake of this tutorial we will assume that you already have a folder containing your GTA:SA files (copied over from a Windows installation). You may need a no-cd version of the exe.

Источник

Компилирование MTASA на Mac OS X

Чтобы собрать выделенный сервер Multi Theft Auto, вам понадобится снабдить свою систему определенными библиотеками и инструментами. А чтобы их получить, вам понадобится установить новейший релиз MacPorts

Так как наше программное обеспечение зависит от определенных широко известных библиотек, которые не идут в комплекте с vanilla Mac OS X системой, вам может понадобиться установить их в первую очередь

После установки MacPorts, вам следует установить пакеты из списка ниже:

1. pcre
2. zlib
3. google-sparsehash
4. curl

Чтобы их установить, воспользуйтесь командой port install в окне Терминала. Если вы работаете не из-под root, понадобится перед этим еще и добавить sudo.

MacPorts по умолчанию устанавливается по пути /opt/local, так что нам понадобится указать соответствующие флаги для поиска путей компилятору и linker»у у команды configure.

Ваш vanilla сервер будет скомпилирован и установлен в директорию MTA10_Server/output/.

Источник

RU/Building MTASA Server on Mac OS X

Contents

Подготовка системы

Чтобы собрать выделенный сервер Multi Theft Auto, вам понадобится снабдить свою систему определенными библиотеками и инструментами. А чтобы их получить, вам понадобится установить новейший релиз MacPorts.

Наш сетевой модуль поставляется как прекомпилированная двоичная библиотека. Новейшую версию для Mac OS X можно скачать со страницы закачек на GitHub.

Настройка MacPorts

Так как наше программное обеспечение зависит от определенных широко известных библиотек, которые не идут в комплекте с vanilla Mac OS X системой, вам может понадобиться установить их в первую очередь. С ПО MacPorts вы можете с легкостью скачать и установить их, следуя инструкции по установке на macports.org.

После установки MacPorts, вам следует установить пакеты из списка ниже:

Чтобы их установить, воспользуйтесь командой port install

в окне Терминала. Если вы работаете не из-под root, понадобится перед этим еще и добавить sudo.

Компилирование сервера

MacPorts по умолчанию устанавливается по пути /opt/local, так что нам понадобится указать соответствующие флаги для поиска путей компилятору и linker’у у команды configure.

Ваш vanilla сервер будет скомпилирован и установлен в директрию MTA10_Server/output/.

Источник

qaisjp / mtasa-macos.md

MTA:SA on macOS instructions

This does not work on macOS Catalina.

macOS Catalina removes support for 32bit software. A 64bit version of Wine does exist, but it’s not easy to make 32bit software run inside 64bit Wine — at least not on macOS.

Other options include:

  1. Download mtasa-1.5.6.exe
  2. Make sure you have the GTA San Andreas folder copied to your computer.
    • You might need a GTA SA 1.00 No CD crack — any HOODLUM release will do.
  1. Make sure you have Homebrew installed.
  2. Get the latest staging version of Wine, you can do this by running the following commands:
    • brew tap homebrew/cask-versions : import the Homebrew repository for alternate cask versions
    • brew cask install wine-staging : install wine-staging
  3. Run wine start explorer.exe and press «Install» if prompted about Wine Mono.
    • Tip: if you are not prompted about Wine Mono now, make sure you select Install if you are ever prompted to install it in the future.
    • Help the developers: if you are not prompted about Wine Mono, or if you are prompted about it in the future, please tell us in #development on the MTA Discord.

Tips:

  • Your macOS user folder is in the Z: drive. Note that can find your Downloads folder at Z:\Users\ \Downloads .
  1. Run wine start explorer.exe and navigate to gta_sa.exe .
  2. Verify that the game works properly.

Gotchas:

  • If you get stuck after the NVIDIA logo, just hit Space to skip the Rockstar logo videos that would ordinarily play.

Tips:

  • You can use Cmd+Tab to minimise GTA San Andreas.
  • Start GTA from the Terminal like this: wine start /unix

/Documents/Projects/mtasa/macos/Rockstar\ Games/GTA\ San\ Andreas/gta_sa.exe

  1. Navigate and run mtasa-1.5.6.exe using your preferred method (from explorer.exe or from the Terminal, as above).
  2. Install MTA normally.

Verify MTA works

  1. Start MTA (from the installer, or by navigating through C:\Program Files (x86)\ )
  2. Hit Map Editor
  3. Make sure you can fly around the GTA map!
  4. Process to test CEF (see below)

Running MTA in the future

You can run MTA in the future by:

  1. Opening Terminal.app
  2. Running wine start /unix

/.wine/drive_c/Program\ Files/MTA\ San\ Andreas\ 1.5/Multi\ Theft\ Auto.exe

CEF stands for Chromium Embedded Framework. It is essential that this works for you.

This section has been copied to the following AppDB entries: 1.5.6

Test CEF

  1. Open the console by hitting the backtick key (to the left of the 1 key)
  2. Enter start webbrowser
  3. Close the console using the same key, and press the Chromium icon in the bottom left corner.
  4. If you do NOT see the MTA website, please see the «Fix CEF» section below.
  5. Help the developers: If you see the MTA website (without the need to fix CEF), please tell us in #development on the MTA Discord.

Fix CEF

/.wine/drive_c/Program Files/MTA San Andreas 1.5/MTA» and hit Enter

Type ln -s libcef.dll chrome_elf.dll icudtl.dat natives_blob.bin v8_context_snapshot.bin snapshot_blob.bin CEF/

If you previously followed an earlier version of these instructions and this line complains about File exists , first run the following commands, then reattempt the above command:

Test this feature as described above.

If it does not work, cry. Help the developers: please tell us in #development on the MTA Discord

Enable EAX

  1. Type winecfg into a Terminal
  2. Navigate to «Staging»
  3. Enable EAX for mysterious improvements

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Mt4 для mac os
  • Mstsc для mac os
  • Msi afterburner mac os
  • Ms project для mac os аналоги
  • Ms office под mac os