Installing the game on MacOS: Difference between revisions

From Vintage Story Wiki
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><br>(You might need to tweak the filename here based on the version you've downloaded at step 2.)
::: <code>arch -x86_64 sudo installer -pkg dotnet-runtime-7.0.14-osx-x64.pkg -target /</code>
:: 4. Install Homebrew for x64 using these commands in Terminal:
(You might need to tweak the filename here based on the version you've downloaded at step 2.)
: 4. Install Homebrew for x64 using these commands in Terminal:
::: <code>cd ~/Downloads
::: <code>cd ~/Downloads
mkdir homebrew
mkdir homebrew
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
sudo mv homebrew /usr/local/homebrew
sudo mv homebrew /usr/local/homebrew
export PATH=$HOME/bin:/usr/local/bin:$PATH</code>
export PATH=$HOME/bin:/usr/local/bin:$PATH</code>
:: 5. Install Cairo by typing the following in Terminal:
: 5. Install Cairo by typing the following in Terminal:
::: <code>arch -x86_64 /usr/local/homebrew/bin/brew install cairo</code>
::: <code>arch -x86_64 /usr/local/homebrew/bin/brew install cairo</code>
:: 6. Now download the game itself from [https://account.vintagestory.at/ Vintage Story Client Area] as described above, clicking on (Show all available downloads and mirrors of Vintage Story) and choosing the Mac OS App.
: 6. Now download the game itself from [https://account.vintagestory.at/ Vintage Story Client Area] as described above, clicking on (Show all available downloads and mirrors of Vintage Story) and choosing the Mac OS App.
:: 7. In Terminal, cd into the game folder
: 7. In Terminal, cd into the game folder
::: <code>cd ~/Downloads/vintagestory.app/</code>
::: <code>cd ~/Downloads/vintagestory.app/</code>
:: 8. Copy (symlink) the Cairo library into the game folder, basically inside 'vintagestory.app'
: 8. Copy (symlink) the Cairo library into the game folder, basically inside 'vintagestory.app'
::: <code>ln -s /usr/local/homebrew/lib/libcairo.2.dylib libcairo.so.2.dylib
::: <code>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</code>
ln -s /usr/local/homebrew/lib/libcairo.2.dylib libcairo.2.dylib</code>
:: 9. Run the game (you'll need to do this every time you want to play)
: 9. Run the game (you'll need to do this every time you want to play)
::: <code>arch -x86_64 ./Vintagestory</code>
::: <code>arch -x86_64 ./Vintagestory</code>


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

edits