ptitSeb / box86-compatibility-list

Box86 Compatibility List (Games and Software)
MIT License
65 stars 2 forks source link

Super Blood Hockey (Native) #547

Open ricoazzurro opened 3 days ago

ricoazzurro commented 3 days ago

Description

Super Blood Hockey, v1.5.4, Linux x64, Steam, Engine: FNA, MonoGame Box64 with Dynarec v0.3.1 f9f0c99 Rock 5B, LFS, rk-6.1-rkr3-panthor, Mesa 25.0.0, Gnome 47.1

Working Log of x86_64,

rico [ /opt/games/super_blood_hockey ]$ ./box64-start.sh 
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on - - - - - - - - - - - - - - - - with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 95 entries
Box64 with Dynarec v0.3.1 f9f0c99 built on Nov 27 2024 03:37:40
BOX64: Detected 48bits at least of address space
Counted 62 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./SuperBloodHockey.bin.x86_64
Rename process to "SuperBloodHockey.bin.x86_64"
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
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) libbsd.so.0
Using emulated ./x64/libSDL2-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libudev.so.1
Using emulated ./x64/libopenal.so.1
Using native(wrapped) libpulse.so.0
Error loading needed lib libCSteamworks
Warning: Cannot dlopen("libCSteamworks"/0x528057e0, 101)
Using emulated /opt/games/super_blood_hockey/lib64/libCSteamworks.so
Using emulated /opt/games/super_blood_hockey/lib64/libsteam_api.so
Using emulated /usr/lib/box64-x86_64-linux-gnu/libstdc++.so.6
Using emulated /usr/lib/box64-x86_64-linux-gnu/libgcc_s.so.1
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.

Error Log of x86 with box32,

rico [ /opt/games/super_blood_hockey ]$ box64 ./SuperBloodHockey.bin.x86
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on - - - - - - - - - - - - - - - - with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 95 entries
Box64 with Dynarec v0.3.1 f9f0c99 built on Nov 27 2024 03:37:40
BOX64: Detected 48bits at least of address space
Counted 62 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./SuperBloodHockey.bin.x86
BOX64: Using Box32 to load 32bits elf
Memory higher than 32bits reserved
Rename process to "SuperBloodHockey.bin.x86"
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2

Native stacktrace:

    /opt/games/super_blood_hockey/SuperBloodHockey.bin.x86(mono_handle_native_sigsegv+108) [0x8285388]
Warning: Unsupported libc Syscall 0x02 (2)
Warning, long 4294967295 is not a 32bits value

Debug info from gdb:

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

NativeBT: ./SuperBloodHockey.bin.x86() [0x34b1e04c]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffa124b7a8]
NativeBT: /usr/lib/libc.so.6(+0x845d8) [0xffffa10c45d8]
NativeBT: /usr/lib/libc.so.6(gsignal+0x1c) [0xffffa1075cbc]
NativeBT: /usr/lib/libc.so.6(abort+0xf4) [0xffffa1061900]
NativeBT: ./SuperBloodHockey.bin.x86() [0x34f9dc2c]
NativeBT: ./SuperBloodHockey.bin.x86() [0x34aa5f1c]
NativeBT: ./SuperBloodHockey.bin.x86() [0x34b03b80]
NativeBT: ./SuperBloodHockey.bin.x86() [0x34f8d024]
NativeBT: ./SuperBloodHockey.bin.x86() [0x34f8d69c]
NativeBT: ./SuperBloodHockey.bin.x86() [0x34b1e34c]
NativeBT: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffa124b7a8]
NativeBT: [0xff9df8d8]
EmulatedBT: ??? [0x30851800]
EmulatedBT: ??? [0x6082854c1]
4361|SIGABRT @0xffffa10c45d8 (???(/usr/lib/libc.so.6+0x845d8)) (x64pc=0x30851813/"???", rsp=0x3080e47c, stack=0x30010000:0x30810000 own=(nil) fp=0x3080e4b0), for accessing 0x3e800001109 (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x000000020828c37b RSP-0x18:0x0000000000000000 RSP-0x10:0x082a98c3080b089c RSP-0x08:0x000007f84b46a5a0
RSP+0x00:0x00000006082854c1 RSP+0x08:0x000000003080e4b0 RSP+0x10:0xffffffff00000001 RSP+0x18:0x083591f0083591bc
RAX:0x0000000000000000 RCX:0x00000000083ab320 RDX:0x00000000ffffffff RBX:0x00000000083ab320 
RSP:0x000000003080e47c RBP:0x000000003080e4b0 RSI:0x00000000362d22e8 RDI:0x0000000000001109 
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000000000000 
R12:0x0000000000000000 R13:0x0000000000000000 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0023 SS:0x002b DS:0x002b FS:0x0000 GS:0x0033 
Aborted

Tested on

Previous behavior

None reported

Current behavior

Working

Screenshots

Super Blood Hockey-1 Super Blood Hockey-2 Super Blood Hockey-3 Super Blood Hockey-4

OpenGL

OpenGL 3+ (Not sure) Shader Model support 3.0

Additional Information

https://gamesbyloren.com/pages/super-blood-hockey https://store.steampowered.com/app/532190/Super_Blood_Hockey/ https://www.pcgamingwiki.com/wiki/Super_Blood_Hockey

rajdakin commented 3 days ago

You said there was an x86 version which doesn't work with box32; does it work with box86 or did you not try?

ricoazzurro commented 3 days ago

You said there was an x86 version which doesn't work with box32; does it work with box86 or did you not try?

There is an x86 bin in the game folder.

rico [ /opt/games/super_blood_hockey ]$ ls -lah SuperBloodHockey*
-rwxr-xr-x 1 rico rico 1.1K Jun 16 23:36 SuperBloodHockey
-rwxr-xr-x 1 rico rico 4.2M Jun 17 02:53 SuperBloodHockey.bin.osx
-rwxr-xr-x 1 rico rico  13M Jun 17 02:53 SuperBloodHockey.bin.x86
-rwxr-xr-x 1 rico rico  16M Jun 17 02:53 SuperBloodHockey.bin.x86_64
-rwxr-xr-x 1 rico rico 1.7M Jun 17 02:53 SuperBloodHockey.exe

I didn't try box86. I don't have armhf platform atm.

ptitSeb commented 3 days ago

I have added the missing syscall to box32. But that will probably not be enough for the game anyway.