Установка игры на Linux

From Vintage Story Wiki
Revision as of 07:01, 10 March 2022 by Mirotworez (talk | contribs)
Other languages:

Vintage Story использует .NET Framework. На машине с Windows .NET интегрируется с ОС или, по крайней мере, легко устанавливается. Хотя платформа .NET Framework изначально была разработана для платформ Windows, ее также можно запускать в других операционных системах, в частности в Linux, с некоторыми дополнительными действиями.


Установка mono

Для того чтобы играть в Vintage Story на Linux, вам нужно будет использовать утилиту под названием моно. Это позволит вам запускать и другие приложения .NET Framework, а также создавать свои собственные моды.

  • При установке mono на Ubuntu/Debian/Raspbian/CentOS/Fedora, пожалуйста, ознакомьтесь с инструкциями здесь.
  • При установке mono на Arch Linux или любой дистрибутив на базе Arch (Manjaro, Antergos и т. д.) ознакомьтесь с инструкциями здесь.

Installing openal

OpenAL is a cross-platform audio library, needed for the game sounds in Vintage Story. You may have it installed already, as standard or for another game or application. If you don't have it already, install it using this command: apt-get install libopenal-dev Any issues with this, search up how to install OpenAL.

Запуск игры

После установки mono, вы готовы начать игру.

  • Откройте новый терминал.
  • Перейдите в папку с игрой.
  • Введите mono Vintagestory.exe и нажмите enter.

Файлы игры также содержат сценарий под названием install.sh который устанавливает игру в ~/ApplicationData/vintagestory/ и создает ярлык на рабочем столе.

Game updates

Linux users normally update the game by extracting game binary files from the tar.gz downloaded from vintagestory.at. That should work fine, except that it is a good idea to extract those files into an empty folder where possible. If that is not possible for some reason, then we strongly recommend that you at least delete the /assets/ folder from your previous Vintage Story installation. If you simply extract the archive into an existing game installation folder without deleting /assets/, some previous asset files will remain, leading to minor issues - e.g. unintended blocks or items in the game, duplicated guides in the Handbook Guides tab.

(To make things more complicated, some of the downloads with sizes around 50MB contain all the game files except for music. In that case, you shouldn't delete the whole of the /assets/ folder because you would lose the music you already have: instead delete everything in /assets/ except for the subfolders /assets/game/music and /assets/survival/music - keep those subfolders.)

If you use a package manager, that may take care of some of this for you.

Troubleshooting

If you have any issues, the Forum thread on working linux setups might help you considerably. Please do share your own experiences there.

Some players have reported needing to run sudo mono Vintagestory.exe to launch the game the first time: this may depend on how it was installed.

If you cannot log in, try running sudo cert-sync /etc/ssl/certs/ca-certificates.crt or sudo cert-sync /etc/pki/tls/certs/ca-bundle.crt.

Some people report minor graphical issues which are platform and driver dependent. Vintage Story makes use of a large variety of GLSL shaders for its rendering effects including commonplace elements such as grass and leaf colors in different climates. Bugs in the GPU driver's implementation of GLSL may cause artifacts with some of these. There's a chance a driver update might improve the situation. The in-game Graphics settings give high level control over many of the effects, you can try different settings.

A known issue is that screenshots saved using the in-game command (F12) are upside-down, on Linux. The VS dev team have tried multiple times to fix this... possibly it is finally fixed in 1.15.

Template:Navbox/ru