#Linux Help

1 messages · Page 1 of 1 (latest)

mortal sail
#

⚠️ Please note, the dedicated server binaries are WINDOWS BASED. You must use Wine64 to run a dedicated server via Linux for Enshrouded.

Tagging in @obtuse cedar

solemn axle
#

cheers!

karmic basin
#

Thanks!

Server is available but when people connect they get an error could not connect and in the server log it says error 4

solemn axle
#

anyone familar enough to check what build of the server binaries they have via steamcmd?

#

or just update it

#

trying to rule that out

karmic basin
#

Updated it now 3 times reinstalled / deleted it 3 times no luck same problem stuck

elfin mason
#

anyone actually getting the server files with steamcmd? im just getting steamclient.so and a couple empty folders

obtuse cedar
solemn axle
karmic basin
# elfin mason anyone actually getting the server files with steamcmd? im just getting steamcli...

If the following message appears at startup, the error can be corrected by performing the following steps.

If this procedure is performed after the server is operational, the game will start from character re-creation.
We recommend that you do not perform this on servers that are already in play.

.steam/sdk64/steamclient.so: cannot open shared object file: No such file or directory
To resolve this issue

mkdir -p ~/.steam/sdk64/
steamcmd +login anonymous +app_update 1007 +quit
cp ~/Steam/steamapps/common/Steamworks\ SDK\ Redist/linux64/steamclient.so ~/.steam/sdk64/

karmic basin
solemn axle
#

I had to do that

obtuse cedar
#

I already had an existing steamcmd install so I nopped that portion out of the shell script.

solemn axle
#

the files it creates, the services etc, it doesnt just validate the files exists it appends it with the same content

viral kiln
#
What is the player limit of Enshrouded server (max is 16) ?16
sh: 1: ./steamcmd: Permission denied

After I sudo ./InstallServer.sh on ubuntu 22 fresh install

supple valley
#

After docker compose up its downloading successfully but shows this error afterwars: failed to register layer: lsetxattr /etc: operation not supported

using ubuntu 22.04

obtuse cedar
#

I also had this error with ./steamcmd -> I ran it from directory '/'

#

So I took that errorenous line from the script and ran it myself, that worked too.

solemn axle
#

I ended up copy/pasting the command and putting the full path to steamcmd in /home/user/steam

obtuse cedar
#

It would be handy to know what error code 4 means...that could tell us a lot more.

solemn axle
#

ive just run a netstat when trying to join and I dont see any traffic bound for my server

obtuse cedar
#

Interesting, I'm seeing this in logs/connection_log.txt:

Client version: no bootstrapper found

#

I'm out of ideas.

solemn axle
#

cant be network actually thinking about it

#

we're seeing logs to suggest the connection is being made

mortal sail
#

For folks getting "wine: Unhandled illegal instruction at address 00000001406728B4 (thread 01b8), starting debugger...
Unhandled exception: illegal instruction in 64-bit code (0x000001406728b4)."

You need to make sure that your Linux host has at least Kernel 5.X, preferably 6.X

Also, if you are using Proxmox to host a VM to run the server, make sure for CPU type you are setting to host not default (kvm) or what ever is listed there for default.

This will fix your issue. (edited)

odd notch
#

touch /home/steam/enshrouded/enshrouded_server.json

#

do you see the file is correctly created on /home/steam/enshrouded/?

solemn axle
#

CPU is set to host

#

just getting the folder structure for you now

karmic basin
#

Installing with your install.sh now the server had just to adapt the steamcmd install cause i use debian

solemn axle
#
total 12540644
drwxr-xr-x 3 steam steam        4096 Jan 24 17:49 appcache
drwxrwxr-x 3 steam steam        4096 Jan 24 17:43 _CommonRedist
drwxr-xr-x 2 steam steam        4096 Jan 24 18:07 config
-rwxrwxr-x 1 steam steam    31720448 Jan 24 17:41 enshrouded_server.exe
-rw-r--r-- 1 steam steam         223 Jan 24 17:40 enshrouded_server.json
-rwxrwxr-x 1 steam steam 12763805717 Jan 24 17:42 enshrouded_server.kfc_data
-rwxrwxr-x 1 steam steam     1428376 Jan 24 17:42 enshrouded_server.kfc_dir
drwxr-xr-x 3 steam steam        4096 Jan 24 18:07 logs
drwxr-xr-x 2 steam steam        4096 Jan 24 18:12 savegame
-rwxr-xr-x 1 steam steam         181 Jan 24 17:40 StartEnshroudedServer.sh
-rwxrwxr-x 1 steam steam      301928 Jan 24 17:42 steam_api64.dll
-rwxrwxr-x 1 steam steam           7 Jan 24 17:42 steam_appid.txt
drwxrwxr-x 4 steam steam        4096 Jan 24 17:43 steamapps
-rwxrwxr-x 1 steam steam    22808784 Jan 24 17:41 steamclient64.dll
-rwxrwxr-x 1 steam steam    19381096 Jan 24 17:41 steamclient.dll
-rwxrwxr-x 1 steam steam      403816 Jan 24 17:41 tier0_s64.dll
-rwxrwxr-x 1 steam steam      349544 Jan 24 17:41 tier0_s.dll
-rwxrwxr-x 1 steam steam      707944 Jan 24 17:41 vstdlib_s64.dll
-rwxrwxr-x 1 steam steam      543592 Jan 24 17:41 vstdlib_s.dll```
solemn axle
#

no execute permissions on the json

obtuse cedar
#

Same perms for json here, so lets try changing that?

solemn axle
#

shouldnt be an issue though i dont think

obtuse cedar
#

Yea

errant gust
#

@solemn axle you don't need it, R is enough

obtuse cedar
#

cat steam_appid.txt -> is empty for me

errant gust
#

@obtuse cedar mine is set

obtuse cedar
#

Oh same, I was reading it incorrectly.

solemn axle
#

1203620

steep moat
#

I am getting an error when trying to start via wine.
command: xvfb-run wine64 server/enshrouded_server.exe
output:

wine: Call from 000000007BC2ED58 to unimplemented function KERNEL32.dll.GetSystemCpuSetInformation, aborting
wine: Unimplemented function KERNEL32.dll.GetSystemCpuSetInformation called at address 000000007BC2ED58 (thread 0024), starting debugger...
supple valley
#

Think I have the same permission problem on the json?

Internal Error: Failed to Read config file 'Z:/home/steam/enshrouded/enshrouded_
server.json'

obtuse cedar
errant gust
solemn axle
#

I dont know enough about Wine to sort this out

karmic basin
#

I dont think that install.sh script works for debian -.-

solemn axle
#

im on ubuntu so should work ok?

obtuse cedar
deft thistle
karmic basin
#

thanks i try that brb

obtuse cedar
#

I'm on ubuntu also

steep moat
solemn axle
#

also are you the pinard mentioned in the service details?

odd notch
#

yup

errant gust
# steep moat what version is needed?

I have
uname -ar
Linux ns3108152 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux

But blocked after the installtion

#

(error 4)

odd notch
#

but you can wipe the name and replace by yours 😄

#

it is your server and you service

solemn axle
#

😄

karmic basin
obtuse cedar
#

5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

steep moat
solemn axle
#

6.2.0-39-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:18:00 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

obtuse cedar
solemn axle
#

do you have a password configured @obtuse cedar

#

for the server?

obtuse cedar
#

Yes

solemn axle
#

I do too

#

I will try removing it

obtuse cedar
#

My friend hosted on steamcmd windows with password and no issues

#

So the only difference there is that he doesn't use wine64 then

solemn axle
#

binary isnt being pushed through wine

#

yeah

steep moat
#

i tried wine and wine64, same results

obtuse cedar
#

🤢

solemn axle
#

same with no password

#

you running on proxmox too @obtuse cedar?

odd notch
#

i'm testing all command one by one to see if there is any issues or moodification to make it run properly

obtuse cedar
#

Ah no, just a dedicated server in a datacentre.

paper walrus
#

quick question as you're scarying me : you're having issue with the server only or the client too ?

obtuse cedar
#

Server only

paper walrus
#

ok thanks, that's a relief (well, half of it)

solemn axle
#

su steam -c "./steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 +quit" needs replacing with sudo su steam -c "/home/steam/steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 +quit"

paper walrus
#

I'll wait for you to have finish the workaround before running one (yeah, a bit lazy here)

solemn axle
#

in my testing

paper walrus
#

thanks, and good luck guys !

mortal sail
#

Does anyone wanna collab on the main community repo and make a guide?

#

If they figure this out.

solemn axle
#

today is my first time using wine64

#

🙂

karmic basin
#

also the script doesnt install steamcmd on debian I needed to the following commands :
apt update; apt install software-properties-common; apt-add-repository non-free; dpkg --add-architecture i386; apt update
apt install steamcmd

true mauve
#

uhg, spent most of yesterday setting up a VPS to run a server on wine today and it looks like it runs KVM. Just upgraded kernel to 6.5 and still having issues

obtuse cedar
#

Any chance we can get a dev to tell us what error code 4 is? lol

solemn axle
#

yeah thats kinda the crux of all of this

#

@mortal sail

obtuse cedar
#

Session failed for peer #0 with error 4.

solemn axle
#

thanks

#

I was struggling to find it XD

#
Jan 24 18:30:52 enshrouded1 StartEnshroudedServer.sh[1646]: [ecss] writeEntitySerializationContext:
Jan 24 18:30:52 enshrouded1 StartEnshroudedServer.sh[1646]: [ecss]   Templates: 1 (97 bytes) Components: 5 (1,344 bytes)  Size: 1,441
Jan 24 18:30:52 enshrouded1 StartEnshroudedServer.sh[1646]: [ecss]   Entities: 1 (0 children)
Jan 24 18:30:52 enshrouded1 StartEnshroudedServer.sh[1646]: [savexxx] SAVE 0 bases 0 entities size 1,791
Jan 24 18:30:52 enshrouded1 StartEnshroudedServer.sh[1646]: [server] Save Serialization took 57.60 ms over 4 Ticks
Jan 24 18:30:52 enshrouded1 StartEnshroudedServer.sh[1646]: [server] Saved
Jan 24 18:30:52 enshrouded1 StartEnshroudedServer.sh[1646]: [savedata] Compression of Blob 0x00000539::SRSG took 451.00 us
Jan 24 18:32:49 enshrouded1 StartEnshroudedServer.sh[1646]: [ecss] Stats:  Upd:3,600  (16.7ms)  Time:60,003ms  Total:8,476ms  Max:21ms  A>```
#

just had a server save

#

not seen that before

obtuse cedar
#

Oh I have actually

#

It seems functional and all, just not the connecting part.

errant gust
#

yeah the server is running

#

but it seems you can join

#

a friend tried to, got the same error

odd notch
#

so may be kind of messy with other distro

karmic basin
#

yeah is okay

errant gust
solemn axle
#

im probably 5 mins away from just using windowsgsm

karmic basin
#

Nope is not working even with your script will go home and try it out

solemn axle
#

which is a shame because linux is just so much better at hosting game servers

obtuse cedar
#

So do we know if docker on iinux works? It uses wine also.

karmic basin
#

Ah man still same error -.- :
[I 00:03:41,773] [online] Added Peer #0.
[I 00:03:56,757] [online] Session failed for peer #0 with error 4.
[I 00:03:56,759] [online] Removed Peer #0.

odd notch
#

i'm reviewing the command in order to find what's wrong and correct when i find the right setting or command

blissful nacelle
#

yep, ok i fixed my connection issue, you can't change the query port

#

made it back to default and now it shows up

obtuse cedar
#

Yes, now try connecting 😛

errant gust
#

😄

karmic basin
#

Will reinstall with ubuntu 22 even so i dont like it -.-

granite eagle
#

So, I have a few interesting errors in the logs, I'm not sure if any of them are significant:

[resource] Could not load resource cache file 'Z:/home/steam/enshrouded/enshrouded_server.krc'. error=file not
found
[savedata] Couldn't retrieve steam remote storage interface.
[savedata] File command of type '12' failed with error: 'file not found'.
[savedata] File command of type '12' failed with error: 'file not found'.
[savedata] File command of type '12' failed with error: 'file not found'.
[online] Session failed for peer #0 with error 4.
karmic fjord
#

Anyone figure out the Client Version: no bootstrapper found? im able to run tons of other servers fine through Steam CMD

blissful nacelle
elfin mason
#

anyone able to start the server with wine? im getting "0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded."

granite eagle
#

I just went from focal to jammy and it didn't make a difference

obtuse cedar
blissful nacelle
#

one of my servers, docker image

solemn axle
#

so docker works?

obtuse cedar
#

So we're using just wine without docker

#

But the docker image uses wine?

blissful nacelle
#

yes you need wine

obtuse cedar
#

Huh

#

We use wine also but not in a docker image

blissful nacelle
#

in the docker img, it's no different than running it without docker

obtuse cedar
#

You say that but we can't connect to our servers 😛

#

I'm just thinking out aloud, there must be a difference in configuration between the docker image and InstallServer.sh

granite eagle
#

and I keep getting File command of type '13' failed with error: 'file not found'

solemn axle
#

Im in on a windowsgsm server

blissful nacelle
#

let me see since I did spin up my own, I can tell you what works, I used a based img steamcmd/steamcmd:ubuntu-22@sha256:a91146d29948a96e7ea21aaf88e9045d6c84ab6931de0b5214948f9000ba48c3 which is ubuntu 22 and just installed winehq-staging on it

granite eagle
#

Would you mind sharing your dockerfile?

blissful nacelle
#

try that instead

#

let me paste the bits that matter i have a lot of custom shit in mine for managing stuff that's not really applicable for general use

solemn axle
#

the only diff I can see from the json is that in linux its using 0.0.0.0 and in windows its the IP of the windows interface

#

and the save / log dirs too actually

#

gonna try doing the ip instead of all interfaces with 0.+

obtuse cedar
#

export WINEARCH=win64
export WINEPREFIX=/home/steam/.enshrouded_prefix
export WINEDEBUG=-all
xvfb-run --auto-servernum wine64 /home/steam/enshrouded/enshrouded_server.exe

obtuse sorrel
#

Hi, can you help me to fix this issue please ? I'm on Ubuntu
0760:err:user:load_desktop_driver failed to load L"winex11.drv"
wine: Call from 000000007BC2ED58 to unimplemented function KERNEL32.dll.GetSyste

solemn axle
obtuse cedar
#

But I am wondering if this is also in the docker

solemn axle
#

wish I could a message askign what error 4 is

#

if we knew that we would at least know where to point

odd notch
#

yep don't have any ionformation about error 4

#

seems to be software issue

#

on docker, the script of entrypoint is ```
#Upgrade server
su steam -c "./steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 +quit"
echo "server updated."

#Launch server with wine
su steam -c "xvfb-run --auto-servernum wine64 /home/steam/enshrouded/enshrouded_server.exe"
echo "Server Launched. Enjoy ;)"
/bin/bash

#

without vars

#

because they are declared on environment

blissful nacelle
#

I'm using staging

#

not stable

#

fyis

#

winehq-staging

#

stable is out dated

solemn axle
#

interesting

obtuse cedar
#

I'll try using staging

blissful nacelle
#

try that and see if that fix your problems

#

cuz everything else looks pretty similiar

solemn axle
#

how would one do that

#

😆

obtuse cedar
#

apt remove winehq-stable

blissful nacelle
#

change apt install -y --install-recommends winehq-stable to apt install -y --install-recommends winehq-staging

#

and run it, well remove stable first lol

solemn axle
#

I wouldnt need to change any of the .sh scripts?

obtuse cedar
#

The one thing I didn't do is restart systemd services, but I'm sure that is unrelated? The installation of wine prompts me to restart those.

blissful nacelle
#

i linked the script that's where you'd make the change on line 74

solemn axle
#
● enshrouded.service - Enshrouded server - By Chevalier Pinard
     Loaded: loaded (/etc/systemd/system/enshrouded.service; enabled; preset: enabled)
     Active: active (running) since Wed 2024-01-24 18:56:39 UTC; 17s ago
   Main PID: 3184 (StartEnshrouded)
      Tasks: 22 (limit: 11793)
     Memory: 788.2M
        CPU: 5.416s
     CGroup: /system.slice/enshrouded.service
             ├─3184 /bin/sh /home/steam/enshrouded/StartEnshroudedServer.sh
             ├─3185 /bin/sh /usr/bin/xvfb-run --auto-servernum wine64 /home/steam/enshrouded/enshrouded_server.exe
             ├─3195 Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp -auth /tmp/xvfb-run.W4WFxC/Xauthority
             ├─3198 /opt/wine-staging/bin/wine64 /home/steam/enshrouded/enshrouded_server.exe
             ├─3200 /opt/wine-staging/bin/wineserver
             ├─3202 "C:\\windows\\system32\\wineboot.exe" --init
             ├─3204 "C:\\windows\\system32\\services.exe"
             ├─3207 "C:\\windows\\system32\\winedevice.exe"
             ├─3220 "C:\\windows\\system32\\explorer.exe" /desktop
             ├─3231 "C:\\windows\\system32\\rundll32.exe" setupapi,InstallHinfSection DefaultInstall 128 "\\\\?\\Z:\\opt\\wine-staging\\s>
             └─3235 "C:\\windows\\system32\\control.exe" appwiz.cpl install_mono

Jan 24 18:56:39 enshrouded1 systemd[1]: Started enshrouded.service - Enshrouded server - By Chevalier Pinard.```
#

alright lets see if this works

obtuse cedar
#

Mine doesnt even start fully now

solemn axle
#

lol glad youre the same

odd notch
#

i push them to repo

#

changed

obtuse cedar
#

OOf my heart skipped a beat cause I thought it worked but it didn't

#

winehq-staging didn't make a difference sadly

solemn axle
#

just doing a reboot

#

using windows

#

@ me when you get this shit to work

obtuse cedar
#

I am out of ideas :/

#

So there is no difference between docker and InstallServer.sh besides the virtualization. 🤢

grand cloud
blissful nacelle
obtuse cedar
#

[online] Server connected to Steam successfully
[online] Server is not VAC Secure!
[online] Server SteamId: 90179849827931150
[online] Public ipv4:
[OnlineProviderSteam] 'Initialize' (up)!
[OnlineProviderSteam] 'JoinOrCreateGame' (up)!
[OnlineProviderSteam] 'SetLobbyData' (up)!
[OnlineProviderSteam] 'JoinLocalPlayers' (up)!
[OnlineProviderSteam] 'ConnectToPeers' (up)!
[OnlineProviderSteam] finished transition from 'Uninitialized' to 'InGame' (curr
ent='InGame')!
[Session] 'HostOnline' (up)!

#

I'll try to connect now.

blissful nacelle
#

that looks like it's working sir lol assuming your ports are forwarded n stuff

#

you can't change the query port btw, it'll prevent it from showing up

#

that gave me the most headache

obtuse cedar
#

OMG!!!!!!!!

#

I AM IN

#

wait let me connect again to verify

#

Yes!

#

So then running it under systemctl doesn't work for some reason.

blissful nacelle
blissful nacelle
obtuse cedar
#

@solemn axle we found the problem, now to fix it...
running it under the steam user without systemd lets you connect.

odd notch
#

yep, since there is no reason to use xvfb, i will change the service file to run directly wine64 instead of the script

solemn axle
#

so what was the commandline you ran @obtuse cedar ?

obtuse cedar
#

wine64 enshrouded_server.exe

#

as the steam user

solemn axle
#

logged into the shell as steam user?

obtuse cedar
#

Yea

solemn axle
#

sudo -u steam

obtuse cedar
#

It's not a solution perse

#

But we have a good direction now

#

Received new Character save game
i wonder...are there save write issues under systemd? lets test this

#

No that's not it, I still get DC via systemd

strong pulsar
#

So, people DO need an xv framebuffer to run the server?

obtuse cedar
#

So maybe its not systemd but just the sh script itself

strong pulsar
#

"Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp"

#

either this is needed, or its a big waste of resources

solemn axle
#

am in when just doing wine64 enshrouded_server.exe

odd notch
#

so i will remove the startscript part

#

and rather redefine the service in that way

strong pulsar
#

Then people can let go of running xv frambuffer with the server?

solemn axle
#

need to unerstand what the difference is between the .sh youre using in the systemctl script and just calling it via wine64

odd notch
#

in the script i set some env variable as wine arguments

#

then launch command

strong pulsar
solemn axle
#

I will stop my server, remove those and amend the .sh

obtuse cedar
#

running it using systemd without the sh script does NOT work, also.

odd notch
#

but i saw earlier in dedi-chat that someone linked a service template with variable defined in it

obtuse cedar
#

so systemd messes it up

solemn axle
#

did you remove the .sh script?

obtuse cedar
#

Yea

solemn axle
#

or amend it?

obtuse cedar
#

removed it

solemn axle
#

yeah itll wig out cause it doesnt exist

#

it needs amending

strong pulsar
#

systemd can't just "mess up a shellscript"; either it is calling/running stuff that is not available, or depending on something missing from the distro.

obtuse cedar
#

ExecStart=wine64 /home/steam/enshrouded/enshrouded_server.exe

strong pulsar
#

Can't someone just tell me if they really need to bloat up with the xv framebuffer or not?

solemn axle
#

I dont know what youre asking

obtuse cedar
#

Same

solemn axle
#

today is the first time im using wine

strong pulsar
#

The framebuffer many are running the server with

#

xvfb; are you using it without knowing what it is or?..

obtuse cedar
#

Yes

strong pulsar
#

it creates a fake virtual frambuffer to provide a display

karmic basin
#

you dont need it

strong pulsar
#

people have said that enshourded via wine just uses stdio

solemn axle
#

oh like vnc?

strong pulsar
#

so its bloat and not needed if so.

solemn axle
#

like a virtual desktop kinda

obtuse cedar
#

It doesn'' seem to be needed yea is what i've noticed

strong pulsar
# solemn axle oh like vnc?

More like, to provide a space for graphical applications calling on a display, while not having a real one.

solemn axle
#

gotcha

#

understood

strong pulsar
#

Tho it can possibly also be used for more things

karmic basin
#

you dont need it but i would be happy if that was my only problem ^^ server running but when connecting server does Error 4 and no clue how to debug it -.-

obtuse cedar
#

But what i'm seeing rn is that starting the server through systemd using just wine64 doesn't let me join the server. but starting it from the steam user shell with the same command does let me connect.

solemn axle
#

testing this one out now root@enshrouded1:/home/steam/enshrouded# cat StartEnshroudedServer.sh #!/bin/sh export WINEARCH=win64 export WINEPREFIX=/home/steam/.enshrouded_prefix export WINEDEBUG=-all wine64 /home/steam/enshrouded/enshrouded_server.exe

#

dont know what the prefix stuff does

strong pulsar
#

I'd just like to be sure its not needed for later, cus i want to run the server with as few extra moving parts as possible/less bloated ^^

solemn axle
#

saw a bunch of .reg files

#

that failed

#

it must be in the prefixes thats messing it up

#

removing that now

obtuse cedar
#

But then why did it not work for me thru systemd with just the wine64 command? :S

solemn axle
#

oh youve done all this?

#

sorry I thought when you said you removed the .sh file you just deleted it

blissful nacelle
#

or the winepath is wrong

#

might have to set WINEPATH to the enshrouded dir

karmic basin
blissful nacelle
#

i don't know if systemd inherits all the stuff

karmic basin
#

still same error 😦

solemn axle
#

its not conntrack limits is it?#

#

user limits vs systemd limits

strong pulsar
obtuse cedar
#

the exports probably

strong pulsar
#

exports are not handled by systemd

#

doesnt matter if using sysv or runit or systemd

#

afaik

#

setting variables (exporting) should have nothing to do with systemd or not.

karmic basin
#

can I check somewhere what this Error 4 is?

obtuse cedar
#

I give up. lol.

strong pulsar
#

After doing an export, you can try like echo $NameOfVariable

#

and see if it returns its value

#

then its properly set/exported

#

or something, im getting tired ^^

#

But systemd deffo shouldnt matter regarding those ^^

solemn axle
#

may have fixed it

#

instead of editing the .sh its calling, just edit the service /etc/systemd/system/ensrouded.service

#

yeah im in

#

let me just double check

#
[Unit]
Description=Enshrouded server - By joishw
After=syslog.target network.target
[Service]
ExecStart=wine64 /home/steam/enshrouded/enshrouded_server.exe
User=steam
Type=simple
Restart=on-failure
RestartSec=50s
[Install]
WantedBy=multi-user.target```
#

execstart being the main difference

#

but I dont have enough knowledge to say that the other stuff is needed or not

karmic basin
#

Nah if i leave out all the environments game creation error than ^^

solemn axle
#

95 mins of playtime in steam, now I can play the game

strong pulsar
#

If those exports are important (i dont know), you can call enshourded in the sh, and start the .sh in the system unit file

#

like: "RunEnshrouded:
export xyz
export zyx
cd path/enshrouded
wine64 path/enshrouded.server.exe

#

cd might not be needed, but sometimes it helps for the shellscript or wine to be "in" the folder of the files it starts

solemn axle
#

I cant send screenshots on here

odd notch
#

new test version is running on one of my vm

karmic basin
#

joing game failed error still and in logs error 4 -.-

strong pulsar
#

I know linux very well, but i can't run the server or enshrouded atm so i need more info there ^^

#

I mean i dont have the server atm ^^

#

So just going by what i know

karmic basin
#

Idem I host every game on my linux server this is the first time I am stuck -.-

solemn axle
#

all I know is that when calling the server binary with wine64 isntead of the .sh which then calls wine and adds a bunch of stuff, it works via systemctl

jolly fable
strong pulsar
#

Its often useful to know what everything is and does; more then just running the shellfiles (not always needed for erryone, but it helps troubleshooting)

edgy dune
#

hello there,
@solemn axle : same as @karmic basin, try your solution, but still error 4

strong pulsar
edgy dune
#

for information i try it on Debian 12 and you @solemn axle ?

solemn axle
#
● enshrouded.service - Enshrouded server - By joishw
     Loaded: loaded (/etc/systemd/system/enshrouded.service; disabled; preset: enabled)
     Active: active (running) since Wed 2024-01-24 19:31:39 UTC; 10min ago
   Main PID: 1663 (start.exe)
      Tasks: 89 (limit: 11793)
     Memory: 752.3M
        CPU: 37min 35.880s
     CGroup: /system.slice/enshrouded.service
             ├─1663 start.exe /exec
             ├─1665 /opt/wine-staging/bin/wineserver
             ├─1671 "C:\\windows\\system32\\services.exe"
             ├─1674 "C:\\windows\\system32\\winedevice.exe"
             ├─1676 "C:\\windows\\system32\\explorer.exe" /desktop
             ├─1686 "C:\\windows\\system32\\winedevice.exe"
             ├─1696 "C:\\windows\\system32\\plugplay.exe"
             ├─1707 "C:\\windows\\system32\\svchost.exe" -k LocalServiceNetworkRestricted
             ├─1715 "C:\\windows\\system32\\rpcss.exe"
             └─1724 "Z:\\home\\steam\\enshrouded\\enshrouded_server.exe"

Jan 24 19:42:00 enshrouded1 wine64[1724]: [ecss]   Templates: 2 (192 bytes) Components: 169 (41,064 bytes)  Size: 41,256
Jan 24 19:42:00 enshrouded1 wine64[1724]: [ecss]   Entities: 11 (10 children)
Jan 24 19:42:00 enshrouded1 wine64[1724]: [Server] Send Character Savegame 'joishw'
Jan 24 19:42:00 enshrouded1 wine64[1724]: [ecss] writeEntitySerializationContext:
Jan 24 19:42:00 enshrouded1 wine64[1724]: [ecss]   Templates: 1 (97 bytes) Components: 5 (1,344 bytes)  Size: 1,441
Jan 24 19:42:00 enshrouded1 wine64[1724]: [ecss]   Entities: 1 (0 children)
Jan 24 19:42:00 enshrouded1 wine64[1724]: [savexxx] SAVE 0 bases 0 entities size 1,791
Jan 24 19:42:00 enshrouded1 wine64[1724]: [server] Save Serialization took 113.67 ms over 5 Ticks
Jan 24 19:42:00 enshrouded1 wine64[1724]: [server] Saved
Jan 24 19:42:00 enshrouded1 wine64[1724]: [savedata] Compression of Blob 0x00000539::SRSG took 423.00 us
root@enshrouded1:/home/steam/enshrouded#```
strong pulsar
#

Dont remember but maybe system-units calling a .sh wont make it output the Sh running on the terminal directly tho

solemn axle
#

oh when its like that, I get cannot join game error code 4

strong pulsar
#

from wine?

solemn axle
#

no one knows what error code 4 is

#

no from the server

obtuse cedar
#

I'm back, any developments?

strong pulsar
#

i mean, its from wine running the server, the error 4?

#

its not from the terminal output of the shell script

solemn axle
#

logs say it better

#

let me find it

obtuse cedar
#

The server itself returns code 4

#

it outputs, it doesn't return it, so it keeps running.

strong pulsar
#

what if, not using systemclt
you run the .sh directly, then it would give output directly on screen atleast

obtuse cedar
#

I'll try it now

solemn axle
strong pulsar
#

Oh and without this export after this try: "export WINEDEBUG=-all" that line makes wine show less debug info.

karmic basin
#

I am trying out if our error 4 comes from a port we are missing with a connection to steam like port 27015

solemn axle
#

I dont think its network related and I havent touched my network config

strong pulsar
#

like just doing ./StartEnshroudedServer.sh

obtuse cedar
#

That also doesn't work.

strong pulsar
#

what does it show on screen

#

that is what might be the clue

obtuse cedar
#

[Session] 'HostOnline' (up)!
[Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Onlin
e')!
[server] Load deserialization took 2.71 s
[online] Session accepted with peer ( id 76561197987943945 ).
[online] Added Peer #0.
[online] Session failed for peer #0 with error 4.
[online] Removed Peer #0.

strong pulsar
strong pulsar
#

so i feel log-info is missing

solemn axle
#

would wines logs and enshrouded server logs be shown in the same terminal?

#

wouldve expected wines logs to be written somewhere else

#

oh

#

no ignore me

obtuse cedar
#

wine: Read access denied for device L"\??\Z:\", FS volume label and serial are not available.

solemn axle
#

I get those too

#

I think they just take time to come up

obtuse cedar
#

if I run wine64 <path> i can connect fine...

#

So wtf

solemn axle
#

do a cat of /systemd/system/enshrouded.service

obtuse cedar
#

The SH script StartEnshroudedServer.sh:

#!/bin/sh
export WINEARCH=win64
export WINEPREFIX=/home/steam/.enshrouded_prefix
export WINEDEBUG=-all
wine64 /home/steam/enshrouded/enshrouded_server.exe

#

So something in here is messing it up

solemn axle
#

cat /etc/systemd/system/enshrouded.service

#

sorry

strong pulsar
#

did you try to comment out export WINEDEBUG

#

and then ./StartEnshrouded.sh

obtuse cedar
#

I'll comment line by line and test it

odd notch
#

yep can remove or comment

strong pulsar
#

it should show alot on the terminal

odd notch
#

export WINEDEBUG=-all

strong pulsar
obtuse cedar
#

Ok sec

strong pulsar
#

that is the important one, cus i want WINE to talk

polar token
#

Well, it's not behaving on Ubuntu 22.04 at least. Wine64-stable does not want to run it.

edgy dune
#

@strong pulsar run script from console send that (success join on game)

[Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Online')!
[server] Load deserialization took 3.00 s
[online] Session accepted with peer ( id <MY_STEAM_ID> ).
[online] Added Peer #0.
[online] Client '<MY_STEAM_ID>' authenticated by steam
[session] Unable to find machine for peer 0.
[SessionPlayer] started transition from 'Free' to 'Remote_InSession' (current='<invalid>')!
[session] Remote player added. Player handle: 0(0)
[SessionPlayer] 'Reserve' (up)!
[SessionPlayer] 'WaitForJoin' (up)!
[SessionPlayer] finished transition from 'Free' to 'Remote_InSession' (current='Remote_InSession')!
Received new Character save game
[server] Machine '1': Player '0(0)' logged in
[ecs] readEntitySerializationContext: Templates: 4  Components: 182  Size: 46,344
[ecss] message BuildingZones is big: 3,018
[ecss] Send BuildingZones
[g38_knowledge::handleUnlockEvents] New world knowledge unlocked '9841fa85'
[server] Start Saving
[savedata] Compression of Blob 0x00000000::USER took 1.50 ms
MaxClientComponents: 1
Snapshot took 6.66 ms:  Entities: 5,851 (2,379,904 bytes)  Storages: 176 (574,464 bytes)  Chunks: 216 (3,715,414 / 14,155,776 bytes)  ClientComps: 12,516 bytes  Templates: 7,344  TotalSize: ~17,167,124
VoxelSaveSize: 0
#
[ecss] writeEntitySerializationContext:
[ecss]   Templates: 4 (393 bytes) Components: 181 (46,344 bytes)  Size: 46,737
[ecss]   Entities: 13 (12 children)
[Server] Send Character Savegame 'kallik'
[ecss] writeEntitySerializationContext:
[ecss]   Templates: 1 (97 bytes) Components: 5 (1,344 bytes)  Size: 1,441
[ecss]   Entities: 1 (0 children)
[savexxx] SAVE 0 bases 0 entities size 1,791
[server] Save Serialization took 63.85 ms over 5 Ticks
[savedata] [server] Saved
Compression of Blob 0x00000539::SRSG took 404.00 us
[server] Remove Entity for Player 'kallik'
[server] Remove Player 'kallik'
[online] Disconnecting peer #0 (SteamSessionConnectionMsg).
[online] Removed Peer #0.
[session] Remove player from session. Not found in online game info. Player Handle: 0(0)
[SessionPlayer] started transition from 'Remote_InSession' to 'Free' (current='<invalid>')!
[SessionPlayer] 'WaitForJoin' (down)!
[session] Player removed. Player handle: 0(0)
[SessionPlayer] 'Reserve' (down)!
[SessionPlayer] finished transition from 'Remote_InSession' to 'Free' (current='Free')!
[session] Removed 0 pending packages for 1 removed Machines
[ecss] Stats:  Upd:3,593  (16.7ms)  Time:60,010ms  Total:8,512ms  Max:31ms  Avg:2.4ms  +:0  -:0  Ent:579  Pred:0```
strong pulsar
obtuse cedar
#

I removed WINEDEBUG and ran it

strong pulsar
#

^^!

obtuse cedar
#

Well

#

I found the culprit...

strong pulsar
#

Oh?

solemn axle
#

suspense

strong pulsar
#

excite ^^

obtuse cedar
#

export WINEPREFIX=/home/steam/.enshrouded_prefix

#

this one messes it up

#

the export makes it so you get kicked after joining

solemn axle
#

I removed that and it didnt work for me

strong pulsar
#

you not showing the screen log?

obtuse cedar
#

remove the WINEDEBUG and this one

solemn axle
#

ah

#

I didnt remove winedebug

#

youre on the server okay now?

strong pulsar
#

It might have shown in the log if u shared it, if .enshourded set some stuff

obtuse cedar
#

Yea I was able to connect

#

The stuff in the terminal stays the same no matter what export i add or remove

strong pulsar
#

can you cat enshrouded_prefix or paste the terminal output directly after doing ./blabla.sh?

#

enshrouded prefix (sounds) like a script someone made to change/create a separate wine prefix

solemn axle
#
dosdevices  drive_c  system.reg  userdef.reg  user.reg```
#

bunch of registry files

strong pulsar
#

So it sets the directory with those reg files as the wine prefix folder

#

and then it fails running

solemn axle
#

no it runs

#

and allows someone to connect

#

just kicks them after they connect

strong pulsar
#

I mean they said they removed the line calling the prefix

#

and that it worked after?

#

export xyz prefix

solemn axle
#

the server runs with or without the prefix

#

it just kicks you if the prefix is set

#

according to null

jolly fable
strong pulsar
#

But NullBy7e said it worked not calling the prefix

obtuse cedar
#

Yea, trying it now also via systemd

strong pulsar
#

Its odd tho, cus it sets that directory with a few random .reg files as the "root" (prefix) for running wine

obtuse cedar
#

Am connected via systemd without prefix and winedebug exports in the sh

strong pulsar
#

but they also shouldnt do anything on their own, unless called. but using that random folder as prefix root can make the game not run so that part makes sense

solemn axle
#

what are these .reg files @odd notch

strong pulsar
#

Ive tried helping without knowing the enshrouded server, so i think ive come as far as i can.
Could prolly know more when i can actually try it myself ^^

#

hope ive been some tiny little help atleast, hope u all get it working goodie ^^

obtuse cedar
#

Thanks for your thoughts and help @strong pulsar

solemn axle
#

tyvm!

obtuse cedar
#

@solemn axle here's my systemd file:

[Unit]
Description=Enshrouded Server
After=syslog.target network.target

[Service]
ExecStartPre=/usr/games/steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 +quit
ExecStart=/home/steam/enshrouded/StartEnshroudedServer.sh
User=steam
Group=steam
Type=simple
Restart=on-failure
RestartSec=50s

[Install]
WantedBy=multi-user.target

strong pulsar
#

Ur welcome ^^ will get enshrouded and do stuff on friday! have fun till then ^^

solemn axle
#

ill make the same changes you made to your .sh

#

I omitted it completely in mine

obtuse cedar
#

Here is that also:

#!/bin/sh
export WINEARCH=win64
wine64 /home/steam/enshrouded/enshrouded_server.exe

solemn axle
#

oh right okay

#

root@enshrouded1:/home/steam/.enshrouded_prefix/dosdevices# cat /etc/systemd/system/enshrouded.service
[Unit]
Description=Enshrouded server - By joishw
After=syslog.target network.target
[Service]
ExecStart=wine64 /home/steam/enshrouded/enshrouded_server.exe
User=steam
Type=simple
Restart=on-failure
RestartSec=50s
[Install]
WantedBy=multi-user.target

#

basically doing the same but different

odd notch
#

i committed your changes and it seems to work for me too

karmic basin
obtuse cedar
karmic basin
#

nope

#

Error 4

#

4 times installed now and still stuck ragequitting soon xD

strong pulsar
#

(btw joishw, you an nullby7e seems to be using diff files, they have the "ExecStartPre=/usr/games/steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 +quit", dont know if you both use the same files from the same download. perhaps look into it)

#

Now smokie ^^

obtuse cedar
#

ExecPreStart is what I added myself 😄

#

So it auto updates the server when I do a restart via cronjob etc

strong pulsar
#

yeah makes sense

#

(tho if u use system units, systemd-timers mebbe fits more then cron ^^)

obtuse cedar
obtuse cedar
karmic basin
#

i uncomment those lines

obtuse cedar
#

WINEPREFIX and WINEDEBUG should be commented or removed

karmic basin
#

they are

obtuse cedar
#

Okay then it looks fine

strong pulsar
#

((later you can prolly all comment back the winedebug, cus it shouldnt change a thing, it was me trying to get more output/talk from wine, can be faster without it))

obtuse cedar
#

and systemd file?

karmic basin
#

systemd file is fine

#

i only start the .sh file and gett error 4 when connecting

odd notch
#

i'm commiting into the main sh file and push up corrected version on repo

obtuse cedar
karmic basin
#

same

obtuse cedar
#

..damn

#

@solemn axle does it work for you now?

obtuse cedar
karmic basin
#

tried too 😦

edgy dune
#

there is an update on client side, did you try update your server ?

obtuse cedar
#

You run it under steam user right?

karmic basin
#

yes

solemn axle
#

do systemctl status enshrouded and paste the output

karmic basin
#

which ports do you have open to your server?

solemn axle
#

the defaults

#

do you have ufw disabled?

#

sudo ufw disable

#

(if youre on ubuntu)

obtuse cedar
#

15636 ALLOW Anywhere
15637 ALLOW Anywhere

solemn axle
#

or that yeah

#

im using another piece of software to manage the fw for me

#

you wouldnt be seeing the server in the server list though if it was network related

odd notch
#

comit done

#

all the changes are integrated so far

karmic basin
#

Ports are not the problem

odd notch
#

i think also i will not use simlink as it is source of error log and just using the full path is ok

karmic basin
#

else i would not find the server no?

solemn axle
#

correct

odd notch
#

and i give the rights to steam user on /usr/games/steamcmd

karmic basin
#

I find the server I connect than get joining game failed and in the logs error 4

obtuse cedar
#

It's strange cause it's something we just solved..unless error 4 encapsulates more than one 'problem'

edgy dune
#

when you execute "wine64 /home/steam/enshrouded/enshrouded_server.exe" under the user steam. What is the output when you try to join ?

karmic basin
#

one second

solemn axle
#

I found that rerunning it didnt fix any issues, it just did all the tasks again

#

so you would end up with the file content doubled up

#

so, dont rerun it 😄

karmic basin
#

nono didnt rerun thefile

solemn axle
#

perfect

#

and youve been doing systemctl stop enshrouded before making changes etc

#

sorry basic stuff but ruling it out, since we have almost identical setups now

karmic basin
#

yeah i know good you ask for so i start the server:
[OnlineProviderSteam] finished transition from 'Uninitialized' to 'InGame' (current='InGame')!
[Session] 'HostOnline' (up)!
[Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Online')!
[server] Load deserialization took 2.77 s

#

i get this than i try to connect

solemn axle
#

yeah thats same as us

#

do this cat /etc/systemd/system/enshrouded.service

karmic basin
#

[server] Load deserialization took 2.77 s
[online] Session accepted with peer ( id XXXXX).
[online] Added Peer #0.
01c4:err:ole:com_get_class_object apartment not initialised
STEAMPS3 - AsyncTCPSocket created
[online] Session failed for peer #0 with error 4.
STEAMPS3 - AsncTCPSocket destroyed
[online] Removed Peer #0.

solemn axle
#

or is it up there and I need to scroll

karmic basin
#

and than i get this

#

one sec

#

[Unit]
Description=Enshrouded server - By Chevalier Pinard
After=syslog.target network.target
[Service]
ExecStart=/home/steam/enshrouded/StartEnshroudedServer.sh
User=steam
Type=simple
Restart=on-failure
RestartSec=50s
[Install]
WantedBy=multi-user.target

solemn axle
#

replace ExecStart=/home/steam/enshrouded/StartEnshroudedServer.sh with this ExecStart=wine64 /home/steam/enshrouded/enshrouded_server.exe

odd notch
#

each time i want to replay the script from the begining to test all the things

#

and i remember that i have an old copper internet connection...

solemn axle
#

xD

odd notch
#

yes it's also for that than i take some time between full tests run

obtuse cedar
#

I have ExecStart with sh script myself

#

and it works, just need to adjust the sh script

karmic basin
#

nope still not able to connect

obtuse cedar
#

@solemn axle did you take over my systemd script or use yours?

solemn axle
#

Im using mine

#

but I may take yours if yours is using the -all debug thingf

obtuse cedar
#

cause i added in group=steam but that might not matter

solemn axle
#

I dont want an app writing in debug if it doesnt need to

obtuse cedar
#

Im not using that either

solemn axle
#

ah

solemn axle
#

then ive got no idea dude

edgy dune
#

@odd notch perhaps indicate the OS tested in your script ?

karmic basin
#

same same XD

#

i will try to setup now an windows vm -.-

solemn axle
#

do systemctl status enshrouded

cunning mantle
solemn axle
#

it 100% works with windowsgsm

odd notch
karmic basin
#

Jan 24 20:31:29 enshrouded wine64[20145]: [online] Session accepted with peer ( id xxx ).
Jan 24 20:31:29 enshrouded wine64[20145]: [online] Added Peer #0.
Jan 24 20:31:31 enshrouded wine64[20145]: 01b4:err:ole:com_get_class_object apartment not initialised
Jan 24 20:31:44 enshrouded wine64[20145]: [online] Session failed for peer #0 with error 4.
Jan 24 20:31:44 enshrouded wine64[20145]: [online] Removed Peer #0.
Jan 24 20:33:31 enshrouded wine64[20145]: [online] Session accepted with peer ( id xxx).
Jan 24 20:33:31 enshrouded wine64[20145]: [online] Added Peer #0.
Jan 24 20:33:34 enshrouded wine64[20145]: 01b4:err:ole:com_get_class_object apartment not initialised
Jan 24 20:33:46 enshrouded wine64[20145]: [online] Session failed for peer #0 with error 4.
Jan 24 20:33:46 enshrouded wine64[20145]: [online] Removed Peer #0.

solemn axle
#

just do this

#

make a .sh with wine64 /home/steam/enshrouded/enshrouded_server.exe give it executable with chmod +x and run it with ./scriptname.sh

#

skipping systemctl entirely

#

oh no wait

#

you tried calling it directly using wine didnt you

cunning mantle
#

@solemn axlethat's whats in the Github currently.

obtuse cedar
#

@karmic basin check your perms with: ls -la /home/steam is it all correct?

edgy dune
odd notch
#

yep you can add yours to repo

#

we will add it and credit you

odd notch
#

the more ressources the community get

#

the best it is

open tiger
#

game dosn't show up in the server browser.

[savedata] Compression of Blob 0x00000539::SRSG took 269.00 us
[online] Session accepted with peer ( id 76561199020695660 ).
[online] Added Peer #0.
STEAMPS3 - AsyncTCPSocket created
[online] Session failed for peer #0 with error 4.
STEAMPS3 - AsncTCPSocket destroyed
[online] Removed Peer #0.
#

is there a way to directly join the server? With the IP?

obtuse cedar
karmic basin
#

idem

cunning mantle
open tiger
#

that dont work. I use pterodactyl and the default setting for the IP is "0.0.0.0"
with the fixed IP, I get this error: CreateBoundSocket: ::bind to port 0 returned error [no name available](10049)

#

same with the public ip.

cunning mantle
#

Try 127.0.0.1, not sure with pterodactyl. That's just a fancier/cool wrapper for docker right?

open tiger
#

kind of - yes.
if I use 0.0.0.0 - i get the socket destroyed but there is a communication over UDP

tcpdump -n port 15636 or port 15637
21:04:24.061184 IP 109.250.153.136.56468 > XXX.XXX.XXX.XXX.15637: UDP, length 25
21:04:24.067351 IP XXX.XXX.XXX.XXX.15637 > 109.250.153.136.56468: UDP, length 9
21:04:24.203111 IP 109.250.153.136.56468 > XXX.XXX.XXX.XXX.15637: UDP, length 29
21:04:24.217456 IP XXX.XXX.XXX.XXX.15637 > 109.250.153.136.56468: UDP, length 85
21:04:24.344375 IP 109.250.153.136.56469 > XXX.XXX.XXX.XXX.15637: UDP, length 9
21:04:24.367765 IP XXX.XXX.XXX.XXX.15637 > 109.250.153.136.56469: UDP, length 9
21:04:24.483926 IP 109.250.153.136.56469 > XXX.XXX.XXX.XXX.15637: UDP, length 9
21:04:24.518107 IP XXX.XXX.XXX.XXX.15637 > 109.250.153.136.56469: UDP, length 6
21:04:26.182996 IP 84.132.31.11.50849 > XXX.XXX.XXX.XXX.15637: UDP, length 25
21:04:26.215894 IP XXX.XXX.XXX.XXX.15637 > 84.132.31.11.50849: UDP, length 9
21:04:26.249299 IP 84.132.31.11.50849 > XXX.XXX.XXX.XXX.15637: UDP, length 29
21:04:26.265941 IP XXX.XXX.XXX.XXX.15637 > 84.132.31.11.50849: UDP, length 85
21:04:31.460230 IP 82.64.73.36.19165 > XXX.XXX.XXX.XXX.15637: UDP, length 25
21:04:31.501611 IP XXX.XXX.XXX.XXX.15637 > 82.64.73.36.19165: UDP, length 9
21:04:31.571395 IP 82.64.73.36.19165 > XXX.XXX.XXX.XXX.15637: UDP, length 29
21:04:31.601522 IP XXX.XXX.XXX.XXX.15637 > 82.64.73.36.19165: UDP, length 85
21:04:34.064486 IP 109.250.153.136.55600 > XXX.XXX.XXX.XXX.15637: UDP, length 25
21:04:34.092863 IP XXX.XXX.XXX.XXX.15637 > 109.250.153.136.55600: UDP, length 9
21:04:34.224572 IP 109.250.153.136.55600 > XXX.XXX.XXX.XXX.15637: UDP, length 29
21:04:34.242295 IP XXX.XXX.XXX.XXX.15637 > 109.250.153.136.55600: UDP, length 85
21:04:34.469480 IP 109.250.153.136.55601 > XXX.XXX.XXX.XXX.15637: UDP, length 9
21:04:34.492867 IP XXX.XXX.XXX.XXX.15637 > 109.250.153.136.55601: UDP, length 9
21:04:44.979839 IP 76.38.173.147.11763 > XXX.XXX.XXX.XXX.15637: UDP, length 25
#

127.0.0.1 looks good. i wait for the socket connection now

#

that worked!

cunning mantle
#

Sweet. 🙂 Glad to hear. I'm still having some issues where the game shows and I go to connect. Start video shows and the game login failed.

lament yacht
#

Btw, for error 4 I just modified the .service file to exec wine64 pathto/enshrouded_server.exe, games working now

karmic basin
#

Got it working now but i don't know why exactly. So all my servers open to the outiside like other gameservers are in their own netwwork via a firewall. Never had a problem with that now i switched the server outside that network and it worked

raw inlet
#

Hey guys, I created a fresh image with Ubuntu 22.04, installed the files with the InstallServer.sh and upgraded my Kernel to 6.x - But I still get this wine error. Does anybody has an idea what to do?

Unhandled exception: illegal instruction in 64-bit code (0x000001406728b4).
...

and this one in the normal log:

Xlib: extension "MIT-SHM" missing on display "localhost:10.0".

lament yacht
#

What cpu do you have

raw inlet
#

Should be a native linux server from my provider

#

Ahh nevermind it's a vserver

regal sail
#

On proxmox go into hardware > Processor > change the type to host, if this doesnt work it might be because the CPU is too old to run the server.

#

There is similar functionality over other vserver so just make sure it have the correct CPU architecture

raw inlet
#

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 40 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 6
On-line CPU(s) list: 0-5
Vendor ID: AuthenticAMD
Model name: QEMU Virtual CPU version 2.5+
CPU family: 15
Model: 107
Thread(s) per core: 1
Core(s) per socket: 6
Socket(s): 1
Stepping: 1
BogoMIPS: 3992.49
Flags: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm rep_
good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes xsave rdrand hy
pervisor lahf_lm cmp_legacy abm 3dnowprefetch ssbd ibpb vmmcall arch_capabilities

#

I dont think I can just switch the cpu my provider uses right?

regal sail
#

Try to change the Model name to Host

lament yacht
#

Cpu family 15 = bulldozer?

regal sail
#

This is not the cpu the provider use, this is the cpu virtual plugin that the vm use.

lament yacht
#

I do t know if family 15 is new enough bulldozer is old

regal sail
#

have you try to install your server using Docker instead?

raw inlet
#

No I didn't but I won't try it anymore for today. Already wasted 3 hours on this. But thanks anyway guys 🙂

#

Ahh well a G-Portal server costs the same for 16 Slots as the vserver ^^

grim egret
#

How is the performance my fellow linux server users? Last we tried as soon as we had three people it started rubber banding and one of the users got their ping skyrocket, restarted and it was another user. Did the latest patch fix this?

cunning mantle
# cunning mantle Sweet. 🙂 Glad to hear. I'm still having some issues where the game shows and I ...

@solemn axle - Yeah, I axed it and started over - golden now. Thanks. When I have the motivation and time I am probably going to move back to docker and slap together a smaller image than what's being built / thrown out there. As I typed this though, via the hub I found someone a snazzy image slapped together. Still Ubuntu base though. I think with Wine and SteamCMD we could prolly go smaller.

strong pulsar
#

and maybe not slap together random things with xvfb and prefixes without checking

#

Its kinda looked like people have taken shell scripts and configs from other games/contextes and just changed the wine and executable call, adding a wine req.

cunning mantle
strong pulsar
#

Oh ofc not, sorry if it sounded harsh, ive just been stressed!

#

aswell as trying to get solid info about things that people couldnt provide, so i should breathe a bit and take a break!

#

❤️

#

(also im a sister ^^)

#

"yolo.. srolo" ^^

cunning mantle
strong pulsar
cunning mantle
strong pulsar
#

Im glad, i tried my best without having the server or game yet, and i can be a bit pickystubborn with linux stuff sometimes ^^

#

(uj, i used a common other word for 'picky/overfocused/strict' that was caught by the profanity filter)

#

^^

cunning mantle
strong pulsar
#

Oh no im not on the team, just very hype to play enshrouded when i can get it on friday, and been with linux for like 15 years now so like linux discussions/helping ^^

#

but yeah they should get some rest i agree ^^

grim egret
#

game is great in single player 🙂 just testing new patch, two people on server, one player has stable connection the other is fluctuating badly

#

serverload is good the game says

supple valley
#

I finally got the docker running on my ubuntu 22.04 and can connect, but after 10 min the ping is rising to infinity and its laggy as hell. The server monitor tells me cpu is at 6% and 1.1/16gb ram - this should not be the problem. Any ideas?

gloomy saddle
#

im reading everywhere that latency issues are common on Linux hosted servers. im able to get the server up and running on our debian 11 linux game server on AMP but latency is too high to play, bouncing between 500ms and 20000ms. how do we fix this?

grim egret
#

wait for devs to fix it? Idk, haven't seen a single suggestion to fix it so far sadly

spring tangle
golden dust
#

hmmm is this freaking out over it being headless?

wine64 ./enshrouded_server.exe
002c:fixme:winediag:loader_init wine-staging 9.0 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0090:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0090:err:systray:initialize_systray Could not create tray window
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.
lament yacht
#

fix it? native binaries would be nice 😛 but I think they devs are a windows only shop. who in their right mind runs a windows server if they don't have to.

golden dust
#

Nope lol

#

ended up spooling up a windows vm and tried the windows server manager and then I got the game creation failed bug on trying to join server so gave up lol I'll see if they patch the server meanwhile

agile timber
#

I got it running first try on my Pterodactyl server

lament yacht
cunning mantle
#

Fresh install of Ubuntu 22.04 LTS, consistent 4 players no ping or latency issues. Running on an older Intel NUC i5 16gb of RAM.

#

Honestly, I may move over to using docker sometime before the weekend as well. There's a few good images out there based on the steamCMD lean image.

supple valley
# spring tangle what are your server hardware specs?

CPU Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 24
On-line CPU(s) list: 2,3,5,7-9,11,13,17,22
Off-line CPU(s) list: 0,1,4,6,10,12,14-16,18-21,23
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
CPU family: 6
Model: 45
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 2
Stepping: 7
CPU max MHz: 2500.0000
CPU min MHz: 1200.0000
BogoMIPS: 3989.63

It should be 10 vCores 16GB memory, 750GB SSD, Ubuntu 22.04

spring tangle
#

I think the CPU is Ass. I will try it on the same xeon CPU again today. How many Players were on the server when it got laggy?

supple valley
#

2 players haha

#

it runs smoothly the first 20 minutes

spring tangle
#

I can test it on e5 2630v3

supple valley
#

the support just told me its shared resources I shoul switch to dedicated rootserver

spring tangle
#

It was running fine yesterday with virtualbox on debian 22.04 on my 5800x3d. But tested it with 1 player

supple valley
#

dont brin to much effort, I might just switch the hosting provider

manic rock
#

Hi, having this problem:
wine: Unhandled illegal instruction at address 00000001406728B4 (thread 0184), starting debugger...
with kernel Linux 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
any idea?
it's no vm, real cpu running with ubuntu lts

Further tracking which opcodes are used by enshrouded and comparing with the instruction set from cpu, pointed out that avx/avx2 are required to be supported by cpu. So you need at least a cpu which supports this.

just for information, following instructions set are used within the executable, some maybe not used because of branching within code:
sandybridge (avx), future(fma), pentium(3dnow,mmx), katmai(mmx,sse,mmx2,arm,thumb), haswell(avx2), prescott(sse3), x64(sse, sse2, mmxsse4.1, vmx), p6(sse), amd(sse5,sse4a)

limber cloud
#

G'Morning, are there any news regarding "Session failed for peer #1 with error 4." on client connect?

karmic basin
#

Well I got it solved by switching my network, it looks like the error 4 is because some kind of information exchange between the server and the client that is not happening. My opinion at least

solemn axle
#

It’s interesting that we all have different solutions to the same problem

#

Do we still not know what error 4 is?

karmic basin
#

I read they are asking the devs what it means

strange reef
strong pulsar
#

error 4 is an error that is different from error 1,2,3 and 11 ^^

#

i also think devs should add a string to tell what errors might be about instead of just numbers ^^

karmic basin
#

Or an Error list

lament yacht
#

Do the docker containers have any issues with ping spikes, like bare metal linux installs do?

vivid bay
vivid bay
strange reef
#

has anyone installed this on debian 12? I was using ubuntu but i ran into too any issues so im trying on debian 12. I may use docker if all else fails.

steel blaze
#

could anyone here help Agri with Enshrouded on Pteradactyl?

frosty salmon
#

and v3 added avx

frosty salmon
#

so baremetal with this error must be very old, like westmere or nehalem

frosty salmon
vivid bay
#

Host have also a better performance than the emulated cores

lament yacht
#

whatever lang the devs use for their server could be recompiled w/o avx flags (and run slower)

frosty salmon
#

sometimes the performance hit is worth it

lament yacht
strange reef
#

no mine was it just could not launch it failed to open the /.enshrouded_Server,exe

lament yacht
#

I upped my unraid VM running ubuntu server 22.03 to use 8 cores 16 threads on my epyc server, 32GB ram, all running on 4x4 nvme zfs zpool (12GB/s reads, 2GB/s writes) with 200GB/s memory bandwidth, and 2 or more players just blows the server binary to it's knees with ping spikes. If there's no fix or workaround I'll hav eot just not host a server, I refuse to stand up a "windows server"

lament yacht
strange reef
lament yacht
#

So you're using systemctl start enshrouded.service right?

strange reef
#

no D: i used wine64 ./enshrouded_Server.exe comand it was shwoing on this discrd. Should I have used systemctl start enshrouded.service instead?

#

if so ill try again on ubuntu XD

lament yacht
#

As the steam user, you can run the start server with wine64 ~/enshrouded/enshourded_server.exe
it will display the server stdout and stderr, whats it doing?

strange reef
#

hang tight let me try again gota spin up a new vm shoould nto take long

supple pike
#

I have 2 instances (both proxmox with host cpu set, 1 x server 2022 with dual Xeon(R) CPU X5650 , and 1x debian 12 with docker/wine v8 and cabextract with dual Xeon(R) CPU X5650) both installed via steamcmd, both come up with with the missing cache file error " /enshrouded_server.krc'. error=file not found " ihave checked the directories and it doesnt exist, can anyone with it working check in the directory to see if that file is there? would be great to understand how it is created..... i see two other files named the same but have different extension (.kfc_data and .kfc_dir instead of .krc) can anyone with working instance check these files exist for them aslo or not?

vivid bay
strange reef
#

trying to spin up ubuntu now 🙂 we shall try again. I have one running on server 2019 and i mtrying to move it out

#

the ram usage on that is insane

vivid bay
supple pike
#

looking into the cpu, it looks like no avx /avx 2 vector on those ones so that may be the issue.....

lament yacht
#

/home/steam/enshourded/enshrouded_server.kfc_data 775, also another file there called enshrouded_server.kfc_dir same perms

lament yacht
eager kiln
#

enshrouded | Executing w_do_call vcrun2022
enshrouded | ------------------------------------------------------
enshrouded | warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.

enshrouded | ------------------------------------------------------
enshrouded | vcrun2022 already installed, skipping
enshrouded | [Session] started transition from 'Lobby' to 'Host_Online' (current='<invalid>')!
enshrouded | [Session] 'PrepareGame' (up)!
enshrouded | [savedata] Start 'Open Container' on container 3ad85aea
enshrouded | [savedata] Updating 'Open Container' on container 3ad85aea
enshrouded | [savedata] Finished 'Open Container' on container 3ad85aea
enshrouded | [ecss] TaskQueue: workerCount:8 taskWorkerCount:7 0000000000000000000000000000000000000000000000000000000011111110
enshrouded | [TerraformingEfficiencyRegistry] Finished loading.
enshrouded | [ecs] Nobuild zones changed
enshrouded | [ecs] Build zones changed
enshrouded | [ecs] Build zones changed
enshrouded | wine: Unhandled illegal instruction at address 00000001406728B4 (thread 02b8), starting debugger...
enshrouded | Unhandled exception: illegal instruction in 64-bit code (0x000001406728b4).
...
enshrouded | 10 0x006fffffa8a0e9 BaseThreadInitThunk+0x9(unknown=<internal error>, entry=<internal error>, arg=<internal error>) [/usr/src/packages/BUILD/dlls/kernel32/thread.c:61] in kernel32 (0000000000000000)

im used https://github.com/PR3SIDENT/enshrouded-server , but its dont run/ and another docker too(

#

lsmod | grep '^kvm'
kvm_intel 323584 0
kvm 880640 61 kvm_intel

grep flags /proc/cpuinfo|head -n1|grep -Eo '(vmx|svm)'
vmx

processor : 11
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz

I threw virtualization flags from esxi, nothing helped

vivid bay
#

sry upgrade your cpu

#

not a problem with enshrouded and it will not work with this old cpu

cunning mantle
#

@vivid bay & @eager kiln - Shower thoughts on the old CPU. Xeon procs don't have integrated graphics. Does the dedicated server client need some form of GPU. I am running a k3s cluster on 10 year old NUCs and they run any workload I throw at them including Enshrouded. 5 year difference on the CPU but the memory support and command sets are the same. My NUCs have integrated graphics though. (I'm sure server mobo semantics and drivers come into play, but spit balling). @eager kiln - If you can slap a graphics card in there and pass it through esxi I'm curious if that would change anything.

#

@strong pulsar - Bless us with your thoughts and Linux wisdom haha. Am I spouting nonsense for Wine and Virtualization with an older CPU?

strong pulsar
vivid bay
strong pulsar
#

Not with wine

vivid bay
strong pulsar
#

its for running linux binaries in the current dir

#

wine doesnt need ./

#

wine is the executable

vivid bay
#

again; ./ is BASIC linux knowledge

strong pulsar
#

.... facepalm

vivid bay
strong pulsar
#

Please, you dont seem to understand. wine xyz.exe,
./ is to tell shell to run a binary in current folder.

its kinda, silly that you are so cofidently incorrect about my reply to someone else

#

Wine does not need the ./ shell call

vivid bay
#

but feel free to use it like you want

strong pulsar
#

smh

vivid bay
#

i have very often had the experience that it is needed, and i have been using it since the version 4

strong pulsar
#

So you have lived in an illusion of thinking you need to append ./ to the wine syntax?

strong pulsar
#

Yes please do, because this whole side tangent and silly "this is basic linux" is childish

vivid bay
#

wrote a lot of wine gameservers and it doesnt matter if you use ./ or not

#

some need it 😉

strong pulsar
#

you "wrote wine gameservers" what does that even mean?, i am guessing you mean shell scripts in bash or such (thats not 'writing a gameserver')

valid mulch
#

Hi folks,
I've issues connecting to my server, it's runing on a nice AMD Epyc server within a ubuntu lts 20.04 KVM-VM with wine.
I can see the server in the steamserver list and ingame as favorit, but if I try to connect I got an error

related serverlogs:

[online] Session accepted with peer ( id xxx ).
[online] Added Peer #0.
STEAMPS3 - AsyncTCPSocket created
STEAMPS3 - AsyncTCPSocket created
[online] Session failed for peer #0 with error 4.
STEAMPS3 - AsncTCPSocket destroyed
STEAMPS3 - AsncTCPSocket destroyed
[online] Removed Peer #0.

  • tried 127.0.0.1 as IP
  • tried starting it with an without systemctl
  • tried direct wine64 start
  • checked tcpdump and all ports are working

In most cases the logs are inconspicuous
Any ideas?

strong pulsar
vivid bay
valid mulch
#

No root server

strong pulsar
#

"wrote alot of wine gameservers" smh

vivid bay
#

and no need for wine64. Jus use wine

vivid bay
vivid bay
strong pulsar
#

It depends on which wine version that is installed, if the 32bit version is installed wine can call that version

#

please stop spreading misinformation here

vivid bay
#

a lot changed with wine 9. and wine 64 is not needed since wine 7

valid mulch
#

read this on some posts

vivid bay
strong pulsar
#

(wine version numbers isnt 1,2,3,4,5 aso either. sigh)

vivid bay
valid mulch
#

It was only for testing switched back to 0.0.0.0

vivid bay
#

same error?

strong pulsar
#

yeah, and then you can stop intercepting others posts without knowledge ^^

#

so please do

valid mulch
#

pls @strong pulsar we got the point

vivid bay
#

ahh sry, didnt see the illegal instruction 😄

#

are you using proxmox?

valid mulch
#

no KVM

vivid bay
#

arg; saw this error with KVM only today. You need to use direct access to the CPUs

strong pulsar
vivid bay
#

but i never use KVM outside Proxmox

#

in Proxmox its called CPU typ "Host". But idk how it works with KVM only

cunning mantle
#

They just dropped an update that fixes AVX support or lack thereof. Just a heads up.

valid mulch
#

but hadnt any issues with other windows based servers and wine until now an direct cpu access is setup btw

strange reef
#

was the install script removed for ubuntu? or am I missing something? looking for it D:

strange reef
#

ty

cunning mantle
# vivid bay KVM only?

Notes don’t say, I’m assuming if your CPU is supported by your hypervisor and underlying guest tools and VM it should trickle down? That’s my SWAG.

strong pulsar
#

get the enshrouded server with steamcmd,
get vcrun2022
make sure 64bit wine is set (export variable or direct call)
open a port for game and +1 for query
run enshrouded server with wine, make a script or cronjon or systemd-service for systemd-timers if needed/wished

#

If not needing an installscript that is ^^

vivid bay
strong pulsar
#

... didnt you say that you had stopped?

vivid bay
#

I just wanted to describe the way in Wine 9 🙂

strong pulsar
#

(anyways the reason for explicit wine64 call is for systems that doesnt only run 64bit wine)

vivid bay
#

But Wine is absolutely laggy and needs all CPUs. Proton runs better

strong pulsar
#

it all depends on distro setups /usr/bin/wine, which version is called by default

vivid bay
strong pulsar
vivid bay
strong pulsar
#

stop being so sure using only your personal anecdotes

vivid bay
#

WineHQ should be used

strong pulsar
#

smh

#

Id rather that you dont intercept my messages that isnt for you,
with confidently incorrect assumptions.

#

just, let go.

vivid bay
# strong pulsar just, let go.

Fascinating that you are triggered by everything. I just wanted to help you understand newer things with wine. But ok, I see it falls on deaf ears.

valid mulch
#

Folks pls stop this

strong pulsar
vivid bay
#

but now i really stop 🙂 I think you'll manage to learn the new features on your own 🙂 Thank you for the pleasant conversation

strong pulsar
#

Thing is im not responding to him, i write to someone else and he replies to me with assumptions (that are wrong) - and he adds some not nice attemps at condescension to it to boot.

#

It was much easier helping people in here yesterday ^^

#

when we found some flaws in a shell script going around ^^

vivid bay
#

mb this fix it

#

but the server didnt get any update

mortal sail
#

We are working on it, server update hopefully tomorrow.

vivid bay
#

ohh nice 🙂

mortal sail
#

AVX patch needs to come to server depot.

strange reef
#

alright so i got some things going but im getting a code=exited status=29

#

when i check if the service is running

vivid bay
strange reef
vivid bay
#

dns or network error

#

lol? he delete his post xD

golden dust
#

👀

onyx prawn
#

didnt mean to post it, haha

valid mulch
# vivid bay https://discord.com/channels/1046840540550942720/1047448895287992320/12001206896...

It's not the problem. I looked into it because I dont think it is a wine or server issue in general, it looks like a connection problem maybe caused by wrong ports?!?

ss -tulpn | grep -E 'enshrouded'
udp UNCONN 0 0 0.0.0.0:15637 0.0.0.0:* users:(("enshrouded_serv",pid=4990,fd=276),("wineserver",pid=4929,fd=464))
udp UNCONN 0 0 0.0.0.0:50205 0.0.0.0:* users:(("enshrouded_serv",pid=4990,fd=268),("wineserver",pid=4929,fd=487))

The gameport is 50205 instead of 15636 as stated in the enshrouded_server.json

{

"name": "myservername",

"password": "myserverpassword",

"saveDirectory": "./savegame",

"logDirectory": "./logs",

"ip": "0.0.0.0",

"gamePort": 15636,

"queryPort": 15637,

"slotCount": 8

}

vivid bay
#

then the config is not parsed. Can you set it by hand?

valid mulch
#

All other entries are parsed as they should be

vivid bay
#

only ports are not?

#

what are you using to host?

strange reef
# vivid bay exitcode dont say anything. Would be better to post the whole output

enshrouded.service - Enshrouded Server
Loaded: loaded (/etc/systemd/system/enshrouded.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-01-25 18:51:36 UTC; 15s ago
Process: 4501 ExecStartPre=/usr/games/steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 +quit (code=exited, status=0/SUCCESS)
Main PID: 4529 (StartEnshrouded)
Tasks: 78 (limit: 37461)
Memory: 317.0M
CPU: 26.021s
CGroup: /system.slice/enshrouded.service
├─4529 /bin/sh /home/steam/enshrouded/StartEnshroudedServer.sh
├─4530 start.exe /exec "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">
├─4532 /opt/wine-staging/bin/wineserver
├─4538 "C:\windows\system32\services.exe" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ">
├─4541 "C:\windows\system32\winedevice.exe" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">
├─4544 "C:\windows\system32\explorer.exe" /desktop "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ">
├─4553 "C:\windows\system32\winedevice.exe" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">

#

├─4562 "C:\windows\system32\plugplay.exe" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ">
├─4574 "C:\windows\system32\svchost.exe" -k LocalServiceNetworkRestricted "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">
├─4582 "C:\windows\system32\rpcss.exe" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ">
└─4591 "Z:\home\steam\enshrouded\enshrouded_server.exe" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ">

Jan 25 18:51:38 enshroudedserver StartEnshroudedServer.sh[4591]: [user] Couldn't retrieve steam user interface.
Jan 25 18:51:38 enshroudedserver StartEnshroudedServer.sh[4591]: [app] start creation step Init_OnlineSystem
Jan 25 18:51:38 enshroudedserver StartEnshroudedServer.sh[4591]: 018c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000000013CEFF50
Jan 25 18:51:38 enshroudedserver StartEnshroudedServer.sh[4591]: [OnlineProviderSteam] started transition from 'Uninitialized' to 'Initialized' (current='<invalid>')!
Jan 25 18:51:38 enshroudedserver StartEnshroudedServer.sh[4591]: [app] start creation step Init_Session
Jan 25 18:51:38 enshroudedserver StartEnshroudedServer.sh[4591]: [app] start creation step Init_Tracking
Jan 25 18:51:38 enshroudedserver StartEnshroudedServer.sh[4591]: [app] start creation step Init_ResourceSystem
Jan 25 18:51:38 enshroudedserver StartEnshroudedServer.sh[4591]: [resource] Could not load resource

#

cache file 'Z:/home/steam/enshrouded/enshrouded_server.krc'. error=file not found
Jan 25 18:51:38 enshroudedserver StartEnshroudedServer.sh[4591]: [app] start creation step Init_ResourcePreload_Start
Jan 25 18:51:39 enshroudedserver StartEnshroudedServer.sh[4591]: [app] start creation step Init_ResourcePreload_Wait
lines 1-31/31 (END)

#

thats the output

#

when checking status with systemctl status enshrouded.service

valid mulch
# vivid bay only ports are not?

Only the gamePort doesnt open as expected and checked if port was used by another program but it wasnt. And now tested to start with -gamePort etc wont work

vivid bay
#

how you host it?

#

Docker?

valid mulch
#

@strange reef check yourInstallationpath/logs/enshrouded_server.logs for more information systemctl isnt the right choice for debugging

#

direct vm @vivid bay

strange reef
#

Yea my bad I’ll send that over in a sec!

vivid bay
valid mulch
#

But how? -gamePort wont work

vivid bay
#

no, i the config file 🙂

#

the game have no flags now

strange reef
#

okay so the only thing i see is could not load resource file enshrouded_server.krc which I was told to ignore and then the other thing i see is started transition from lobby to host_online (current=<invalid>

#

it stops at build zones changed

valid mulch
#

@vivid bay Any ideas where to look, if the json file dont work?

vivid bay
vivid bay
valid mulch
#

deleted my file and checked the newly created one after startup - same shi..

vivid bay
#

yeah; you must edit it. The server only create a "default" file

valid mulch
#

I changed ports to some others opend them in my firewall with same result

vivid bay
#

hmmm. and in the the log, the changed ports are shown?

valid mulch
#

sudo ss -tulpn | grep -E 'enshrouded'
udp UNCONN 0 0 0.0.0.0:27042 0.0.0.0:* users:(("enshrouded_serv",pid=12036,fd=279),("wineserver",pid=11976,fd=473))
udp UNCONN 0 0 0.0.0.0:53707 0.0.0.0:* users:(("enshrouded_serv",pid=12036,fd=270),("wineserver",pid=11976,fd=485))

{
"name": "Enshrouded Server",
"password": "password",
"saveDirectory": "./savegame",
"logDirectory": "./logs",
"ip": "0.0.0.0",
"gamePort": 27041,
"queryPort": 27042,
"slotCount": 16
}

vivid bay
#

ignore wineserver

#

but why the gameport is not shown

valid mulch
#

no idea

#

I leave it for today

#

thx @vivid bay for your help

strange reef
#

ports are forwarded im nut sure if it's running running. the serice says running though

errant gust
#

@vivid bay do you use the repo from @mortal sail ? There is (was?) a problem in certain case with systemctl

#

launching it with wine64 on the steam user directly worked

mortal sail
#

My repo points to two eggs, a Proton Egg, and a Wine64 egg.

vivid bay
solemn axle
#

I did an apt upgrade and now I get error 4

#

cool

#

do we know what error 4 is yet?

#

nvm did a restart of the service, imagine it downloaded an update

strange reef
# vivid bay ignore wineserver

HEY I got it! anyone using proxmox wanting to install this on ubunto. the script works exactly right! Remember to change your cpu to host as well!

quaint sparrow
regal sail
#

@mortal sail @earnest plinth any news from the linux poor performance issue? My friends and I are playing on a windows machine (my main pc), but I would like to move this out for better security. I dont see a thread in the server0chat about this issue. Would be cool to have one to speak about it and possible workaround found

mortal sail
#

We are expecting an update soon, could be tomorrow. ETA unknown, hopeful that addresses some of the issues with performance.

earnest plinth
# regal sail <@94605943689457664> <@104406926623784960> any news from the linux poor performa...

While @mortal sail is optimistic sounding, I'd like to take a conservative approach to expectations.

I am not sure if we will have a complete Linux response anytime soon.

The game is Windows, and they would have to work on a Linux build. No comment on if they have or not. (Taking assumptions that there have been mentions of a future where the game runs on Steam Deck), it wouldn't surprise me if they did a Linux distribution for the server.

But I have no idea on timing, and I know largely Keen has been known to prioritize the Game Client and Stability first over the Dedicated Server.

earnest plinth
cunning mantle
strange oracle
#

Is this still an unsolved problem
Call from 0x7bc7c9e1 to unimplemented function KERNEL32.dll.GetSystemCpuSetInformation, aborting
I'm running native linux 5.15.0-91-generic #101~20.04.1-Ubuntu with wine on the host machine

vivid bay
strange oracle
#

I just haven't gotten around to updating it yet. I run a lot of home automation software and custom IP routing that I'm not ready to risk for an upgrade. I saw in a previous message someone had the same issue with my exact kernel version as well as a second person who was able to run it with also the same version.

vivid bay
#

do you use the Ubuntu wine packages ?

strange oracle
vivid bay
#

unInstall wine 5 and use the odficial repo

strange oracle
#

Oh I see

#

Thanks for the help! I'll give that a go tomorrow, it's getting late here

drifting solar
#

I had incredible high/bad latency (according to the in-game escape menu) with lots of rubber banding for me and all my players. I'm local to the server and they are coming in from outside. Server is a TrueNAS with virtualization running a xeon 3.7ghz 6 core 12 thread processor. I gave it many combinations of cores/threads and 32 gig of ram. I was running on ubuntu 22.04 and did a git pull and installed from the shell script.

I downloaded the game through steam on my windows 11 PC which has a 24 core ryzen threadripper and 128 gig of ram. I'm able to host the same number of people while playing on the same box with 0 lag.

I blame wine.

#

The Linux server never went beyond about 330% (read: about half of what is available) and the memory never came close to 16 gig. Both the server and windows box have ssd/nvme

vivid bay
obtuse cedar
quaint sparrow
obtuse cedar
#

I just ran the server with proton and it worked fine, it let me connect.

#

If you've followed the InstallServer.sh method then:

  1. install GE-Proton8-27 in /home/steam/Steam/compatibilitytools.d/

  2. move the files in /home/steam/.enshrouded_prefix to: /home/steam/Steam/steamapps/compatdata/2278520

  3. I run it using systemd with this:

``
[Unit]
Description=Enshrouded Server
After=syslog.target network.target

[Service]
ExecStartPre=/usr/games/steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 +quit
WorkingDirectory=/home/steam/enshrouded
Environment=XDG_RUNTIME_DIR=/run/user/0
Environment="STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/steam/Steam"
Environment="STEAM_COMPAT_DATA_PATH=/home/steam/Steam/steamapps/compatdata/2278520"
ExecStart=/home/steam/Steam/compatibilitytools.d/GE-Proton8-27/proton run enshrouded_server.exe
User=steam
Group=steam
Type=simple
Restart=on-failure
RestartSec=50s

[Install]
WantedBy=multi-user.target``

strong pulsar
#

clean ^^

obtuse cedar
#

I am not exactly sure if these compat files are needed though.

strong pulsar
#

Neither. when i get to it i will set it up manually from scratch and just add the minimal from what works/doesnt

#

Usually try to not use others shellscripts or units and such, but erryones enviro differs ofc

#

I think the first solutions people made, before access to server even, was sorta semi copypasta from other game setups, so it contains/contained some stuff not needed for enshrouded atm. but its getting there in time i suppose

odd notch
#

so with proton , no need to all the wine stuff

#

will update .sh and container in that way

#

so we can use proton instead of wine

vivid bay
vivid bay
true shard
#

Does running enshrouded via proton have that latency issue where a single player would have high ping?

vivid bay
mortal sail
#

+1 proton has been incredible so far... compared to others.

true shard
#

if i want to move my world from a windows host to a linux host i just need the contents of savegame correct?

mortal sail
#

That's what we have seen success with, yes.

true shard
#

ty

obtuse cedar
#

So it looks like you don't need these compat files at all, is there a way to run proton without specifying the directory for the compat files? I just tried and it didn't work.

true shard
#

ive never installed proton on a non desktop distro.. there a guide somewhere for it.. or is it simply just extracting tarball from the GloriousEggroll github

obtuse cedar
#

Yea pretty much.

vivid bay
#

thats the way i use it in my Image for a petro egg:

mkdir -p /home/container/.steam/steam/steamapps/compatdata/${SRCDS_APPID} export STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/container/.steam/steam" export STEAM_COMPAT_DATA_PATH="/home/container/.steam/steam/steamapps/compatdata/${SRCDS_APPID}" export WINETRICKS="/usr/sbin/winetricks" export STEAM_DIR="/home/container/.steam/steam/"

There is no need to use the steamfolder. You can use any folder you want

Proton is in: /usr/local/bin/

obtuse cedar
#

And this STEAM_COMPAT_CLIENT_INSTALL_PATH? What does Proton use it for?

#

I guess I can find out, also.

vivid bay
#

its the path where steamcmd stores the whole config

#

STEAM_COMPAT_DATA_PATH is sth like the Wineprefix, where proton stores all infos about the game

obtuse cedar
#

Tidied up my service a bit:

Environment="STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/steam/Steam" Environment="STEAM_COMPAT_DATA_PATH=/runtimes/GE-Proton/compatdata/2278520" ExecStart=/runtimes/GE-Proton/8-27/proton run enshrouded_server.exe

I am not a fan of making a single folder for proton that always has the latest version because a gameserver might depend on a specific version.

true shard
#

i'm following your guide up there.. is /home/steam/.enshrouded_prefix supposed to be empty?

vivid bay
#

and not needed with proton

eager kiln
snow token
eager kiln
snow token
#

nice! enjoy

eager kiln
snow token
#

yeah sometimes you have to shutdown and start up instead of reboot to pickup changes too

quaint sparrow
#

hmm.. so I tried to install proton as per your suggestion. But with proton I cannot even get it to start it seems. I don't know what I am missing here..
This is what I get:
systemd[1]: Started Enshrouded Server.
proton[254369]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254371]: esync: up and running.
proton[254371]: wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
proton[254373]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254375]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254378]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254388]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254401]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254407]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254415]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254420]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254430]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254432]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
proton[254434]: preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
systemd[1]: enshrouded.service: State 'stop-sigterm' timed out. Killing.
systemd[1]: enshrouded.service: Killing process 254388 (winedevice.exe) with signal SIGKILL.

This is what my systemd is configured:
WorkingDirectory=/home/steam/enshrouded
Environment=XDG_RUNTIME_DIR=/run/user/0
Environment="STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/steam/.steam"
Environment="STEAM_COMPAT_DATA_PATH=/home/steam/.steam/SteamApps/compatdata/2278520"
Environment="STEAM_DIR=/home/steam/.steam/"
ExecStart=/home/steam/.steam/compatibilitytools.d/GE-Proton8-27/proton run enshrouded_server.exe

What am I doing wrong?

obtuse cedar
#

I have the same output and it runs for me, so check in-game browser.

quaint sparrow
#

I should mention that I do not have a graphical desktop on the server. If this could be related. I got it to work with wine but had the error 4

#

Nope. Not showing up in the game browser anymore

obtuse cedar
#

Okay here is the output I normally have

base systemd[1]: Started Enshrouded Server. base proton[14720]: esync: up and running. base proton[14720]: wine: RLIMIT_NICE is <= 20, unable to use setpriority safely base proton[14780]: CAppInfoCacheReadFromDiskThread took 7 milliseconds to init

#

This Warning: failed to reserve range seems wrong though but I don't know more than that

#

This Environment=XDG_RUNTIME_DIR=/run/user/0 can safely be removed, I tested without.

#

Environment="STEAM_COMPAT_DATA_PATH=/home/steam/.steam/SteamApps/compatdata/2278520" I see the directory is SteamApps instead of steamapps, is this correct?

obtuse cedar
#

😒 damn, so all is good then. but it just doesn't work it seems...

quaint sparrow
#

Just my luck ^^'

obtuse cedar
#

This is my OS:

Linux Ubuntu-2204-jammy-amd64-base 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

quaint sparrow
#

am on focal LTS

obtuse cedar
#

Would be an idea if you could somehow spin up a 2204 just to check if that has something to do with it..:P

true shard
#

@obtuse cedar my systemd service file looks like yours but it's still trying to run StartEnshroudedServer.sh

i already did a daemon-reload.. not sure whats going on

obtuse cedar
#

That seems weird, systemctl daemon-reload should refresh that.

true shard
#

Jan 26 15:27:52 enshrouded StartEnshroudedServer.sh[25350]: 0094:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
Jan 26 15:27:52 enshrouded StartEnshroudedServer.sh[25350]: 0094:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."

obtuse cedar
#

I gotta run, but goodluck....I will check chat in a bit. 😒

#

Try to isolate the problem, double check everything, if proton works for me then there is a difference somewhere between our OS'es that causes it. (maybe configuration too).

Also try rebooting maybe?

true shard
#

yay new error

#

Jan 26 15:51:14 enshrouded proton[1300]: FileNotFoundError: [Errno 2] No such file or directory: '/home/steam/Steam/steamapps/compatdata/2278520/pfx.lock'

strong pulsar
#

what release/script/egg/container are you using?

#

some added xvfb and stuff

true shard
#

old error.. moving from wine to proton..proton throwing that file not found error now

true shard
#

yea stood up a new server to test this out.. started with the installscript.sh then followed null's guide up there.. /home/steam/.enshrouded_prefix was empty however

vivid bay
true shard
#

alright. well how do i populate the data in /home/steam/Steam/steamapps/compatdata/2278520

vivid bay
#

should be done on first start

strong pulsar
#

(Some of the solutions people hand out here come with some specific assumptions sometimes)

lament yacht
#

@vivid bay got that link to the proton linux fix for lag?

vivid bay
lament yacht
#

can you share again?

vivid bay
strong pulsar
#

It should probably be mentioned that installscript is very ubuntu/debian specific and not agnostic ^^

obtuse cedar
#

Just make an empty folder for the compatdata

#

That does it

lament yacht
lament yacht
#

I don't even use that tool, just looking at how you used proton

vivid bay
#

ahh 🙂

#

then you must check the image itself

lament yacht
#

yeah trying to find if someone setup proton with steps or source somewhere in place of linux + wine

true shard
obtuse cedar
#

The compat data thing I got from setting up an ARK ascended server, give it a google search 🙂

strong pulsar
#

the " "script":" line is horrid and not human readable friendly (egg), a long line with \n newlines O_o

vivid bay
strong pulsar
#

also didnt you have me blocked already? ^^

#

script: " "script": "#!/bin/bash\r\n# steamcmd Base Installation Script\r\n#\r\nclear\r\nRED='\033[0;31m'\r\nGREEN='\033[0;32m'\r\nYELLOW='\033[1;33m'\r\nBLUE='\033[0;34m'\r\nNC='\033[0m'\r\n\r\necho -e "${BLUE}-------------------------------------------------${NC}"\r\necho -e "${YELLOW}Enshrouded Installscript${NC}"\r\necho -e "${YELLOW}Egg by gOOvER | https://goover.dev${NC}"\r\necho -e "${BLUE}-------------------------------------------------${NC}"\r\n\r\n#apt -y update"

quaint sparrow
# obtuse cedar Okay here is the output I normally have `` base systemd[1]: Started Enshrouded...

I think I at least found out why it is not starting. But I have no idea how to fix this.
When I try starting it manually (with the env vars of the systemd exported beforehand) I get this:
[app] start creation step Init
[app] start creation step Init_Steamworks
[steam] Failed to initialize Steamworks system...Generic Error
[steam] Message from Steam: No SteamClient020
[app] Failed to create Steamworks.
[app] start destruction step Init
[enshrouded] Close Log file

Any idea?

obtuse cedar
true shard
#

bleh getting same error as paws

/home/steam/.local/share/Steam/steamcmd/linux32/steamclient.so
/home/steam/.local/share/Steam/steamcmd/linux64/steamclient.so

#

results of that find

manic cobalt
#

Getting the same problem with steamworks intialization when running with proton (proton 8), works with wine tho

obtuse cedar
true shard
#

no bueno

true shard
#

did you have to install the steamworks sdk?

obtuse cedar
true shard
#

how did you install steamcmd

obtuse cedar
#

I had it installed already but I dont fully remember.

true shard
#

whats bugging me is this [steam] Message from Steam: No SteamClient020

proton doesn't see steamcmd or something

obtuse cedar
#

I can check it later, should be able to in 20 mins.

#

You on ubuntu?

true shard
#

yep

obtuse cedar
#

Its a test server right?

true shard
#

yep just spun it up to test proton.. also got it snapshot

obtuse cedar
#

Idm looking at it in a bit using ssh, if you are willing to trust me. But let me check my steamcmd install first.

#

Ill get back to you in a bit

quaint sparrow
#

If you find out what is off there please share ^^

true shard
#

spaghetti approach currently.. throwing everything at the wall and seeing what sticks

obtuse cedar
true shard
#

steamcmd: /usr/games/steamcmd /usr/share/man/man6/steamcmd.6.gz

obtuse cedar
#

Same as me then

true shard
#

whats in /home/steam/Steam for you?

obtuse cedar
#

Run sudo su -- steam
and then steamcmd to see if it needs updates

(also just saying anything here I can think of lol)

#

Sec

#

drwxrwxr-x 3 steam steam 4096 Jan 26 16:48 appcache drwxrwxr-x 3 steam steam 4096 Jan 26 16:37 compatibilitytools.d drwxrwxr-x 2 steam steam 4096 Jan 26 16:48 config drwxrwxr-x 2 steam steam 4096 Jan 26 13:19 depotcache drwxrwxr-x 2 steam steam 4096 Jan 26 15:48 logs drwxrwxr-x 6 steam steam 4096 Jan 26 16:48 steamapps drwxrwxr-x 4 steam steam 4096 Jan 19 10:06 userdata

true shard
#

gonna start completely over.. fresh ubuntu

#

fresh steamcmd.. not going to touch that script

manic cobalt
#

Got my setup to work. Was missing x forwarding for the initialization of the proton prefix. Heres what i did

#install enshrouded
/home/steam/steamcmd/steamcmd.sh +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520
#install proton 8, login required
/home/steam/steamcmd/steamcmd.sh +login your_steamaccount +app_update 2348590
#set environment for proton
export STEAM_COMPAT_DATA_PATH=/home/steam/enshrouded/proton/
export STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/steam/Steam/
alias proton="~/Steam/steamapps/common/Proton\ 8.0/proton"
cd /home/steam/enshrouded
mkdir proton
#intialize proton prefix, needs x forwarding to server to perform steam install (install xorg on Server and connect with ssh -X or ssh -Y...might need some client program locally if connecting from windows)
proton run
proton run "enshrouded_server.exe"
true shard
#

to install steamcmd initially did you just do

sudo add-apt-repository multiverse; sudo dpkg --add-architecture i386; sudo apt update
sudo apt install steamcmd
obtuse cedar
#

believe so

#

it was just the basic guide i used

quaint axle
#

i was able to get single player working with GE. you guys having issues with server might try GE

true shard
#

@obtuse cedar do you have a desktop environment installed on your server?

true shard
#

did tobis suggestion and i get that same steamworks error.. except while inside x11

obtuse cedar
#

You were on focal right?

true shard
#

jammy

#

22.04.3 lts

obtuse cedar
#

I found the commands I used to install steamcmd

#

sudo add-apt-repository multiverse; sudo dpkg --add-architecture i386;
sudo apt install steamcmd

#

So pretty much the same

true shard
#

and you are on focal?

obtuse cedar
#

Yup

#

uname -ar
5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

true shard
#
esync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
wine: failed to open "c:\\windows\\system32\\steam.exe": c0000135
#

if i just run proton run

lament yacht
obtuse cedar
true shard
#

can you do a lsb_release -a

obtuse cedar
#

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy

true shard
#

what secret sauce did you do that i didn't do lol

obtuse cedar
#

haha

true shard
#
  1. install steamcmd
sudo add-apt-repository multiverse; sudo dpkg --add-architecture i386; sudo apt update
sudo apt install steamcmd
  1. run steamcmd once to update
/usr/games/steamcmd +quit
  1. install enshrouded
/usr/games/steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 +quit
  1. install ge-proton
wget https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-27/GE-Proton8-27.tar.gz
mkdir -p /home/steam/Steam/compatibilitytools.d/
tar -xf GE-Proton8-27.tar.gz -C /home/steam/Steam/compatibilitytools.d/
  1. create empty compat dir
mkdir -p /home/steam/Steam/steamapps/compatdata/2278520
  1. create service
touch /etc/systemd/system/enshrouded.service
cat << EOF >> /etc/systemd/system/enshrouded.service
[Unit]
Description=Enshrouded Server
After=syslog.target network.target

[Service]
ExecStartPre=/usr/games/steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 +quit
WorkingDirectory=/home/steam/enshrouded
Environment="STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/steam/Steam"
Environment="STEAM_COMPAT_DATA_PATH=/home/steam/Steam/steamapps/compatdata/2278520"
ExecStart=/home/steam/Steam/compatibilitytools.d/GE-Proton8-27/proton run enshrouded_server.exe
User=steam
Group=steam
Type=simple
Restart=on-failure
RestartSec=50s

[Install]
WantedBy=multi-user.target
EOF

systemctl daemon-reload
systemctl enable enshrouded.service
systemctl start enshrouded.service
#

which of those 6 steps did you do differently

delicate plume
#

Trying to set up a server on a server computer that has the Linus OS. but everytime i got to start it up it doesn't allow me to and gives me this code

Unhandled exception: unimplemented function KERNEL32.dll.GetSystemCpuSetInformation called in 64-bit code (0x000000007bc7c990).

true mauve
ebon patio
#

hm, i can't seem to get it running with either the steamcmd installed Proton 8, or with GE-Proton8-27
i don't really even know what to try next since i'm not getting any kind of failure statement in console, and i'm not sure where to look for log details (neither of my proton directories contain logs at this point)

#

with a fresh compat dir, whether i use 8 or 8-27, i get the following output before returning to prompt:

esync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
[holistic] Backup log to '/home/klava/Steam/steamapps/common/EnshroudedServer/logs/backup/enshrouded_server_2024-01-27T04-48-29.log'.
[enshrouded] Create logfile
enshrouded_server(detached HEAD) - version 21e2df863efe21cf490e74bced10aa1cfb6c5ef7 (master)
CPUs:
 Idx   Id  Group  LogIdx  CoreIdx  LLCIdx  NumaIdx  EffClass
  0   256    0       0        0       3       0        0
  1   257    0       1        1       3       0        0
  2   258    0       2        2       3       0        0
  3   259    0       3        3       3       0        0
  4   260    0       4        4       3       0        0
  5   261    0       5        5       3       0        0
  6   262    0       6        6       3       0        0
  7   263    0       7        7       3       0        0
CPU Types:
  Performance:   8   0000000000000000000000000000000000000000000000000000000011111111
  Efficient:     0   0000000000000000000000000000000000000000000000000000000000000000
[task] TaskSystemSetup:
[task]   mainWorkerCount:     2
[task]   nextMainWorkerIndex: 1
[task]   Group 'default'  worker:9  main:2
[task]      0:  Task-default00  0000000000000000000000000000000000000000000000000000000000000000
[task]      1:  Task-default01  0000000000000000000000000000000000000000000000000000000000000000
[task]      2:  Task-default02  0000000000000000000000000000000000000000000000000000000011111111
[task]      3:  Task-default03  0000000000000000000000000000000000000000000000000000000011111111
[task]      4:  Task-default04  0000000000000000000000000000000000000000000000000000000011111111
[task]      5:  Task-default05  0000000000000000000000000000000000000000000000000000000011111111
[task]      6:  Task-default06  0000000000000000000000000000000000000000000000000000000011111111
[task]      7:  Task-default07  0000000000000000000000000000000000000000000000000000000011111111
[task]      8:  Task-default08  0000000000000000000000000000000000000000000000000000000011111111
[task]   Group 'background'  worker:7  main:0
[task]      0:  Task-background00  0000000000000000000000000000000000000000000000000000000011111111
[task]      1:  Task-background01  0000000000000000000000000000000000000000000000000000000011111111
[task]      2:  Task-background02  0000000000000000000000000000000000000000000000000000000011111111
[task]      3:  Task-background03  0000000000000000000000000000000000000000000000000000000011111111
[task]      4:  Task-background04  0000000000000000000000000000000000000000000000000000000011111111
[task]      5:  Task-background05  0000000000000000000000000000000000000000000000000000000011111111
[task]      6:  Task-background06  0000000000000000000000000000000000000000000000000000000011111111
[app] start creation step Init
[app] start creation step Init_Steamworks
CAppInfoCacheReadFromDiskThread took 27 milliseconds to initialize
klava@demeter:~/Steam/steamapps/common/EnshroudedServer$

i don't really know what could be hanging, i'm not interpreting anything from that output as a specific failure state. so, since i don't know what's wrong, i went through basic stuff (checking to see that the enshrouded_server.json is appropriately filled out, ensuring that the ports specified are in fact specified in my security settings (TCP and UDP both))

i've been through about a dozen iterations now of wine vs proton vs a docker-based installation and i feel like i'm probably missing something really simple

#

all the while bemoaning the idea of it being 2024 and a game releasing with windows-based server software lmao

#

only thing i haven't been through is establishing a pterodactyl environment to utilize gOOvER's eggs

which given how much time and effort i've expended, would have probably been equivalent lol

vivid bay
noble canopy
#

Okay I can't deal with linux without a proper tutorial, so thanks @true shard

The service keeps restarting and upon looking closer it doesnt know run.

ExecStart=/home/steam/Steam/compatibilitytools.d/GE-Proton8-27/proton run enshrouded_server.exe
-bash: run: command not found

What did I do wrong?

true shard
#

That in the service needs to be on one line... Run goes after proton

Also wasnt really a tutorial.. was trying to troubleshoot why my installation wasn't working

Check the pins for the FAQ to find the actual tutorials

open tiger
#

any hint why I am not able to find my server? using pterodactyl (the new egg with proton) and the server don't show up in the list.
ports for sure open and fine.
the output looks bit strange with the file not found, but else its looks good?

[online] Server connected to Steam successfully
[online] Server is not VAC Secure!
[online] Server SteamId: 90179927830557725
[online] Public ipv4: XX.XX.XX.XX
[OnlineProviderSteam] 'Initialize' (up)!
[OnlineProviderSteam] 'JoinOrCreateGame' (up)!
[OnlineProviderSteam] 'SetLobbyData' (up)!
[OnlineProviderSteam] 'JoinLocalPlayers' (up)!
[OnlineProviderSteam] 'ConnectToPeers' (up)!
[OnlineProviderSteam] finished transition from 'Uninitialized' to 'InGame' (curr
ent='InGame')!
[Session] 'HostOnline' (up)!
[Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Onlin
e')!
help
[server] Start Saving
[savedata] Compression of Blob 0x00000000::USER took 1.49 ms
MaxClientComponents: 1
Snapshot took 2.32 ms:  Entities: 579 (238,976 bytes)  Storages: 30 (97,920 byte
s)  Chunks: 31 (208,706 / 2,031,616 bytes)  ClientComps: 8,092 bytes  Templates:
 1,920  TotalSize: ~2,387,804
VoxelSaveSize: 0
[savedata] File command of type '13' failed with error: 'file not found'.
[savedata] File command of type '14' failed with error: 'file not found'.
[ecss] writeEntitySerializationContext:
[ecss]   Templates: 1 (97 bytes) Components: 5 (1,344 bytes)  Size: 1,441
[ecss]   Entities: 1 (0 children)
[savexxx] SAVE 0 bases 0 entities size 1,791
[server] Save Serialization took 45.65 ms over 4 Ticks
[savedata] [server] Saved
Compression of Blob 0x00000539::SRSG took 327.00 us
[savedata] File command of type '13' failed with error: 'file not found'.
vivid bay
#

but this looks like more, that the server dont finde the savegame

[savedata] File command of type '13' failed with error: 'file not found'.

mb devs can post anywhere, what File command of type '13' or '14' is 😄

#

or add a better error message 😄

solar magnet
#

Error 4: Same issue as everyone else, but I'm able to connect to my private server directly on my lan, while my brother-in-law is not (so I technically get Error 4 on User #1 not User #0)...he's in another timezone, and had a timezone issue with No Man's Sky. He changed is timezone to mine, and it works fine.

karmic basin
#

Did someone found a solution to the proton problem with Steamworks:
[I 00:00:00,194] [app] start creation step Init
[I 00:00:00,194] [app] start creation step Init_Steamworks
[E 00:00:00,206] [steam] Failed to initialize Steamworks system...Generic Error
[E 00:00:00,206] [steam] Message from Steam: No SteamClient020
[E 00:00:00,206] [app] Failed to create Steamworks.
[I 00:00:00,211] [app] start destruction step Init
[I 00:00:00,217] [enshrouded] Close Log file

vivid bay
#

how did you installed the server?