Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stardew Valley (Native) #469

Open
ricoazzurro opened this issue Apr 14, 2024 · 1 comment
Open

Stardew Valley (Native) #469

ricoazzurro opened this issue Apr 14, 2024 · 1 comment
Labels
box64 Run with Box64 OpenGL 1.x/2.x Using OpenGL 1.x or 2.x Working Tested on a platform and it was working fine

Comments

@ricoazzurro
Copy link

Re-Tested for New version or New platform

Description

Stardew Valley, v1.6.3.24087.6495347694 (72214), Linux x64, GOG, Engine: MonoGame

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

  • Working.
  • Box64 has improved a lot. No need to sideload missing libs now, eg. icu, openssl-1 etc.
  • In my test, 1st time launch failed; but 2nd works with PAN_MESA_DEBUG=gl3; 3rd time also works without PAN_MESA_DEBUG=gl3 , as mentioned by Seb, There seems to be some unstability with the dynarec.

3nd time Working Log,

rico [ /opt/games/stardew_valley ]$ ./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 62 entries
Box64 with Dynarec v0.2.7 7dee075 built on Apr 14 2024 11:40:27
BOX64: Detected 48bits at least of address space
Counted 62 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 ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
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
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 /opt/games/stardew_valley/libhostfxr.so
Using emulated /opt/games/stardew_valley/libhostpolicy.so
Using emulated /opt/games/stardew_valley/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /opt/games/stardew_valley/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /opt/games/stardew_valley/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1
Warning: Cannot dlopen("libnuma.so.1"/0x7fff045c4ca3, 1)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1.0.0
Warning: Cannot dlopen("libnuma.so.1.0.0"/0x7fff045c4cb0, 1)
Error initializing native libnuma.so (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so
Warning: Cannot dlopen("libnuma.so"/0x7fff045c4cc1, 1)
Using emulated /opt/games/stardew_valley/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1
Warning: Cannot dlopen("libnuma.so.1"/0x7fff062eeaef, 1)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1.0.0
Warning: Cannot dlopen("libnuma.so.1.0.0"/0x7fff062eeafc, 1)
Error initializing native libnuma.so (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so
Warning: Cannot dlopen("libnuma.so"/0x7fff062eeb0d, 1)
Using emulated /opt/games/stardew_valley/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffffb730ce60, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffb730ce60, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffb730ce60, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffb730ce60, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffb730ce60, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffb730ce60, 1)
Using native(wrapped) libicuuc.so.74
Using native(wrapped) libicui18n.so.74
Using emulated /opt/games/stardew_valley/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) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Using native(wrapped) libFAudio.so.0
Error loading needed lib GalaxyCSharpGlue.so
Warning: Cannot dlopen("GalaxyCSharpGlue.so"/0xffffb730c160, 1)
Using emulated /opt/games/stardew_valley/libGalaxyCSharpGlue.so
Using emulated libGalaxy64.so

1st time Failed Log,

rico [ /opt/games/stardew_valley ]$ ./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 62 entries
Box64 with Dynarec v0.2.7 7dee075 built on Apr 14 2024 11:40:27
BOX64: Detected 48bits at least of address space
Counted 63 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 ./Stardew Valley
Rename process to "Stardew Valley"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
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
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 /opt/games/stardew_valley/libhostfxr.so
Using emulated /opt/games/stardew_valley/libhostpolicy.so
Using emulated /opt/games/stardew_valley/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db640 (0x75146)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6d8 (0x75276)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db6e0 (0x75286)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db700 (0x752c6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db708 (0x752d6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff046db760 (0x75386)
Using emulated /opt/games/stardew_valley/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /opt/games/stardew_valley/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff045c52fa, 102)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1
Warning: Cannot dlopen("libnuma.so.1"/0x7fff045c4ca3, 1)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1.0.0
Warning: Cannot dlopen("libnuma.so.1.0.0"/0x7fff045c4cb0, 1)
Error initializing native libnuma.so (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so
Warning: Cannot dlopen("libnuma.so"/0x7fff045c4cc1, 1)
Using emulated /opt/games/stardew_valley/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff06333750 (0x15c76)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e0 (0x15d96)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff063337e8 (0x15da6)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1
Warning: Cannot dlopen("libnuma.so.1"/0x7fff062eeaef, 1)
Error initializing native libnuma.so.1 (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so.1.0.0
Warning: Cannot dlopen("libnuma.so.1.0.0"/0x7fff062eeafc, 1)
Error initializing native libnuma.so (last dlerror is libnuma.so.1: cannot open shared object file: No such file or directory)
Error loading needed lib libnuma.so
Warning: Cannot dlopen("libnuma.so"/0x7fff062eeb0d, 1)
Using emulated /opt/games/stardew_valley/libSystem.Native.so
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffff92b4ce40, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffff92b4ce40, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffff92b4ce40, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffff92b4ce40, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffff92b4ce40, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffff92b4ce40, 1)
Using native(wrapped) libicuuc.so.74
Using native(wrapped) libicui18n.so.74
Using emulated /opt/games/stardew_valley/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) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Using native(wrapped) libFAudio.so.0
Warning, table64 bigger than expected 3 vs 3
BOX64: Warning, size difference in block between pass2 (240) & pass3 (220)!
Dump of 15 x64 opcodes:
0x7fff042a8060: 55	8 -> 8
0x7fff042a8061: 48 89 E5	20 -> 20
0x7fff042a8064: 53	12 -> 12
0x7fff042a8065: 50	76 -> 76
0x7fff042a8066: 48 8D 05 10 79 45 00	16 -> 16
0x7fff042a806d: 80 38 00	68 -> 48
0x7fff042a8070: 74 07	44 -> 24
0x7fff042a8072: 48 83 C4 08	32 -> 32
0x7fff042a8076: 5B	8 -> 8
0x7fff042a8077: 5D	4 -> 4
0x7fff042a8078: C3	56 -> 56
0x7fff042a8079: 48 89 FB	56 -> 60
0x7fff042a807c: BF 40 00 00 00	108 -> 108
0x7fff042a8081: BE 08 00 00 00	32 -> 32
0x7fff042a8086: E8 55 65 10 00	56 -> 56
Table64 	24 -> 32
 ------------

Tested on

  • Box64 with Dynarec v0.2.7 7dee075
  • Radxa Rock 5B, (RK3588, Cortex-A76+Cortex-A55, Mali-G610)
  • LFS r12.1-30
    BSP Kernel 6.1.43+ (rk-6.1-rkr1-panthor-v6 6bd0bc6)
    Mesa 24.1.0-devel (git-35831dded5)
    Gnome 46
  • 1080p, Default game settings

Status

Previous behavior:

Working. #220
Working. ptitSeb/box64#531
Unstable. ptitSeb/box64#1398
Working. ptitSeb/box64#1351
More results. https://github.com/ptitSeb/box64/issues?q=stardew Yepp. We all like the game :)

Current behavior:

Working.

Screenshots

Stardew Valley-1
Stardew Valley-2
Stardew Valley-3
Stardew Valley-4

OpenGL

OpenGL 2

Additional Information

https://www.stardewvalley.net/
https://stardewvalleywiki.com/Stardew_Valley_Wiki
https://www.gog.com/game/stardew_valley
https://store.steampowered.com/app/413150/Stardew_Valley/
https://www.pcgamingwiki.com/wiki/Stardew_Valley

@ptitSeb ptitSeb added OpenGL 1.x/2.x Using OpenGL 1.x or 2.x Working Tested on a platform and it was working fine box64 Run with Box64 labels Apr 14, 2024
@ricoazzurro
Copy link
Author

ricoazzurro commented Apr 25, 2024

Stardew Valley, v1.6.5.24110.6670590629 (72762), Linux x64, GOG, Engine: MonoGame

Box64 with Dynarec v0.2.7 856d265

Working.
And still need more than one trial to make it launch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
box64 Run with Box64 OpenGL 1.x/2.x Using OpenGL 1.x or 2.x Working Tested on a platform and it was working fine
Projects
None yet
Development

No branches or pull requests

2 participants