ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.92k stars 290 forks source link

Game Dev Tycoon crashes #365

Open Pythonic456 opened 2 years ago

Pythonic456 commented 2 years ago
pi@pi-ubuntu22:~/Games/GameDevTycoon$ box64 gamedevtycoon64-bin 
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096
Box64 with Dynarec v0.1.9 bf77789 built on Jul 28 2022 06:44:59
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 48 Env var
Looking for gamedevtycoon64-bin
Rename process to "gamedevtycoon64-bin"
Using native(wrapped) libX11.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgtk-x11-2.0.so.0
Using native(wrapped) libgdk-x11-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Using native(wrapped) libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libasound.so.2
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXext.so.6
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libnss3.so
Using native(wrapped) libnssutil3.so
Using native(wrapped) libsmime3.so
Using native(wrapped) libplc4.so
Using native(wrapped) libnspr4.so
Using native(wrapped) libgconf-2.so.4
Using native(wrapped) libexpat.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libudev.so.1
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 global gdk_display for gdk-x11 (0xffffe82490b0:0xffffa571a638)
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096
Box64 with Dynarec v0.1.9 bf77789 built on Jul 28 2022 06:44:59
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 48 Env var
Looking for /home/pi/Games/GameDevTycoon/gamedevtycoon64-bin
argv[1]="--type=zygote"
argv[2]="--no-sandbox"
argv[3]="--enable-crash-reporter=,Ubuntu 22.04 LTS"
Gtk-Message: 18:15:20.044: Failed to load module "canberra-gtk-module"
../../third_party/tcmalloc/chromium/src/tcmalloc.cc:286] Attempt to free invalid pointer 0x968df5e0 
pi@pi-ubuntu22:~/Games/GameDevTycoon$ Rename process to "gamedevtycoon64-bin"
Using native(wrapped) libX11.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgtk-x11-2.0.so.0
Using native(wrapped) libgdk-x11-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Using native(wrapped) libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libasound.so.2
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXext.so.6
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libnss3.so
Using native(wrapped) libnssutil3.so
Using native(wrapped) libsmime3.so
Using native(wrapped) libplc4.so
Using native(wrapped) libnspr4.so
Using native(wrapped) libgconf-2.so.4
Using native(wrapped) libexpat.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libudev.so.1
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 global gdk_display for gdk-x11 (0xffffca5601d0:0xffffa1ffa638)
Error loading needed lib libsoftokn3.so
Warning: Cannot dlopen("libsoftokn3.so"/0xffff9e8dea68, 1)
Error loading needed lib libfreebl3.so
Warning: Cannot dlopen("libfreebl3.so"/0xffff9e8dea68, 1)
[105646:0100/000000:ERROR:nss_util.cc(684)] Failed to load NSS libraries.
[105646:0100/000000:ERROR:zygote_linux.cc(478)] write: Broken pipe
^C
pi@pi-ubuntu22:~/Games/GameDevTycoon$ 

System info: Raspberry Pi 4B 4GB 64GB USB 3 Boot Ubuntu 22.04 ARM64

Fresh install, Box64 installed from Pi-Apps. Couldn't find libfreebl3/libsoftokn3 in APT repos. I spent forever looking through for them xD

Edit: I do own the game on Steam, I'm not pirating the game. Even though I am running it outside of Steam, I wish to support the developers.

Pythonic456 commented 2 years ago
pi@pi-ubuntu22:~/Games/GameDevTycoon$ box64 gamedevtycoon64-bin 
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096
Box64 with Dynarec v0.1.9 d08bd0c built on Aug  1 2022 06:54:32
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 48 Env var
Looking for gamedevtycoon64-bin
Rename process to "gamedevtycoon64-bin"
Using native(wrapped) libX11.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgtk-x11-2.0.so.0
Using native(wrapped) libgdk-x11-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Using native(wrapped) libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libasound.so.2
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXext.so.6
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libnss3.so
Using native(wrapped) libnssutil3.so
Using native(wrapped) libsmime3.so
Using native(wrapped) libplc4.so
Using native(wrapped) libnspr4.so
Using native(wrapped) libgconf-2.so.4
Using native(wrapped) libexpat.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libudev.so.1
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 global gdk_display for gdk-x11 (0xffffe56304e0:0xffffbbc2a638)
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096
Box64 with Dynarec v0.1.9 d08bd0c built on Aug  1 2022 06:54:32
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 48 Env var
Looking for /home/pi/Games/GameDevTycoon/gamedevtycoon64-bin
argv[1]="--type=zygote"
argv[2]="--no-sandbox"
argv[3]="--enable-crash-reporter=,Ubuntu 22.04.1 LTS"
Gtk-Message: 09:37:05.464: Failed to load module "canberra-gtk-module"
../../third_party/tcmalloc/chromium/src/tcmalloc.cc:286] Attempt to free invalid pointer 0x9ff9eaf0 
pi@pi-ubuntu22:~/Games/GameDevTycoon$ Rename process to "gamedevtycoon64-bin"
Using native(wrapped) libX11.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgtk-x11-2.0.so.0
Using native(wrapped) libgdk-x11-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Using native(wrapped) libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libasound.so.2
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXext.so.6
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libnss3.so
Using native(wrapped) libnssutil3.so
Using native(wrapped) libsmime3.so
Using native(wrapped) libplc4.so
Using native(wrapped) libnspr4.so
Using native(wrapped) libgconf-2.so.4
Using native(wrapped) libexpat.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libudev.so.1
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 global gdk_display for gdk-x11 (0xffffc1f257a0:0xffffb395a638)
Error initializing native libsoftokn3.so (last dlerror is libsoftokn3.so: cannot open shared object file: No such file or directory)
Error loading needed lib libsoftokn3.so
Warning: Cannot dlopen("libsoftokn3.so"/0xffffb023ea68, 1)
Error loading needed lib libfreebl3.so
Warning: Cannot dlopen("libfreebl3.so"/0xffffb023ea68, 1)
[8695:0100/000000:ERROR:nss_util.cc(684)] Failed to load NSS libraries.
[8695:0100/000000:ERROR:zygote_linux.cc(478)] write: Broken pipe
^C
pi@pi-ubuntu22:~/Games/GameDevTycoon$ 

And here is BOX64_LOG=2 box64 gamedevtycoon64-bin. log.txt

ptitSeb commented 2 years ago

I am working on everything "chromium" based for now. Everyhing using NaCl, libcef, or Electron is concerned... It's a huge task, as this software does a lot of low level "tricks" that need to be emulated, and also use libtcmalloc that also need to some workaround... So, be patient for now.

Pythonic456 commented 2 years ago

OK, thanks! :)