Open NumanTF2 opened 4 months ago
I assume you don't have binfmt instegration (running on some virtualized clound-ush environement)... So for it to work, you have to setup BIX64_BASH
to point to an x86_64 version of bash (one can be found in the test
folder of box64 for example.
I assume you don't have binfmt instegration (running on some virtualized clound-ush environement)... So for it to work, you have to setup
BIX64_BASH
to point to an x86_64 version of bash (one can be found in thetest
folder of box64 for example.
i setup box64 bash by doing the command chmod +x bash and then export BOX64_BASH=~/depotdownloader/TF2/bash here is what i got after i ran it again BTW I am on debian 12 (bookworm)
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 exynos-m1 with 8 Cores
Hardware counter to slow (0 kHz), not using it
Will use Software counter measured at 1.0 GHz emulating 2.0 GHz
Params database has 73 entries
Using bash "/root/depotdownloader/TF2/bash"
Box64 with Dynarec v0.2.9 c9a6d4c0 built on Jun 15 2024 06:22:49
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 23 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/data/data/com.termux/files/usr/bin/:/system/bin/:/system/xbin/
Looking for ./srcds_run_64
argv[1]="-debug"
argv[2]="-console"
argv[3]="-game"
argv[4]="tf"
argv[5]="+sv_pure"
argv[6]="1"
argv[7]="+map"
argv[8]="mvm_ghost_town"
argv[9]="+maxplayers"
argv[10]="24"
Not an ELF file (sign=#!/b)
Error: Reading elf header of /root/depotdownloader/TF2/srcds_run_64, Try to launch using bash instead
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 exynos-m1 with 8 Cores
Hardware counter to slow (0 kHz), not using it
Will use Software counter measured at 1.0 GHz emulating 2.0 GHz
Params database has 73 entries
Using bash "/root/depotdownloader/TF2/bash"
Box64 with Dynarec v0.2.9 c9a6d4c0 built on Jun 15 2024 06:22:49
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 23 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/data/data/com.termux/files/usr/bin/:/system/bin/:/system/xbin/
Looking for /root/depotdownloader/TF2/bash
bash detected, disabling banner
Apply RC params for bash
************** WARNING ***************
Running the dedicated server as root
is highly discouraged. It is generally
unnecessary to use root privileges to
execute the dedicated server.
**************************************
The server will continue to launch in 10 seconds\rThe server will continue to launch in 9 seconds\rThe server will continue to launch in 8 seconds\rThe server will continue to launch in 7 seconds\rThe server will continue to launch in 6 seconds\rThe server will continue to launch in 5 seconds\rThe server will continue to launch in 4 seconds\rThe server will continue to launch in 3 seconds\rThe server will continue to launch in 2 seconds\rThe server will continue to launch in 1 seconds\rAuto detecting CPU
Using default binary: ./srcds_linux64
Enabling debug mode
Server will auto-restart if there is a crash.
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 exynos-m1 with 8 Cores
Hardware counter to slow (0 kHz), not using it
Will use Software counter measured at 1.0 GHz emulating 2.0 GHz
Params database has 73 entries
Box64 with Dynarec v0.2.9 c9a6d4c0 built on Jun 15 2024 06:22:49
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 24 Env var
BOX64 LIB PATH: /root/depotdownloader/TF2/bin/:/root/depotdownloader/TF2/bin/linux64/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/data/data/com.termux/files/usr/bin/:/system/bin/:/system/xbin/
Looking for ./srcds_linux64
argv[1]="-debug"
argv[2]="-console"
argv[3]="-game"
argv[4]="tf"
argv[5]="+sv_pure"
argv[6]="1"
argv[7]="+map"
argv[8]="mvm_ghost_town"
argv[9]="+maxplayers"
argv[10]="24"
Rename process to "srcds_linux64"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated bin/linux64/libtier0_srv.so
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x3f0124f060 (0x9c0f6)
Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x3f0124f6a0 (0x9cd76)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x3f0124fb00 (0x9d636)
Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x3f0124fff8 (0x9e026)
Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x3f012504a8 (0x9e986)
Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x3f01250c88 (0x9f946)
Using emulated bin/linux64/libvstdlib_srv.so
Using emulated bin/linux64/dedicated_srv.so
Using emulated /root/depotdownloader/TF2/bin/linux64/libsteam_api.so
Error loading needed lib libmvec.so.1
Error loading one of needed lib
Error initializing needed lib bin/linux64/dedicated_srv.so
Failed to open bin/linux64/dedicated_srv.so (Cannot dlopen("bin/linux64/dedicated_srv.so"/0x402055, 2)
)
cat: hlds.20299.pid: No such file or directory
email debug.log to linux@valvesoftware.com
Sat Jun 15 09:38:40 PM UTC 2024: Server restart in 10 seconds
Sat Jun 15 09:38:45 PM UTC 2024: Server Quit
I assume you don't have binfmt instegration (running on some virtualized clound-ush environement)... So for it to work, you have to setup
BIX64_BASH
to point to an x86_64 version of bash (one can be found in thetest
folder of box64 for example.
the one above is the 64 bit executable of the server. since tf2 moved to 64 bit recently. You can still run 32 bit servers and you can play on them on 64 bit version of the game. i ran the 32 bit version aka srcds_run instead of srcds_run_64. the 64 bit launches srcds_linux64 and the 32 bit launches srcds_linux. here is what i got running the 32 bit version. I couldnt run box86 since it would say that the box86 bash i got couldnt load needed libs in ./bash32. so this is box64 with box64 bash
Server Run
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 exynos-m1 with 8 Cores
Hardware counter to slow (0 kHz), not using it
Will use Software counter measured at 1.0 GHz emulating 2.0 GHz
Params database has 73 entries
Box64 with Dynarec v0.2.9 c9a6d4c0 built on Jun 15 2024 06:22:49
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 23 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/data/data/com.termux/files/usr/bin/:/system/bin/:/system/xbin/
Looking for ./bash
bash detected, disabling banner
Apply RC params for bash
************** WARNING ***************
Running the dedicated server as root
is highly discouraged. It is generally
unnecessary to use root privileges to
execute the dedicated server.
**************************************
The server will continue to launch in 10 seconds\rThe server will continue to launch in 9 seconds\rThe server will continue to launch in 8 seconds\rThe server will continue to launch in 7 seconds\rThe server will continue to launch in 6 seconds\rThe server will continue to launch in 5 seconds\rThe server will continue to launch in 4 seconds\rThe server will continue to launch in 3 seconds\rThe server will continue to launch in 2 seconds\rThe server will continue to launch in 1 seconds\rAuto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
Box86 with Dynarec v0.3.7 2e589f42 built on May 24 2024 06:17:04
Error initializing native libtinfo.so.5 (last dlerror is libtinfo.so.5: cannot open shared object file: No such file or directory)
Error initializing native libncurses.so.5 (last dlerror is libncurses.so.5: cannot open shared object file: No such file or directory)
WARNING: Failed to load 32-bit libtinfo.so.5 or libncurses.so.5.
Please install (lib32tinfo5 / ncurses-libs.i686 / equivalent) to enable readline.
Using shader api: shaderapiempty_srv.so
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dbg_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dbg_srv.so"/0xf51cc190, 2)
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dbg_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dbg_srv.so"/0xf51cc190, 2)
failed to dlopen stdshader_dbg_srv.so error=Cannot dlopen("stdshader_dbg_srv.so"/0xf51cc190, 2)
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dx6_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dx6_srv.so"/0xf51cc190, 2)
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dx6_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dx6_srv.so"/0xf51cc190, 2)
failed to dlopen stdshader_dx6_srv.so error=Cannot dlopen("stdshader_dx6_srv.so"/0xf51cc190, 2)
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dx7_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dx7_srv.so"/0xf51cc190, 2)
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dx7_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dx7_srv.so"/0xf51cc190, 2)
failed to dlopen stdshader_dx7_srv.so error=Cannot dlopen("stdshader_dx7_srv.so"/0xf51cc190, 2)
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dx8_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dx8_srv.so"/0xf51cc190, 2)
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dx8_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dx8_srv.so"/0xf51cc190, 2)
failed to dlopen stdshader_dx8_srv.so error=Cannot dlopen("stdshader_dx8_srv.so"/0xf51cc190, 2)
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dx9_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dx9_srv.so"/0xf51cc190, 2)
failed to dlopen /root/depotdownloader/TF2/bin/stdshader_dx9_srv.so error=Cannot dlopen("/root/depotdownloader/TF2/bin/stdshader_dx9_srv.so"/0xf51cc190, 2)
failed to dlopen stdshader_dx9_srv.so error=Cannot dlopen("stdshader_dx9_srv.so"/0xf51cc190, 2)
Using Breakpad minidump system. Version: 8835751 AppID: 232250
Setting breakpad minidump AppID = 232250
Using breakpad crash handler
Missing shutdown function for COM_InitFilesystem( info.m_pInitialMod ) : COM_ShutdownFileSystem()
Sun Jun 16 06:50:55 AM UTC 2024: Server Quit
`Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A53 exynos-m1 with 8 Cores Hardware counter to slow (0 kHz), not using it Will use Software counter measured at 1.0 GHz emulating 2.0 GHz Params database has 73 entries Box64 with Dynarec v0.2.9 c9a6d4c0 built on Jun 15 2024 06:22:49 BOX64: Didn't detect 48bits of address space, considering it's 39bits Counted 23 Env var BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/ BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/:/data/data/com.termux/files/usr/bin/:/system/bin/:/system/xbin/ Looking for srcds_run_64 argv[1]="-debug" argv[2]="-console" argv[3]="-game" argv[4]="tf" argv[5]="+sv_pure" argv[6]="1" argv[7]="+map" argv[8]="mvm_ghost_town" argv[9]="+max_players" argv[10]="24" Not an ELF file (sign=#!/b) Error: Reading elf header of /root/depotdownloader/TF2/srcds_run_64, Try to launch natively instead
** WARNING *** Running the dedicated server as root is highly discouraged. It is generally unnecessary to use root privileges to execute the dedicated server.
Auto detecting CPUntinue to launch in 1 secondss Using default binary: ./srcds_linux64 Enabling debug mode Server will auto-restart if there is a crash. /root/depotdownloader/TF2/srcds_run_64: 353: ./srcds_linux64: not found cat: hlds.8233.pid: No such file or directory email debug.log to linux@valvesoftware.com Sat Jun 15 12:55:05 PM UTC 2024: Server restart in 10 seconds /root/depotdownloader/TF2/srcds_run_64: 353: ./srcds_linux64: not found cat: hlds.8233.pid: No such file or directory email debug.log to linux@valvesoftware.com Sat Jun 15 12:55:16 PM UTC 2024: Server restart in 10 seconds Sat Jun 15 12:55:16 PM UTC 2024: Server Quit
root@localhost:~/depotdownloader/TF2# ls bin srcds_linux tf debug.log srcds_linux64 thirdpartylegalnotices.txt hl2 srcds_run platform srcds_run_64`
it complains that its missing a file but its in the same directory as the script i used to launch the server provided by the game creators themselves i ran it in debug mode to give you the debug.log debug.log