- Conan exiles linux dedicated server
- Пример использования Wine и Proton для запуска игры и сервера Conan Exiles.
- Установка выделенного сервера.
- Настройка выделенного сервера.
- Разбор параметров.
- Запуск.
- Разбор команды.
- Завершение работы.
- Conan exiles linux dedicated server
- Conan exiles linux dedicated server
- Installing Conan Exiles Server on Linux (using Wine) including Autoupdater
- Step 1: Installing Dependency Packages
- Step 2: Downloading Wine 2.0
- Step 3: Installing Wine 2.0 and dependencies
- Step 4: Downloading Conan Exiles Server for Windows
- Step 5: Execute the server from within your GUI (can be skipped)
- Step 6: Make it headless (working as a service)
- Step 7: Autoupdater Script
- Step 8: Configure the Server
Conan exiles linux dedicated server
We now have a dedicated server application. You can download it here:
DEDICATED SERVER APP
(However, if you’d like you can continue with the manual server creation process below. )
1. Install «Conan Exiles Dedicated Server» found in your steam library tools.
2. Copy in the yellow text below and edit the Server Name and Server Password Settings found in SteamLibrarysteamappscommonConan Exiles Dedicated ServerConanSandboxSavedConfigWindowsServerEngine.ini
[OnlineSubsystem]
ServerName=YOUR_SERVER_NAME_HERE
ServerPassword=YOUR_DESIRED_PASSWORD_HERE
3 . Copy in the yellow text below and edit the In-game admin password found in SteamLibrarysteamappscommonConan Exiles Dedicated ServerConanSandboxSavedConfigWindowsServerServerSettings.ini
4. Running the server: Navigate to SteamLibrarysteamappscommonConan Exiles Dedicated ServerConanSandboxSavedConfigWindowsServer and run either the StartServer.bat or ConanSandboxServer.exe Click ok to ignore all the dll error messages and you’re now running a dedicated Server!
NOTE: Currently if you try to start the dedicated server build from the steam client, you will get some error messages about steam DLLs. This is not the recommended way to start your server, but it should still work if you skip past the error messages.
By default it will listen on UDP ports 27015 and 7777. You might need to add an exception in your firewall to get the server to show up in the Steam server browser. The bat file that can be used to start the server with details and logs — StartServer.bat
Server ports: This table contains a summary of ports and protocols that are used by Exiles servers.
Источник
Пример использования Wine и Proton для запуска игры и сервера Conan Exiles.
В данной заметке рассмотрен практический пример использования Wine для запуска Windows-программ на Linux.
Рассматриваемая игра — Conan Exiles. Игра создана на базе движка Unreal Engine 4, который довольно хорошо работает на Wine/Proton. Игра и сервер установлены из Steam. Игра будет запускаться через Proton, а выделенный сервер через Wine.
Установка выделенного сервера.
Сначала необходимо установить выделенный сервер — Conan Exiles Dedicated Server.
Через библиотеку Steam в разделе «Инструменты» найти Conan Exiles Dedicated Server и установить его в желаемое место.
Альтернативный вариант установки. Выполнить команду в терминале:
Настройка выделенного сервера.
Базовую настройку оптимальнее производить через предлагаемый разработчиками bat-файл под названием StartServer.bat. Файл располагается в корневом каталоге выделенного сервера:
./steamapps/common/Conan Exiles Dedicated Server/StartServer.bat
Редактирование файла можно осуществить любым удобным текстовым редактором.
Первоначально содержимое файла выглядит так:
Итоговая настройка будет выглядеть примерно так:
start ConanSandboxServer.exe -MULTIHOME=192.168.1.2 -GameServerPort=7777 -GameServerQueryPort=7778 -ServerName=ConanNoos -MaxPlayers=40 -nosteam -AdminPassword=MySuperPass! -log
Разбор параметров.
start — команда на выполнение содержимого bat-файла.
ConanSandboxServer.exe — название исполнительного файла выделенного сервера. В обычном случае путь указывать не требуется.
-MULTIHOME=192.168.1.2 — IP-адрес, на котором будет располагаться выделенный сервер. В данном случае это адрес машины в локальной сети для игры по локальной сети. Для возможности подключения к этому серверу из интернета потребуется белый IP или VPN.
-GameServerPort=7777 — основной порт, по которому будут подключаться игроки. Можно указать любой желаемый из доступных. В межсетевом экране должно быть выдано разрешение на внешние подключения к порту.
-GameServerQueryPort=7778 — порт, на который SteamAPI сделает запрос.
-ServerName=ConanNoos — название севера для списка серверов игры. Любое желаемое в рамках допустимых.
-MaxPlayers=40 — максимальное количество игроков, которые могут быть одновременно подключены к серверу. Ранее пределом было 40 человек, а на момент 2020 года, вроде как, этот лимит был поднят до 70.
-nosteam — позволяет запускать множество экземпляров сервера на одной машине. Так же это решает проблему с ошибкой: «Не удалось подключиться к серверу. Неверный уникальный ID!».
-AdminPassword=MySuperPass! — пароль администратора сервера. Хранится в открытом виде. При желании можно настроить непосредственно из игры.
-log — вести список событий в процессе работы севера. Полезно для отладки и контроля за действиями игроков.
На этом основную настройку можно закончить и сохранить изменения bat-файла. Настройками для игрового процесса удобнее управлять через настройку сервера непосредственно в игре.
Файл с настройками игрового процесса хранится здесь:
./steamapps/common/Conan Exiles Dedicated Server/ConanSandbox/Saved/Config/WindowsServer/ServerSettings.ini
Запуск.
Для запуска выделенного сервера будет использоваться Wine. Через него сервер работает отлично.
Запуск сервера через терминал посредством bat-файла с названием StartServer.bat:
WINEPREFIX=’./steamapps/compatdata/443030/pfx’ wine start /unix ‘./steamapps/common/Conan Exiles Dedicated Server/StartServer.bat’
Разбор команды.
Примечание: В данном случае пути сокращены для лаконичности записи примера, на деле они будут начинаться от корня.
WINEPREFIX=’./steamapps/compatdata/443030/pfx’ — переменной среды WINEPREFIX передаём путь до префикса Conan Exiles Dedicated Server. Префикс автоматически создаётся Proton при первом запуске Conan Exiles Dedicated Server (включить и выключить).
wine start /unix — с такими параметрами Wine сможет запустить bat-файл.
Далее указывается путь до StartServer.bat, который запустит сервер с указанными в нём параметрами.
При успешном запуске в терминале увидим бегущий список выполняемых операций.
Серверу потребуется около 30 секунд для полного запуска.
После этого можно присоединяться через «Прямое подключение» в клиенте игры.
В рамках данного примера в поле «IP и порт» нужно сделать запись следующего вида:
И подтвердить. После некоторых «раздумий» появится загрузочный экран, символизирующий успешный процесс подключения к серверу.
Завершение работы.
Работа севера завершается обычным прерыванием Ctrl + C в терминале. При завершении работы сервер сохранит все нужные данные и безопасно выключится. Полное выключение займёт около 30 секунд.
База данных с состоянием мира и её резервные копии хранятся в этом каталоге:
./steamapps/common/Conan Exiles Dedicated Server/ConanSandbox/Saved/
Персонаж игрока привязан к записи в реестре Windows, а не только к серверу, поэтому если удалить префикс, то персонаж сгинет вместе с ним. В префиксе используются два основных файла реестра:
./steamapps/compatdata/443030/pfx/system.reg
./steamapps/compatdata/443030/pfx/user.reg
Таким нехитрым способом можно легко наслаждаться Conan Exiles на Linux.
Источник
Conan exiles linux dedicated server
878 | уникальных посетителей |
13 | добавили в избранное |
You can use the new Auto-Installer-Script.
I publish a new Tool (conan-script.sh) that creates 3 important scripts.
You can check the Conan-Process via cron and can restart if necessary.
For manual Installation use the Steps below
mkdir Conan cd Conan curl -sqL «https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz» | tar zxvf — ./steamcmd.sh +@sSteamCmdForcePlatformType windows +force_install_dir
/Conan/Serverfiles +login anonymous +app_update 443030 validate +quit
/Conan/Serverfiles /usr/src/wine-3.0/wine ConanSandboxServer.exe -log
/Conan ./steamcmd.sh +@sSteamCmdForcePlatformType windows +force_install_dir
/Conan/Serverfiles +login anonymous +app_update 443030 validate +quit
To Download and Update the Beta-Files, use:
./steamcmd.sh +@sSteamCmdForcePlatformType windows +force_install_dir
/Conan/Serverfiles +login anonymous +app_update 443030 -beta testlive validate +quit
Hello,
I publish a new Tool (conan-script.sh) that creates 3 important scripts.
You can check the Conan-Process via cron and can restart if necessary.
BTW its not my Server, its from an friend also it the first time that i ever meet Linux xD
But we reinstalled the V-Server and did the auto installer and now it should work again.
Ty and another btw im German and realised that u also german 😀
i found some but these still remain
configure: libhal 64-bit development files not found, no legacy dynamic device support.
configure: OSS sound system found but too old (OSSv4 needed), OSS won’t be supported.
configure: libgsm 64-bit development files not found, gsm 06.10 codec won’t be supported.
Источник
Conan exiles linux dedicated server
Installing Conan Exiles Server on Linux (using Wine) including Autoupdater
This tutorial will tell you how to install wine on a linux machine to get the Conan Exiles dedicated server running without windows.
Original Tutorial created by Awful Citizen on Steam, but with a lil bit too many steps. We decided to reduce the tutorial to a bare minimum one to get Conan Exiles running on your machine without the tutorial for setting up a whole linux machine with firewall and more. You need at least minimum knowledge how to administrate a linux server.
This is based on CentOS. Debian is working, too – but you have (obviously) use different packages.
Step 1: Installing Dependency Packages
You will need to install the ‘Development Tools‘ with some core development tools such as gcc, flex, bison, debuggers etc. this software is a must and is required to compile and build new packages, you can install them using YUM command.
Step 2: Downloading Wine 2.0
Download the source file using Wget command under /tmp directory as a normal User.
Step 3: Installing Wine 2.0 and dependencies
It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user.
Note : The installer might take up-to 20-30 minutes and in the middle it will ask you to enter root password.
Step 4: Downloading Conan Exiles Server for Windows
we need to download the
- Create the SteamCMD folder with mkdir /home/steam/steamcmd/ && mkdir /home/steam/exiles && cd /home/steam/steamcmd
- Download SteamCMD with: wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
- Extract the contents of the tar with tar -xzf steamcmd_linux.tar.gz
- Run steamcmd once with /home/steam/steamcmd/steamcmd.sh
- Download the conan server with /home/steam/steamcmd/steamcmd.sh [email protected] windows +force_install_dir /home/steam/exiles +login anonymous +app_update 443030 +quit
Step 5: Execute the server from within your GUI (can be skipped)
run the following command to start the server:
you can stop the server by pressing CTRL+C.
Step 6: Make it headless (working as a service)
We need xvfb to create a headless start script:
then create a startup script with the following content in /home/steam/exiles/start_conan.sh:
make the script executable and create a new user called steam
then create a new system.d service file: /etc/systemd/system/conan.service
now reload the system.d and execute the conan server:
Step 7: Autoupdater Script
Save the following script as /home/steam/exiles/updateconan.sh and make it executable:
Save the following script as /home/steam/exiles/updateChecker.sh and make it executable:
Now just add the last file to your crontab and everything is set up.
Step 8: Configure the Server
The server is configured the same way as any other windows server. You can read a small tutorial here
Источник