Installing the game on Linux/ru: Difference between revisions

From Vintage Story Wiki
No edit summary
(Created page with "==Обновления игры==")
Line 24: Line 24:
Файлы игры также содержат скрипт <code>install.sh</code>, предназначенный для установки игры в <code>~/ApplicationData/vintagestory/</code> и создания ярлыка на рабочем столе. По-видимому, этот сценарий установки работает не для всех, поэтому вам может потребоваться выполнить эти шаги вручную или создать целевую папку установки перед запуском сценария (может быть проблема с правами доступа?). Для получения более подробной информации обратитесь к ветке форума, ссылка на которую приведена ниже. .
Файлы игры также содержат скрипт <code>install.sh</code>, предназначенный для установки игры в <code>~/ApplicationData/vintagestory/</code> и создания ярлыка на рабочем столе. По-видимому, этот сценарий установки работает не для всех, поэтому вам может потребоваться выполнить эти шаги вручную или создать целевую папку установки перед запуском сценария (может быть проблема с правами доступа?). Для получения более подробной информации обратитесь к ветке форума, ссылка на которую приведена ниже. .


==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 <code>/assets/</code> folder from your previous Vintage Story installation.  If you simply extract the archive into an existing game installation folder without deleting <code>/assets/</code>, 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.
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 <code>/assets/</code> folder from your previous Vintage Story installation.  If you simply extract the archive into an existing game installation folder without deleting <code>/assets/</code>, 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.

Revision as of 07:02, 10 March 2022

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 и т. д.) ознакомьтесь с инструкциями здесь.

Установка openal

OpenAL — это кроссплатформенная аудиобиблиотека, необходимая для игровых звуков в Vintage Story. Возможно, он уже установлен у вас в стандартной комплектации или для другой игры или приложения. Если у вас его еще нет, установите его с помощью этой команды: apt-get install libopenal-dev Если возникнут проблемы с этим, найдите, как установить OpenAL.

Запуск игры

После установки mono(и, возможно, также openal), вы готовы начать игру.

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

Файлы игры также содержат скрипт install.sh, предназначенный для установки игры в ~/ApplicationData/vintagestory/ и создания ярлыка на рабочем столе. По-видимому, этот сценарий установки работает не для всех, поэтому вам может потребоваться выполнить эти шаги вручную или создать целевую папку установки перед запуском сценария (может быть проблема с правами доступа?). Для получения более подробной информации обратитесь к ветке форума, ссылка на которую приведена ниже. .

Обновления игры

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