Installing the game on MacOS: Difference between revisions

From Vintage Story Wiki
Line 19: Line 19:
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.
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 <code>arch</code> 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.
''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 <code>arch</code> as detailed below.  The Vintage Story developers intend in future 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 [https://discord.com/channels/302152934249070593/1180622192027914310/1182672688527966400 Discord], originally based on a [https://www.vintagestory.at/forums/topic/11017-mac-users-does-the-net7-build-work-for-you/#comment-47058 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.
The following step-by-step guide is offered by user Finn on [https://discord.com/channels/302152934249070593/1180622192027914310/1182672688527966400 Discord], originally based on a [https://www.vintagestory.at/forums/topic/11017-mac-users-does-the-net7-build-work-for-you/#comment-47058 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.
Line 26: Line 26:
# As described above, download an installer for x64 .NET Runtime from [https://dotnet.microsoft.com/en-us/download/dotnet/7.0 Microsoft]. As above, make sure to get the x64 Version - not the Arm64 version (for now)!  .NET Runtime 7.0.14 is recommended  
# As described above, download an installer for x64 .NET Runtime from [https://dotnet.microsoft.com/en-us/download/dotnet/7.0 Microsoft]. As above, make sure to get the x64 Version - not the Arm64 version (for now)!  .NET Runtime 7.0.14 is recommended  
# Install .NET Runtime by typing the following in Terminal:
# Install .NET Runtime by typing the following in Terminal:
<code>arch -x86_64 sudo installer -pkg dotnet-runtime-7.0.14-osx-x64.pkg -target /</code>
<code>arch -x86_64 sudo installer -pkg dotnet-runtime-7.0.14-osx-x64.pkg -target /</code><br>(You might need to tweak the filename here based on the version you've downloaded at step 2.)
<br>(You might need to tweak the filename here based on the version you've downloaded at step 2.)
# Install Homebrew for x64 using these commands in Terminal:
# Install Homebrew for x64 using these commands in Terminal:
<nowiki>cd ~/Downloads
<nowiki>cd ~/Downloads
Confirmedusers, editor
348

edits