Installing the game on MacOS

From Vintage Story Wiki
Revision as of 00:51, 7 January 2024 by Radfast (talk | contribs) (Created page with "== Installation on MacOS with Intel silicon == Since game version 1.18.8, Vintage Story is generally compatible with most types of hardware running MacOS, subject to certain issues experienced on some setups. See separate section below for MacOS with Apple silicon, such as recent (late 2023) M1 Mac. It is necessary first to install .NET 7 runtime, any recent version, for example 7.0.14. Download this from https://dotnet.microsoft.com/en-us/download/dotnet/7.0 You d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installation on MacOS with Intel silicon

Since game version 1.18.8, Vintage Story is generally compatible with most types of hardware running MacOS, subject to certain issues experienced on some setups. See separate section below for MacOS with Apple silicon, such as recent (late 2023) M1 Mac.

It is necessary first to install .NET 7 runtime, any recent version, for example 7.0.14. Download this from https://dotnet.microsoft.com/en-us/download/dotnet/7.0 You do not need the SDK. You need the runtime, for example .NET Runtime 7.0.14, MacOS version, x64 version.

To install Vintage Story, in the Client Area click on (Show all available downloads and mirrors of Vintage Story) and select the Mac OS App. You can choose between Stable and Unstable tabs. Download that and make sure you can access its folder ~/Downloads/vintagestory.app/, you may want to create a shortcut to the folder. If you run into difficulty, ask for help on Discord or on a suitable Forum thread.

Which game version? At the time of writing (January 2024) we recommend the latest 1.19 version (1.19.0-rc.6) under the Unstable tab. Although that one is tagged Unstable meaning that it may have some minor new issues with newly added features, generally it fixes numerous things since 1.18.15, including the sky color issue mentioned below. However, if you want to play multiplayer on a server which is still running game version 1.18.15 (for example) then you would need to install Vintage Story version 1.18.15 of course.

Known issues generally:

  • rarely on some MacOS setups, the sky was colored red not its correct blue color, in 1.18 game versions. This has been fixed in all 1.19 releases \o/
  • if an external secondary monitor is used with a laptop, the game window resolution may be locked to the resolution of the primary screen; in 1.19 versions it might be possible to fix this by trying different windowed/fullscreen modes such as windowed borderless
  • if an external trackpad or external mouse is used alongside the primary system mouse, there were previous reports that the external controller was not effective; there have been no recent reports and it is possible this has been resolved by game version 1.18.8.


Installation on MacOS with Apple silicon

Apple's recently released Mac M1, M2 or M3 computers - all since June 2023 - use "Apple silicon" (based on ARM) for better performance, better graphics and lower power consumption.

Currently as of game version 1.19.0, Vintage Story does not run "natively" on ARM64 hardware, but the x64 build of the game (the same as for MacOS with Intel silicon) can be run successfully and with decent performance, using arch as detailed below. The Vintage Story developers intend some time later in 2024 to release a native ARM64 version of the game, but this is dependent on some third-party libraries releasing ARM64 versions, which are not yet available.

The following step-by-step guide is offered by user Finn on Discord, originally based on a forum post by Bohdan Vasylyshyn, reproduced here with thanks. Essentially, some of the steps described are necessary to install the .NET7 Runtime and to make Cairo work with Apple silicon, and you should only need to do this once. Cairo is a third-party code library which is used by Vintage Story for displaying all the in-game text and fonts, and it has to be present for the game to work.

  1. First of all: Make sure you have the latest Command Line Tools for Xcode installed (they come with the OS but you may not have used them before now), otherwise Cairo won't install correctly!
  1. As described above, download an installer for x64 .NET Runtime from Microsoft. As above, make sure to get the x64 Version - not the Arm64 version (for now)! .NET Runtime 7.0.14 is recommended
  1. Install .NET Runtime by typing the following in Terminal:

arch -x86_64 sudo installer -pkg dotnet-runtime-7.0.14-osx-x64.pkg -target / (You might need to tweak the filename here based on the version you've downloaded at step 2.)

  1. Install Homebrew for x64 using these commands in Terminal:

cd ~/Downloads mkdir homebrew curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew sudo mv homebrew /usr/local/homebrew export PATH=$HOME/bin:/usr/local/bin:$PATH

  1. Install Cairo by typing the following in Terminal:

arch -x86_64 /usr/local/homebrew/bin/brew install cairo

  1. Now download the game itself from Vintage Story Client Area as described above, clicking on (Show all available downloads and mirrors of Vintage Story) and choosing the Mac OS App.
  1. In Terminal, cd into the game folder

cd ~/Downloads/vintagestory.app/

  1. Copy (symlink) the Cairo library into the game folder, basically inside 'vintagestory.app'

ln -s /usr/local/homebrew/lib/libcairo.2.dylib libcairo.so.2.dylib ln -s /usr/local/homebrew/lib/libcairo.2.dylib libcairo.2.dylib

  1. Run the game (you'll need to do this every time you want to play)

arch -x86_64 ./Vintagestory

Optionally, you can also place the Game file into your applications folder and start it from there.