Jump to content

Unable to download 7d2d server on 32Bit Linux


Falco

Recommended Posts

I wish to run a server on a 32 bit linux machine, however steamcmd refuses to download the server. According to the FAQ there are minimum requirements for 32bit servers, which suggests that they exist.



#! /usr/bin/bash

STEAMPATH="/opt/steamcmd/linux32"
STEAMUSER="FalcoGerServer"
STEAMPASS="*********"
GAMEPATH="/opt/steamcmd/7d2d/"
GAMEID="294420"

LD_LIBRARY_PATH="/opt/steamcmd/linux32/:$LD_LIBRARY_PATH" "$STEAMPATH/steamcmd" +login "$STEAMUSER" "$STEAMPASS" +force_install_dir "$GAMEPATH" +"app_update $GAMEID validate" +quit

Redirecting stderr to '/root/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK
Logging in user 'FalcoGerServer' to Steam Public...src/common/friendsuihelpers.cpp (54) : Assertion Failed: Is64BitOS()
OK
Waiting for client config...OK
Waiting for user info...OK
ERROR! Failed to install app '294420' (Requires 64bit operating system)


 
Link to comment
Share on other sites

13 hours ago, Beelzybub said:

 

Afaik, 32 bit support was removed in A18. Can you upgrade the computer to a 64 bit os?

Alpha 15 actually. 

 

Will need to upgrade the server OS to 64-bit, or stick with the older versions.

If the server cannot be upgraded to 64-bit because of the hardware, then the system is very likely not capable of running the current version anyway.

Link to comment
Share on other sites

10 hours ago, SylenThunder said:

Alpha 15 actually.

 

For these reasons, don't think it was Alpha 15.

 

From the A18 release notes here: https://7daystodie.com/a18-official-release-notes/

 

"Removed 32 bit Windows support"

 

From Alpha 15 release notes here: https://7daystodie.com/alpha-15-release-notes/

 

"Added: Launcher on Windows, allows switching 32/64 bit engine as well as a few other options"

 

Alpha 16 also includes the 32/64 bit switch option in the launcher.

 

 

Link to comment
Share on other sites

Actually I'm running a 64bit OS.

The issue is a bit more complicated.

 

I'm running box86/box64 on a raspberry pi4 (arm64) with Ubuntu 20.04 64 bit.

 


steam(pi):~>./run_steamcmd.sh
Box86 with Dynarec v0.2.3 c04aeec3 built on Aug 23 2021 19:56:33
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK
Logging in user 'FalcoGerServer' to Steam Public...src/common/friendsuihelpers.cpp (54) : Assertion Failed: Is64BitOS()
OK
Waiting for client config...OK
Waiting for user info...OK

Steam>app_update 294420 validate
ERROR! Failed to install app '294420' (Requires 64bit operating system)

Steam>exit

steam(pi):~>uname -a
Linux pi 5.4.0-1042-raspi #46-Ubuntu SMP PREEMPT Fri Jul 30 00:35:40 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
[#33]<23.Aug.21-20:49>steam(pi):~>



I don't know how steamcmd determines that the machine is 32 bit, but steamcmd itself is a 32bit application, which is ridiculous, by the way. So it's emulated/dynamically recompiled with box86, which of course loads the 32bit libc for armhf (the 32 bit arm architecture).

 

My best guess is that steamcmd checks for amd64 and x86_64 in the architecture and concludes that way that it's a supported 64 bit operating system, otherwise it assumes it's 32 bit.

Link to comment
Share on other sites

Testing it now. I'll update here.

 

Update:

 

It's started. I ran the default serverconfig.xml.

Trying to connect gives me "Server still initializing."

 

I'll wait a few minutes. Nothing seems to be happening.

 

Update 2:

Checked the logs.

 

206729|0x64911f20: Unimplemented Opcode (91) 82 04 80 D2 EF FF FF 17 61 14 00 B0 21 00 39

 

after about 5 minutes after startup. Then segfault.

Edited by Falco (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...