ptitSeb / box86-compatibility-list

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

Crypt of the NecroDancer (Native) #453

Open ricoazzurro opened 5 months ago

ricoazzurro commented 5 months ago

Description

Crypt of the NecroDancer, v4.0.0-b5095 (71873), Linux x64, GOG, Engine: Monkey X Included DLC: Amplified, Synchrony

Box64 with Dynarec v0.2.7 4a889e3 Rock 5B, LFS, Kernel rk-6.1-rkr1-panthor-v6, Mesa 24.1.0, Gnome 46

Working Log,

rico [ /opt/games/crypt_of_the_necrodancer ]$ ./box64-start.sh
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 61 entries
Box64 with Dynarec v0.2.7 4a889e3 built on Apr  4 2024 02:20:56
BOX64: Detected 48bits at least of address space
Counted 64 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/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./NecroDancer64/NecroDancer
Not an ELF file (sign=#!/b)
Error: Reading elf header of /opt/games/crypt_of_the_necrodancer/NecroDancer64/NecroDancer, Try to launch natively instead
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 61 entries
Box64 with Dynarec v0.2.7 4a889e3 built on Apr  4 2024 02:20:56
BOX64: Detected 48bits at least of address space
Counted 65 Env var
BOX64 LIB PATH: lib/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./NecroDancer.x64
Rename process to "NecroDancer.x64"
Using emulated lib/libnecrolevel.so
Using native(wrapped) libfreetype.so.6
Using emulated lib/libsfml-graphics.so.2.5
Using emulated lib/libsfml-audio.so.2.5
Using emulated lib/libsfml-network.so.2.5
Using emulated lib/libluajit-5.1.so.2
Using native(wrapped) libm.so.6
Using emulated lib/libGalaxy64.so
Using emulated lib/libdiscord_game_sdk.so
Using native(wrapped) libuuid.so.1
Using native(wrapped) libcap.so.2
Using native(wrapped) libXrandr.so.2
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) libdl.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXss.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libGL.so.1
Using emulated lib/libsfml-window.so.2.5
Using emulated lib/libsfml-system.so.2.5
Using native(wrapped) libpthread.so.0
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
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 native(wrapped) libudev.so.1
Using native(wrapped) libopenal.so.1
Error initializing native libFLAC.so.8 (last dlerror is libFLAC.so.8: cannot open shared object file: No such file or directory)
Using emulated lib/libFLAC.so.8
Using native(wrapped) libogg.so.0
[2024-04-04 09:48:36.620] [Renderer] [info] OpenGL 2.1 renderer initialized
[2024-04-04 09:48:36.622] [PerformanceMonitor] [warning] 'BGFX init' took 129.985 ms
[2024-04-04 09:48:36.631] [DirectorySource] [warning] Non-existent directory '../dungeons' was specified as resource path
[2024-04-04 09:48:36.635] [DirectorySource] [warning] Non-existent directory '../replays' was specified as resource path
[2024-04-04 09:48:36.722] [DiscordAPI] [info] Discord API init failed with error code 4
[2024-04-04 09:48:37.672] [ModLoader] [info] Mounting packed mod Amplified v4.0.0
[2024-04-04 09:48:37.684] [ModLoader] [info] Mounting packed mod CharacterSkins v4.0.0
[2024-04-04 09:48:37.685] [ModLoader] [info] Mounting packed mod DynChar v4.0.0
[2024-04-04 09:48:37.688] [ModLoader] [info] Mounting packed mod Permissive v4.0.0
[2024-04-04 09:48:37.699] [ModLoader] [info] Mounting packed mod Synchrony v4.0.0
[2024-04-04 09:48:37.706] [ModLoader] [info] Mounting packed mod quirks v4.0.0
[2024-04-04 09:48:41.856] [Performance] [warning] event.startup: 'loadSettings' took 987.374ms
[2024-04-04 09:48:51.628] [Performance] [warning] event.tick: 'updateInputControls' took 179.260ms
[2024-04-04 09:48:51.838] [Performance] [warning] event.tick: 'preloadImages' took 106.221ms
[2024-04-04 09:48:52.377] [CurlHTTPClient] [error] HTTP request failed with code 77: error setting certificate file: /etc/ssl/certs/ca-certificates.crt
[2024-04-04 09:48:52.397] [ModIO] [error] scripts/system/utils/serial/JSON.lua:313: unexpected character '' at line 1 col 1
stack traceback:
    [C]: in function 'error'
    scripts/system/utils/serial/JSON.lua:313: in upvalue 'decode_error'
    scripts/system/utils/serial/JSON.lua:511: in upvalue 'parse'
    scripts/system/utils/serial/JSON.lua:519: in function <scripts/system/utils/serial/JSON.lua:515>
    [C]: in function 'xpcall'
    scripts/system/utils/Try.lua:35: in field 'getOrNil'
    scripts/necro/mod/portal/ModIO.lua:879: in function <scripts/necro/mod/portal/ModIO.lua:878>
    [C]: in function 'xpcall'
    scripts/system/network/HTTP.lua:115: in upvalue 'handleErrors'
    scripts/system/network/HTTP.lua:201: in field 'func'
    scripts/system/events/AbstractSelector.lua:75: in field 'fire'
    scripts/system/game/Cycle.lua:61: in function <scripts/system/game/Cycle.lua:60>
    scripts/core/SystemEvents.lua:35: in function <scripts/core/SystemEvents.lua:28>
    [C]: in function 'xpcall'
    scripts/core/SystemEvents.lua:28: in function <scripts/core/SystemEvents.lua:25>
[2024-04-04 09:48:52.790] [CurlHTTPClient] [error] HTTP request failed with code 77: error setting certificate file: /etc/ssl/certs/ca-certificates.crt
[2024-04-04 09:48:52.807] [WeeklyChallenge] [error] scripts/system/utils/serial/JSON.lua:313: unexpected character '' at line 1 col 1
stack traceback:
    [C]: in function 'error'
    scripts/system/utils/serial/JSON.lua:313: in upvalue 'decode_error'
    scripts/system/utils/serial/JSON.lua:511: in upvalue 'parse'
    scripts/system/utils/serial/JSON.lua:519: in function <scripts/system/utils/serial/JSON.lua:515>
    [C]: in function 'xpcall'
    scripts/system/utils/Try.lua:35: in field 'getOrNil'
    scripts/necro/game/data/modifier/WeeklyChallenge.lua:447: in function <scripts/necro/game/data/modifier/WeeklyChallenge.lua:445>
    [C]: in function 'xpcall'
    scripts/system/network/HTTP.lua:115: in upvalue 'handleErrors'
    scripts/system/network/HTTP.lua:201: in field 'func'
    scripts/system/events/AbstractSelector.lua:75: in field 'fire'
    scripts/system/game/Cycle.lua:61: in function <scripts/system/game/Cycle.lua:60>
    scripts/core/SystemEvents.lua:35: in function <scripts/core/SystemEvents.lua:28>
    [C]: in function 'xpcall'
    scripts/core/SystemEvents.lua:28: in function <scripts/core/SystemEvents.lua:25>
[2024-04-04 09:48:52.825] [WeeklyChallenge] [warning] Error fetching Weekly Challenge data
[2024-04-04 09:48:56.282] [ImagePreload] [info] Read 1676 images in 123ms
[2024-04-04 09:48:58.161] [ImagePreload] [info] Loaded 1676 images in 1143ms
[2024-04-04 09:49:03.792] [AudioPreload] [info] Preloaded 2206 sounds in 260ms
[2024-04-04 09:49:06.383] [GalaxyAPI] [warning] Authentication failure (error code 1)
[2024-04-04 09:49:06.391] [GalaxyClient] [error] Failed to sign in to GOG Galaxy
[2024-04-04 09:49:56.678] [Performance] [warning] event.tick: 'networkClient' took 117.694ms
[2024-04-04 09:49:57.119] [Performance] [warning] event.levelGenerate: 'generateDungeonLevel' took 120.394ms
[2024-04-04 09:49:57.123] [Performance] [warning] event.tick: 'processGameSession' took 300.166ms
[2024-04-04 09:49:59.501] [Performance] [warning] event.tick: 'updateVisualObjects' took 170.906ms
[2024-04-04 09:49:59.769] [Performance] [warning] event.render: 'renderGameObjects' took 123.406ms
[2024-04-04 09:49:59.906] [Performance] [warning] event.render: 'renderHUD' took 115.275ms
[2024-04-04 09:49:59.906] [Performance] [warning] event.renderUI: 'renderGame' took 389.777ms
[2024-04-04 09:50:00.632] [Performance] [warning] event.renderUI: 'renderGame' took 105.827ms
[2024-04-04 09:50:00.859] [Performance] [warning] event.renderUI: 'renderGame' took 113.938ms
[2024-04-04 09:50:01.067] [Performance] [warning] event.renderUI: 'renderGame' took 116.349ms
[2024-04-04 09:50:01.244] [Performance] [warning] event.renderUI: 'renderGame' took 121.308ms
[2024-04-04 09:50:01.383] [Performance] [warning] event.tick: 'processInvokeLaterQueue' took 113.758ms
[2024-04-04 09:50:01.716] [Performance] [warning] event.renderUI: 'renderGame' took 122.919ms
[2024-04-04 09:50:01.921] [Performance] [warning] event.renderUI: 'renderGame' took 116.927ms
[2024-04-04 09:50:02.105] [Performance] [warning] event.renderUI: 'renderGame' took 125.257ms
[2024-04-04 09:50:02.261] [Performance] [warning] event.renderUI: 'renderGame' took 116.007ms
[2024-04-04 09:50:02.411] [Performance] [warning] event.renderUI: 'renderGame' took 103.162ms

Tested on

Status

Previous behavior:

Not working. https://github.com/ptitSeb/box86-compatibility-list/issues/234 https://github.com/ptitSeb/box64/pull/712 https://github.com/ptitSeb/box64/issues/701

Current behavior:

Working.

Screenshots

Crypt of the NecroDancer-1 Crypt of the NecroDancer-2 Crypt of the NecroDancer-3 Crypt of the NecroDancer-4

OpenGL

OpenGL 1.x / 2.x Not sure. But the game can be played without PAN_MESA_DEBUG=gl3

Additional Information

https://braceyourselfgames.com/crypt-of-the-necrodancer/ https://www.gog.com/game/crypt_of_the_necrodancer https://store.steampowered.com/app/247080/Crypt_of_the_NecroDancer/ https://www.pcgamingwiki.com/wiki/Crypt_of_the_NecroDancer

ptitSeb commented 5 months ago

It's funny that you thanks the wrapping of FlibLAC as you don't use it in your working log ;)

Error initializing native libFLAC.so.8 (last dlerror is libFLAC.so.8: cannot open shared object file: No such file or directory)
Using emulated lib/libFLAC.so.8

You use the emulated version here...

ricoazzurro commented 5 months ago

You are right. Funny me ;) No, Ksco ~~~

root [ ~ ]# ls -lah /usr/lib/libFL*
lrwxrwxrwx 1 root root   15 Mar 31 00:23 /usr/lib/libFLAC++.so -> libFLAC++.so.10
lrwxrwxrwx 1 root root   13 Mar 31 00:23 /usr/lib/libFLAC.so -> libFLAC.so.12
lrwxrwxrwx 1 root root   19 Mar 31 00:23 /usr/lib/libFLAC++.so.10 -> libFLAC++.so.10.0.1
-rwxr-xr-x 1 root root 132K Apr  1 20:24 /usr/lib/libFLAC++.so.10.0.1
lrwxrwxrwx 1 root root   17 Mar 31 00:23 /usr/lib/libFLAC.so.12 -> libFLAC.so.12.1.0
-rwxr-xr-x 1 root root 323K Apr  1 20:26 /usr/lib/libFLAC.so.12.1.0