ptitSeb / box86-compatibility-list

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

Nuclear Throne #11

Open valrak opened 4 years ago

valrak commented 4 years ago

Description

If using the Itch.io release, you need to update "runner" binary (look at this comment https://github.com/ptitSeb/box86-compatibility-list/issues/11#issuecomment-715589515), else you get this: Fails with segfault with or without dynarec.

9189|0x81e86b2: Calling inflateInit_ (759A28D4, 0837CADA, 00000038...) =>Allocate a new X86 Emu, with EIP=(nil) and Stack=0xa87d1008/0x200000
Setup X86 Emu
9189|0x81e5ee1: Calling malloc (00001BD0, 00000000, 759A2800...) => return 0x759AD0C8
 return 0x00000000
9189|0x81e5da6: Calling malloc (00000120, 00000000, 00000120...) => return 0x759AECA0
9189|0x81e5dc0: Calling memset (759AECA0, 00000000, 00000120...) => return 0x759AECA0
9189|0x8054dec: Calling memset (759AECA0, 00000000, 00000120...) => return 0x759AECA0
9189|0x81e5da6: Calling malloc (00000120, 00000000, 00000120...) => return 0x759AEDC8
9189|0x81e5dc0: Calling memset (759AEDC8, 00000000, 00000120...) => return 0x759AEDC8
9189|0x8054dec: Calling memset (759AEDC8, 00000000, 00000120...) => return 0x759AEDC8
9189|0x81a9448: Calling _setjmp (759A2800, 0804E660, 0000009C...) => return 0x00000000
9189|0x81a937f: Calling memcpy (B6173058, AEA463A0, 00000008...) => return 0xB6173058
9189|0x8054d34: Calling crc32 (00000000, 00000000, 00000000...) => return 0x00000000
9189|0x8054d8a: Calling crc32 (00000000, 759A297C, 00000004...) => return 0xA8A1AE0A
9189|0x81a937f: Calling memcpy (B617304F, AEA463A8, 0000000D...) => return 0xB617304F
9189|0x8054d8a: Calling crc32 (A8A1AE0A, B617304F, 0000000D...) => return 0xB8BD41F7
9189|0x81a937f: Calling memcpy (B6172FF8, AEA463B5, 00000004...) => return 0xB6172FF8
9189|0x81a937f: Calling memcpy (B6173058, AEA463B9, 00000008...) => return 0xB6173058
9189|0x8054d34: Calling crc32 (00000000, 00000000, 00000000...) => return 0x00000000
9189|0x8054d8a: Calling crc32 (00000000, 759A297C, 00000004...) => return 0x101CD3CE
9189|0x81a937f: Calling memcpy (B617305F, AEA463C1, 00000001...) => return 0xB617305F
9189|0x8054d8a: Calling crc32 (101CD3CE, B617305F, 00000001...) => return 0xAECE1CE9
9189|0x81a937f: Calling memcpy (B6173038, AEA463C2, 00000004...) => return 0xB6173038
9189|0x81a937f: Calling memcpy (B6173058, AEA463C6, 00000008...) => return 0xB6173058
9189|0x8054d34: Calling crc32 (00000000, 00000000, 00000000...) => return 0x00000000
9189|0x8054d8a: Calling crc32 (00000000, 759A297C, 00000004...) => return 0xB2E1B71F
9189|0x81a937f: Calling memcpy (B617305C, AEA463CE, 00000004...) => return 0xB617305C
9189|0x8054d8a: Calling crc32 (B2E1B71F, B617305C, 00000004...) => return 0x0BFC6105
9189|0x81a937f: Calling memcpy (B6173028, AEA463D2, 00000004...) => return 0xB6173028
9189|0x81a937f: Calling memcpy (B6173058, AEA463D6, 00000008...) => return 0xB6173058
9189|0x8054d34: Calling crc32 (00000000, 00000000, 00000000...) => return 0x00000000
9189|0x8054d8a: Calling crc32 (00000000, 759A297C, 00000004...) => return 0x96876563
9189|0x81a937f: Calling memcpy (B6173057, AEA463DE, 00000009...) => return 0xB6173057
9189|0x8054d8a: Calling crc32 (96876563, B6173057, 00000009...) => return 0xC76FA864
9189|0x81a937f: Calling memcpy (B6173028, AEA463E7, 00000004...) => return 0xB6173028
9189|0x81a937f: Calling memcpy (B6173058, AEA463EB, 00000008...) => return 0xB6173058
9189|0x8054d34: Calling crc32 (00000000, 00000000, 00000000...) => return 0x00000000
9189|0x8054d8a: Calling crc32 (00000000, 759A297C, 00000004...) => return 0x35AF061E
9189|0x82a239f: Calling vfprintf (B6DA6D90, 0837D8E2, B61731A8...) =>Process Chunk: AUDO   98665022
 return 0x0000001F
9189|0x82a239f: Calling vfprintf (B6DA6D90, 0837E23A, B6173188...) =>Audio_WAVs()
 return 0x0000000D
9189|0x82a239f: Calling vfprintf (B6DA6D90, 0839F0C3, B6173208...) =>Failed to load the game
 return 0x00000018
Segmentation fault

Tested on

RPi4

Status

Previous behavior:

None reported

Current behavior:

Fails on segfault.

Screenshots

image

OpenGL

Additional Information

talraash commented 4 years ago

Raspbian RPI4 all default run smooth game have 30 fps lock throne

I played about 15 minutes. Once during level generation there was a seg fault

ptitSeb commented 4 years ago

@valrak be sure to use latest box86, as I have improved libz wrapping lately. Thanks @talraash for the test :)

valrak commented 4 years ago

I'd compiled the master branch at the day of the report, but for being sure, I've compiled today again, and it still segfaults. I have the same version of GL and Raspbian as talraash.

ptitSeb commented 4 years ago

It seems to be a GameMaker Studio games, wich are generaly working well. @valrak is your version special? Playing thru steam or something like that?

valrak commented 4 years ago

I have the game from itch.io, for a brief period it was free to download there. Unfortunately, I can't test if it works on other system due to outdated library. However, other games in GameMaker works in box86, I've played Undertale from start to end without problems. Dungeon Souls works too, albeit very slowly. Never mind, if it does not work only for me.

MrRKernelPanic commented 4 years ago

Any suggestions from this error log: Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 46 Env var Looking for runner Using emulated /usr/lib/i386-linux-gnu/libstdc++.so.6 Using native(wrapped) libm.so.6 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) librt.so.1 Using emulated /usr/lib/i386-linux-gnu/libgcc_s.so.1 Warning: Weak Symbol _ZGTtnaj not found, cannot apply R_386_JMP_SLOT @0xb59d619c (0x6b506) Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_386_JMP_SLOT @0xb59d6478 (0x6c076) Using native(wrapped) libz.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libX11.so.6 Using native(wrapped) libXext.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libGL.so.1 Using native(wrapped) libopenal.so.1 Using native(wrapped) libdl.so.2 Using native(wrapped) libcrypto.so.1 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXrender.so.1 Using native(wrapped) libGLU.so.1 Using native(wrapped) libssl.so.1 Error: Symbol SSL_CTX_set_default_passwd_cb_userdata not found, cannot apply R_386_JMP_SLOT @0x8404144 (0x804e3f6) in ./runner Warning, function SSLv3_client_method not found in lib libssl.so.1 Warning, function SSLv3_client_method not found in lib libssl.so.1 Error: Symbol SSLv3_client_method not found, cannot apply R_386_JMP_SLOT @0x8404164 (0x804e476) in ./runner Error: Symbol UI_OpenSSL not found, cannot apply R_386_JMP_SLOT @0x840417c (0x804e4d6) in ./runner Error: Symbol X509_LOOKUP_file not found, cannot apply R_386_JMP_SLOT @0x84041c4 (0x804e5f6) in ./runner Error: Symbol SSL_read not found, cannot apply R_386_JMP_SLOT @0x84041f4 (0x804e6b6) in ./runner Error: Symbol X509_verify_cert_error_string not found, cannot apply R_386_JMP_SLOT @0x8404200 (0x804e6e6) in ./runner Error: Symbol SSL_CTX_set_verify not found, cannot apply R_386_JMP_SLOT @0x8404208 (0x804e706) in ./runner Error: Symbol SSL_connect not found, cannot apply R_386_JMP_SLOT @0x8404210 (0x804e726) in ./runner Error: Symbol sk_pop_free not found, cannot apply R_386_JMP_SLOT @0x840421c (0x804e756) in ./runner Error: Symbol X509_EXTENSION_get_critical not found, cannot apply R_386_JMP_SLOT @0x8404230 (0x804e7a6) in ./runner Error: Symbol SSL_CTX_ctrl not found, cannot apply R_386_JMP_SLOT @0x840425c (0x804e856) in ./runner Error: Symbol SSL_CTX_use_certificate not found, cannot apply R_386_JMP_SLOT @0x8404280 (0x804e8e6) in ./runner Error: Symbol SSL_CTX_get_cert_store not found, cannot apply R_386_JMP_SLOT @0x8404294 (0x804e936) in ./runner Error: Symbol X509V3_EXT_print not found, cannot apply R_386_JMP_SLOT @0x8404298 (0x804e946) in ./runner Error: Symbol SSL_peek not found, cannot apply R_386_JMP_SLOT @0x84042b8 (0x804e9c6) in ./runner Error: Symbol X509_STORE_add_lookup not found, cannot apply R_386_JMP_SLOT @0x84042c8 (0x804ea06) in ./runner Error: Symbol ENGINE_get_next not found, cannot apply R_386_JMP_SLOT @0x84042cc (0x804ea16) in ./runner Error: Symbol SSL_CIPHER_get_name not found, cannot apply R_386_JMP_SLOT @0x84042d4 (0x804ea36) in ./runner Error: Symbol SSL_CTX_set_cipher_list not found, cannot apply R_386_JMP_SLOT @0x84042e0 (0x804ea66) in ./runner Error: Symbol PKCS12_free not found, cannot apply R_386_JMP_SLOT @0x84042f8 (0x804eac6) in ./runner Error: Symbol SSL_get_current_cipher not found, cannot apply R_386_JMP_SLOT @0x84042fc (0x804ead6) in ./runner Error: Symbol X509_EXTENSION_get_object not found, cannot apply R_386_JMP_SLOT @0x8404318 (0x804eb46) in ./runner Error: Symbol SSL_ctrl not found, cannot apply R_386_JMP_SLOT @0x8404324 (0x804eb76) in ./runner Error: Symbol DES_set_odd_parity not found, cannot apply R_386_JMP_SLOT @0x8404348 (0x804ec06) in ./runner Error: Symbol SSLeay not found, cannot apply R_386_JMP_SLOT @0x840434c (0x804ec16) in ./runner Error: Symbol SSL_get_peer_cert_chain not found, cannot apply R_386_JMP_SLOT @0x8404358 (0x804ec46) in ./runner Error: Symbol BIO_free not found, cannot apply R_386_JMP_SLOT @0x8404364 (0x804ec76) in ./runner Error: Symbol RAND_egd not found, cannot apply R_386_JMP_SLOT @0x8404374 (0x804ecb6) in ./runner Error: Symbol ENGINE_get_first not found, cannot apply R_386_JMP_SLOT @0x840437c (0x804ecd6) in ./runner Error: Symbol SSL_SESSION_free not found, cannot apply R_386_JMP_SLOT @0x84043a8 (0x804ed86) in ./runner Error: Symbol SSL_get_peer_certificate not found, cannot apply R_386_JMP_SLOT @0x84043bc (0x804edd6) in ./runner Error: Symbol ERR_get_error not found, cannot apply R_386_JMP_SLOT @0x8404408 (0x804ef06) in ./runner Error: Symbol SSL_CTX_callback_ctrl not found, cannot apply R_386_JMP_SLOT @0x8404424 (0x804ef76) in ./runner Error: Symbol SSL_free not found, cannot apply R_386_JMP_SLOT @0x8404460 (0x804f066) in ./runner Error: Symbol X509_get_ext_d2i not found, cannot apply R_386_JMP_SLOT @0x8404468 (0x804f086) in ./runner Error: Symbol GENERAL_NAMES_free not found, cannot apply R_386_JMP_SLOT @0x8404480 (0x804f0e6) in ./runner Error: Symbol EVP_PKEY_free not found, cannot apply R_386_JMP_SLOT @0x8404484 (0x804f0f6) in ./runner Error: Symbol X509_get_serialNumber not found, cannot apply R_386_JMP_SLOT @0x840448c (0x804f116) in ./runner Error: Symbol ENGINE_finish not found, cannot apply R_386_JMP_SLOT @0x84044c4 (0x804f1f6) in ./runner Error: Symbol X509_get_pubkey not found, cannot apply R_386_JMP_SLOT @0x84044d8 (0x804f246) in ./runner Error: Symbol BIO_ctrl not found, cannot apply R_386_JMP_SLOT @0x84044dc (0x804f256) in ./runner Error: Symbol ERR_peek_error not found, cannot apply R_386_JMP_SLOT @0x8404514 (0x804f336) in ./runner Error: Symbol ERR_clear_error not found, cannot apply R_386_JMP_SLOT @0x8404518 (0x804f346) in ./runner Error: Symbol X509_STORE_set_flags not found, cannot apply R_386_JMP_SLOT @0x8404538 (0x804f3c6) in ./runner Error: Symbol RAND_bytes not found, cannot apply R_386_JMP_SLOT @0x8404540 (0x804f3e6) in ./runner Error: Symbol SSL_CTX_add_client_CA not found, cannot apply R_386_JMP_SLOT @0x840454c (0x804f416) in ./runner Error: Symbol ENGINE_get_id not found, cannot apply R_386_JMP_SLOT @0x8404580 (0x804f4e6) in ./runner Error: Symbol SSL_get_error not found, cannot apply R_386_JMP_SLOT @0x84045a0 (0x804f566) in ./runner Error: Symbol SSL_get_privatekey not found, cannot apply R_386_JMP_SLOT @0x84045b4 (0x804f5b6) in ./runner Error: Symbol SSL_new not found, cannot apply R_386_JMP_SLOT @0x84045bc (0x804f5d6) in ./runner Error: Symbol X509_NAME_ENTRY_get_data not found, cannot apply R_386_JMP_SLOT @0x84045c8 (0x804f606) in ./runner Error: Symbol PKCS12_PBE_add not found, cannot apply R_386_JMP_SLOT @0x84045d4 (0x804f636) in ./runner Error: Symbol EVP_PKEY_copy_parameters not found, cannot apply R_386_JMP_SLOT @0x84045dc (0x804f656) in ./runner Error: Symbol BIO_new not found, cannot apply R_386_JMP_SLOT @0x84045e4 (0x804f676) in ./runner Error: Symbol SSL_CTX_free not found, cannot apply R_386_JMP_SLOT @0x8404610 (0x804f726) in ./runner Error: Symbol sk_num not found, cannot apply R_386_JMP_SLOT @0x8404628 (0x804f786) in ./runner Error: Symbol ENGINE_set_default not found, cannot apply R_386_JMP_SLOT @0x840462c (0x804f796) in ./runner Error: Symbol ASN1_STRING_print not found, cannot apply R_386_JMP_SLOT @0x8404634 (0x804f7b6) in ./runner Error: Symbol SSL_set_connect_state not found, cannot apply R_386_JMP_SLOT @0x8404640 (0x804f7e6) in ./runner Error: Symbol RAND_file_name not found, cannot apply R_386_JMP_SLOT @0x8404690 (0x804f926) in ./runner Error: Symbol d2i_PKCS12_fp not found, cannot apply R_386_JMP_SLOT @0x84046a0 (0x804f966) in ./runner Error: Symbol SSL_CTX_load_verify_locations not found, cannot apply R_386_JMP_SLOT @0x84046e8 (0x804fa86) in ./runner Error: Symbol SSL_get1_session not found, cannot apply R_386_JMP_SLOT @0x840470c (0x804fb16) in ./runner Error: Symbol BIO_s_mem not found, cannot apply R_386_JMP_SLOT @0x8404714 (0x804fb36) in ./runner Error: Symbol SSL_set_fd not found, cannot apply R_386_JMP_SLOT @0x840471c (0x804fb56) in ./runner Error: Symbol SSL_CTX_use_certificate_file not found, cannot apply R_386_JMP_SLOT @0x8404730 (0x804fba6) in ./runner Error: Symbol X509_STORE_CTX_get_current_cert not found, cannot apply R_386_JMP_SLOT @0x8404748 (0x804fc06) in ./runner Error: Symbol SSL_get_shutdown not found, cannot apply R_386_JMP_SLOT @0x8404774 (0x804fcb6) in ./runner Error: Symbol X509_load_crl_file not found, cannot apply R_386_JMP_SLOT @0x8404778 (0x804fcc6) in ./runner Error: Symbol SSL_shutdown not found, cannot apply R_386_JMP_SLOT @0x840478c (0x804fd16) in ./runner Error: Symbol ASN1_INTEGER_get not found, cannot apply R_386_JMP_SLOT @0x8404790 (0x804fd26) in ./runner Error: Symbol SSL_get_certificate not found, cannot apply R_386_JMP_SLOT @0x84047bc (0x804fdd6) in ./runner Error: Symbol RAND_load_file not found, cannot apply R_386_JMP_SLOT @0x84047f4 (0x804feb6) in ./runner Error: Symbol sk_value not found, cannot apply R_386_JMP_SLOT @0x84047fc (0x804fed6) in ./runner Error: Symbol ASN1_STRING_length not found, cannot apply R_386_JMP_SLOT @0x8404824 (0x804ff76) in ./runner Error: Symbol i2t_ASN1_OBJECT not found, cannot apply R_386_JMP_SLOT @0x8404828 (0x804ff86) in ./runner Error: Symbol SSL_CTX_use_certificate_chain_file not found, cannot apply R_386_JMP_SLOT @0x8404830 (0x804ffa6) in ./runner Error: Symbol SSL_CTX_set_default_passwd_cb not found, cannot apply R_386_JMP_SLOT @0x8404834 (0x804ffb6) in ./runner Error: Symbol SSL_CTX_check_private_key not found, cannot apply R_386_JMP_SLOT @0x8404844 (0x804fff6) in ./runner Error: Symbol ENGINE_ctrl_cmd not found, cannot apply R_386_JMP_SLOT @0x840484c (0x8050016) in ./runner Error: Symbol SSL_CTX_new not found, cannot apply R_386_JMP_SLOT @0x8404850 (0x8050026) in ./runner Error: Symbol ENGINE_by_id not found, cannot apply R_386_JMP_SLOT @0x840485c (0x8050056) in ./runner Error: Symbol X509_check_issued not found, cannot apply R_386_JMP_SLOT @0x8404868 (0x8050086) in ./runner Error: Symbol SSL_CTX_use_PrivateKey not found, cannot apply R_386_JMP_SLOT @0x840486c (0x8050096) in ./runner



INI DisplayName=Nuclear Throne Reading File assets/game.unx Loaded File assets/game.unx(105497382) IFF wad found Get Resolution Get Header Information InitGMLFunctions HighScore..SavePrePend /home/pi/.config/nuclearthrone/ Game..Math..Graphic..Action..File..Resource..Interaction..3D..Particle..Misc..DS..Sound..Physics..Gamepad..GAMEPAD: Initialising Ubuntu support GAMEPAD: 4 axis values (last) at 0xb5833630 GAMEPAD: 4 axis values (last) at 0xb5833610 GAMEPAD: 4 axis values (last) at 0xb58335f0 GAMEPAD: 4 axis values (last) at 0xb58335d0 Buffers..Networking..Shaders..InitPushFunctions...YoYo..Fini Code_Load() VARI_Load() got 34 global variables got 771 instance variables got 24 local variables ID_STRG Create Window Display Size(Pixels): 1920,1080 GameDisplayName=Nuclear Throne Win #1 XF86VidModeExtension-Version 2.2 Got Doublebuffered Visual! glX-Version 1.4 Icon: w=128 h=128 sw=1920 wh=1080 WindowCentre: 800,420 Depth 24 Congrats, you have Direct Rendering! Set Fullscreen 1 sync = 1 * GLX Extensions GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync Checking for GLX_EXT_swap_control Checking for GLX_SGI_swap_control Vsync: GLX_SGI DOUBLE BUFFERED Init Graphics GR_D3D_Init() OpenGL: version string 2.1 Mesa 19.3.2 OpenGL: vendor string Broadcom OpenGL GLSL: version string 1.20 Check TextureID finished!! Texture #1 16,16 Texture #2 16,16 Check TextureID finished!! Background_InitTextures() Sprite_InitTextures() Font_InitTextures() IO Init Process Messages Splash! Start Frame Part Create Textures Debug Init Remote Interface VM Init Create Score Form Create Load Form Create Error Form Do The Work LoadGameData() initialise everything! Process Chunk: GEN8 140 Process Chunk: OPTN 64 Process Chunk: LANG 12 unknown Chunk LANG:1196310860 Process Chunk: EXTN 4 Process Chunk: SOND 48084 Audio_Load() Process Chunk: AGRP 4 AudioGroup_Load() Process Chunk: SPRT 836864 Process Chunk: BGND 196 Process Chunk: PATH 4 Process Chunk: SCPT 2032 Process Chunk: SHDR 4 Process Chunk: FONT 4452 Process Chunk: TMLN 4 Process Chunk: OBJT 267124 Process Chunk: ROOM 1964 Process Chunk: DAFL 0 Process Chunk: TPAG 253920 Process Chunk: CODE 1174884 Process Chunk: VARI 70212 Process Chunk: FUNC 44860 Process Chunk: STRG 279316 Process Chunk: TXTR 3848024 Process Chunk: AUDO 98665022 Audio_WAVs() Failed to load the game Segmentation fault

MrRKernelPanic commented 4 years ago

Updated the latest version of Box86, still not working, just less errors

Warning, function SSLv3_client_method not found in lib libssl.so.1 Warning, function SSLv3_client_method not found in lib libssl.so.1

Audio_WAVs() Failed to load the game 22193|SIGSEGV @0xa8c68e10, for accessing 0xd4 (code=1) Segmentation fault

MrRKernelPanic commented 4 years ago

Not working for me either. Seg fault. Could this be do with Buster updating the Audio, so you now get Analog, HDMI1, HDMI2?

ptitSeb commented 4 years ago

It's the version from Itch.io I guess? It's crashing for me too, but even on a regular Linux PC, it's crashing too. I send a mail to support but I had no awnser.

soko7awen commented 3 years ago

Steam version of the game runs for me flawlessly, besides some audio artifacts, may not be the fault of Box86, as my speaker setup is not ideal

ptitSeb commented 3 years ago

Yes indeed.

I tested a bit, and it seems the "runner" version that is provided in the itch.io version is not correct. The one provided is a 1.3/1.0(999) version, while the one from Steam a plain 1.3 (so newer?) Using the runner from steam fix the game.

MrRKernelPanic commented 3 years ago

Anyone care to share the correct 'runner' version?

soko7awen commented 3 years ago

runner.zip Yeah, hopefully this fixes it.

MrRKernelPanic commented 3 years ago

Thank you so much. That worked perfectly. You are a star. So much fun.