Dayz server linux depot

denisio/Dayz-Linux-Server

Use Git or checkout with SVN using the web URL.

Work fast with our official CLI. Learn more.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

A private hive DayZ 1.8.0.3 server on Linux

The following programs must be installed on your Linux system: screen, tar, gcc, perl, mysql.

Download and install newest ArmA beta patch (http://www.arma2.com/beta-patch.php).

Copy the whole «ArmA 2: Operation Arrowhead» directory from Windows to server Linux-directory.
ArmA2 directory should contain subdirectories «Addons», «Dta», «Expansion», etc.
Example: pack with PKZIP (WinZip, PowerArchiver, etc.) on Windows and unpack with «unzip» on Linux.
DO NOT use upper case letters in the ArmA2 directory name (or in any files that the server uses like missions or mods):
GOOD: «/home/bob/arma2arrowhead»
BAD: «/home/bob/ArmA2ArrowHead»
http://rutor.org/torrent/240581/

Run ./install
Watch the messages — they might inform you whether your installation failed. Double check that all directories were renamed to lower case. Remove any .dll files you might still find (in battleye, expansion and expansion/battleye directories).
When adding mission .pbo’s or mods remember to run ./tolower again or manually change the filenames to lowercase.
ANY uppercase letter in a filename will crash the server!

Create database «dayz» (login: «dayz», password: «dayz») and load database.sql into Mysql.
Load vehicle objects:

$ chmod +x install server *.sh *.pl
$ sudo apt-get install libjson-xs-perl
For 64-bit only:
$ sudo apt-get install lib32stdc++6

Источник

bastimeyer/dayz-linux-cli-launcher

Use Git or checkout with SVN using the web URL.

Work fast with our official CLI. Learn more.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

DayZ Linux CLI Launcher

This is an experimental launcher script for DayZ standalone on Linux when running the game via Proton.

Proton is currently unable to start the game’s own regular launcher application which sets up mods and launch parameters for the game client. The game however does work fine when launching the client directly, so mods can be set up and configured manually, which is what this script does, similar to what the launcher would do.

Automatic Steam workshop mod downloads are currently unsupported due to a limitation of Steam’s CLI. Workshop mods will therefore need to be subscribed manually via the web browser. A URL for each missing mod will be printed to the output.

Please see the «Install DayZ» section down below on how to get the game running on Linux.

The server’s query port, not to be confused with the server’s game port. Default is: 27016 Environment variables: STEAM_ROOT Set a custom path to Steam’s root directory. Default is: $/.local/share>/Steam which defaults to

Читайте также:  Chrome web browser linux

/.local/share/Steam If the flatpak package is being used, then the default is:

/.var/app/com.valvesoftware.Steam/data/Steam If the game is stored in a different Steam library directory, then this environment variable needs to be set/changed. For example, if the game has been installed in the game library located in /media/games/SteamLibrary/steamapps/common/DayZ then the STEAM_ROOT env var needs to be set like this: STEAM_ROOT=/media/games/SteamLibrary»>

Third party server query API

Server data is queried via the third-party dayzsalauncher.com JSON API when using the —server parameter. Previously, this was done via the daemonforge.dev JSON API, which unfortunately wasn’t perfectly reliable. Please try running the launcher again if the query times out, and if the data returned by the server query API doesn’t reflect the server’s actual mod IDs, then custom mod IDs will need to be set as launch arguments.

Steam doesn’t launch the game

Sometimes the game doesn’t launch despite the launcher correctly passing the right parameters to Steam. This is usually caused by a broken singleton process detection of Steam, where it passes the game’s launch parameters to the original Steam process and then terminates. Restarting Steam and re-running the launcher fixes the issue.

One of the main reasons why this can happen is an unresolved bug in the Steam client which causes Steam to become unresponsive when launching it via -applaunch and passing arguments that reach a certain threshold in length. This problem occurs when trying to join servers which require loading lots of mods and which therefore increase the length of the launch parameters. In order to overcome this limitation, mod directories have been shrinked as much as possible in the 0.5.0 release, so that the launch parameters can be kept as short as possible. This comes at the cost of not being able to tell mod directories apart in the DayZ game directory, at least as a human, but this should solve the issue for the vast majority of servers. Please report any further issues on the issue tracker. Thank you.

Case sensitivity of mod-internal file paths

Due to mods being developed on Windows and Windows not differentiating between file paths with different cases, mod developers sometimes don’t care about case sensitivity of file names and directories. This can lead to loading issues on Linux when a file system without case insensitivity support is being used.

In case of ext4, which is the default file system on most distros, case insensitivity has only been implemented in kernel 5.2, which was released in July 2019 (later improved for encrypted file systems in kernel 5.13, released in June 2021). The requirements for enabling case insensitivity are an ext4 filesystem created with at least kernel version 5.2 while the casefold option was set, as well as the +F flag being set on one of the parent directories.

Please refer to your distro’s documentation or search engine of choice for how to properly enable case folding/insensitivity on your file system and whether it’s supported.

  • Rewrite in Python
  • Don’t use a third party server query API and query the server directly
  • Install mods automatically
    Unfortunately, Steam doesn’t support downloading workshop mods via the CLI and only the steamcmd CLI utility seems to be able to do this from a command line shell context, but this requires a Steam login via CLI parameters, which is a bit unpractical.
  • If possible, resolve mod dependencies

To install the launcher script, simply clone the git repository:

or download the raw script file from GitHub and make it executable (check the script file contents first before running it):

In order to get the game running on Linux, you first have to install the Steam beta client (see Steam’s settings menu). Then install Proton Experimental and the Proton BattlEye Runtime (filter by «tools» in your games library). After that, set the «Steam play compatibility tool» for DayZ to «Proton Experimental» (right-click the game and go to properties).

Читайте также:  Картридж для лазерного мфу samsung scx 4200

Источник

Как я могу разместить DayZ Standalone на удаленном сервере Linux? Я получаю сообщение «Wine Mono не установлен»

Я пытаюсь разместить автономный сервер DayZ в Linux, и мне нужно Wine для запуска EXE-файла. Я загрузил вино двумя разными способами: Winehq и wine64, ни один из которых не работал.

Когда я пытаюсь запустить сервер, я получаю сообщение об ошибке «Wine Mono» не установлен. Я использую удаленный сервер, поэтому не могу использовать графический интерфейс. Когда я пытаюсь использовать Wine для удаления или уловки с вином, я получаю сообщение об ошибке Display. У меня нет дисплея.

Как я могу это исправить?

1 ответ

Переадресация Х

Этот ответ предполагает, что вы используете — или можете использовать — ssh получить доступ к серверу. Чтобы избежать двусмысленности, я назвал сервер, на котором вы хотите установить DayZ Standalone Server, «сервером SSH». Напротив, «X-сервер» — это программа, которая работает на SSH-клиенте. Клиент SSH — это машина, которую вы используете для подключения к серверу. Я предполагаю, что сам клиент SSH имеет графический интерфейс.

До тех пор, пока на машине клиента SSH установлен дисплей и установлен X-сервер (например, X.org), не должно быть проблемой, что на сервере SSH его нет. Если на SSH-клиенте установлен X-сервер, вы можете запустить

с ssh-server заменяется фактическим именем хоста или IP-адресом SSH-сервера. Затем вы можете запускать графические программы на SSH-сервере, и их графические интерфейсы будут создаваться на SSH-клиенте. То есть вы запускаете команду в сеансе SSH, которая запускает графическую программу, и на вашем рабочем столе появляется окно программы, даже если сама программа работает на сервере SSH.

Если клиентом SSH является Ubuntu или другая система GNU/Linux и на нем установлен графический пользовательский интерфейс, то вам, вероятно, не нужно устанавливать на нем ничего другого. В противном случае X-сервер может быть или не быть доступным. В частности, Windows не поставляется с одним. Доступны различные X-серверы для Windows, такие как VcXsrv.

Как вы правильно сказали, трудности, с которыми вы столкнулись до сих пор, полностью связаны с невозможностью запуска графических программ. ssh -X от клиента SSH, на котором запущен X-сервер, обычно достаточно, чтобы решить эту проблему.

С этого момента все инструкции по установке предназначены для запуска на сервере SSH.

Тестирование X Forwarding

Я предлагаю сначала проверить это с чем-то простым:

  • xclock запускает простое графическое приложение часов. Это хороший выбор для тестирования перенаправления X. xclock предоставляется в x11-apps пакет.
  • Чтобы проверить, работает ли Wine в этой ситуации, вы можете использовать wine notepad или wine explorer ,

Хотя некоторые библиотеки требуются на сервере SSH для этого, wine пакет имеет x11-common Пакет как зависимость, которой достаточно для их предоставления.

64-битное и 32-битное Wine

Я полагаю, вы установили wine пакет уже, но для читателей, которые не имеют:

Если сервер SSH работает под управлением 64-разрядной системы Ubuntu (весьма вероятно), и вам необходимо запустить 32-разрядные программы Windows, вы можете включить установку 32-разрядных пакетов и установить wine32 пакет:

Winetricks

winetricks и установщики, которые он автоматически загружает и запускает, скорее всего, будут работать. Но если вы хотите использовать winetricks собственный графический интерфейс — который я рекомендую — тогда вам понадобится zenity пакет. Но я не рекомендую устанавливать zenity обычным способом, потому что это потребует огромного количества программного обеспечения в качестве зависимостей — в основном, весь графический интерфейс на сервере, который вам не поможет. Вместо этого установите zenity с:

Это может по-прежнему устанавливать множество библиотек в качестве зависимостей, но гораздо меньше, и никакой бесполезный X-сервер. (X-сервер не работает на SSH-сервере, который, как вы говорите, не отображается.)

Wineprefixes

Возможно, вы захотите создать использование wineprefix, особенно если вам нужно запускать 32-битные программы Windows с Wine. См. Как мне создать 32-битный префикс WINE?

Читайте также:  Ajax плагины для joomla

Winetricks может помочь с этим. Когда вы запускаете его и не передаете никаких аргументов, появляется его графический интерфейс, и один из вариантов:

Если вы выберете это и нажмете OK, вам будет предложено выбрать вашу архитектуру (опции называются «32» и «64» и указать имя для префикса).

Дополнительную информацию, в том числе о том, как выбрать wineprefix для запуска программ, смотрите в разделе Как установить 32-битную Wine на 64-битную Ubuntu? в том числе ответ Смак.

Wine Mono или.NET Framework

Если Wine Mono не установлен, вы можете скачать .msi файл для этого с сайта Wine. На момент написания статьи последняя версия 4.9.4.

Поскольку ответ PSN на Mono Package for Wine не установлен, говорит необычная команда wine uninstaller может быть использован для его установки. Без указания префикса Wine, установите его для 64-битного Wine, предполагая, что сервер 64-битный. (Хотя есть wine32 пакет, больше нет отдельного wine32 команда; вместо этого используйте 32-битный wineprefix.)

Еще один способ бега uninstaller что может быть проще, если вы сделали префикс wineprefix, который вы хотите использовать, это запустить winetricks и, выбрав свой префикс, выберите:

В качестве альтернативы Wine Mono вы можете установить Microsoft .NET Framework в Wine. Какая версия вам нужна, зависит от приложения, для которого она вам нужна. Вы можете установить их с помощью Winetricks, в:

Установите Windows DLL или компонент

Ваш пробег может варьироваться.

Я не знаю, насколько хорошо это будет работать для запуска автономного сервера DayZ. Но если автономному серверу DayZ нужен только базовый графический интерфейс (в отличие, например, от самой игры) и если он работает в Wine (о котором сообщалось, хотя я не уверен, насколько актуальна эта процедура), то я бы ожидать, что это сработает.

Я обнаружил, что приложения Windows, которые работают локально на Wine, также будут работать на Wine на удаленном SSH-сервере через ssh -X , Однако следует ожидать, что их интерфейсы будут менее адаптивными, чем интерфейсы локальной программы. В зависимости от задержки, надежности и (возможно, в меньшей степени) скорости сетевого подключения к серверу, скорость отклика может быть значительно хуже.

Кроме того, поскольку я не знаю, какую процедуру вы используете для его установки, я дал только общие советы о том, как запускать графические приложения Windows с Wine на сервере SSH (и пересылать X с помощью ssh -X , чтобы сделать это).

Источник

Name already in use

Dayz-Linux-Server / README.md

  • Go to file T
  • Go to line L
  • Copy path
  • Copy permalink

Copy raw contents

Copy raw contents

A private hive DayZ 1.8.0.3 server on Linux

The following programs must be installed on your Linux system: screen, tar, gcc, perl, mysql.

Download and install newest ArmA beta patch (http://www.arma2.com/beta-patch.php).

Copy the whole «ArmA 2: Operation Arrowhead» directory from Windows to server Linux-directory.
ArmA2 directory should contain subdirectories «Addons», «Dta», «Expansion», etc.
Example: pack with PKZIP (WinZip, PowerArchiver, etc.) on Windows and unpack with «unzip» on Linux.
DO NOT use upper case letters in the ArmA2 directory name (or in any files that the server uses like missions or mods):
GOOD: «/home/bob/arma2arrowhead»
BAD: «/home/bob/ArmA2ArrowHead»
http://rutor.org/torrent/240581/

Run ./install
Watch the messages — they might inform you whether your installation failed. Double check that all directories were renamed to lower case. Remove any .dll files you might still find (in battleye, expansion and expansion/battleye directories).
When adding mission .pbo’s or mods remember to run ./tolower again or manually change the filenames to lowercase.
ANY uppercase letter in a filename will crash the server!

Create database «dayz» (login: «dayz», password: «dayz») and load database.sql into Mysql.
Load vehicle objects:

$ chmod +x install server *.sh *.pl
$ sudo apt-get install libjson-xs-perl
For 64-bit only:
$ sudo apt-get install lib32stdc++6

Источник

Поделиться с друзьями
КомпСовет
Adblock
detector