FWGS / xash3d-fwgs

Xash3D FWGS engine.
1.53k stars 228 forks source link

No matter what artifacts or releases I download, the game just crashes on launch in Android. #1765

Open avnesas opened 1 month ago

avnesas commented 1 month ago

When I try to run Half-Life it crashes and then temporarily corrupts my storage.

Specs: Android 14, Galaxy A55

Vladislav4KZ commented 1 month ago

Where did you download Xash3D FWGS from? Google Play or GitHub? It is better to use the version from GitHub (Continuous master build).

Post the engine.log if it was created. It should be in the "Xash3D FWGS" directory in the side menu of file explorer, or in Android/data/su.xash.engine.test/files.

avnesas commented 1 month ago

================================================================================ Xash3D FWGS 0.20 (3412, bfa6d2d, HEAD, android-arm64) Game started at Aug05 2024 [18:54.10]

[2024:08:05|18:54:10] Program args: app_process -dev 2 -log [2024:08:05|18:54:10] Developer level: 2 [2024:08:05|18:54:10] FS_LoadGameInfo( valve ) [2024:08:05|18:54:10] FS_Rescan( Half-Life ) [2024:08:05|18:54:10] FS_AddGameHierarchy: adding recursive basedir valve [2024:08:05|18:54:10] Adding directory: valve/downloaded/ [2024:08:05|18:54:10] Adding PAK: valve/pak0.pak (3453 files) [2024:08:05|18:54:10] Adding WAD: valve/cached.wad (2 files) [2024:08:05|18:54:10] Adding WAD: valve/decals.wad (222 files) [2024:08:05|18:54:10] Adding WAD: valve/fonts.wad (3 files) [2024:08:05|18:54:10] Adding WAD: valve/gfx.wad (7 files) [2024:08:05|18:54:10] Adding WAD: valve/halflife.wad (3116 files) [2024:08:05|18:54:10] Adding WAD: valve/liquids.wad (32 files) [2024:08:05|18:54:10] Adding WAD: valve/spraypaint.wad (14 files) [2024:08:05|18:54:10] Adding WAD: valve/xeno.wad (264 files) [2024:08:05|18:54:10] Adding Android assets: su.xash.engine.test [2024:08:05|18:54:10] Adding directory: valve/ [2024:08:05|18:54:10] Adding directory: valve/custom/ [2024:08:05|18:54:10] Host_InitDecals: 222 decals [2024:08:05|18:54:10] Joystick: SDL GameController API [2024:08:05|18:54:10] Touch_Init() [2024:08:05|18:54:10] Base networking initialized. [2024:08:05|18:54:10] Cannot load xashcomm.lst [2024:08:05|18:54:10] SV_LoadProgs: initailized extended EntityAPI ver. 140 [2024:08:05|18:54:10] Warning: SV_LoadProgs: couldn't get physics API [2024:08:05|18:54:10] SV_AllocStringPool() [2024:08:05|18:54:10] Dll loaded for game "Half-Life" [2024:08:05|18:54:10] SV: hull0, player_mins: -16 -16 -36, player_maxs: 16 16 36 [2024:08:05|18:54:10] SV: hull1, player_mins: -16 -16 -18, player_maxs: 16 16 18 [2024:08:05|18:54:10] SV: hull2, player_mins: 0 0 0, player_maxs: 0 0 0 [2024:08:05|18:54:10] execing skill.cfg [2024:08:05|18:54:10] execing video.cfg [2024:08:05|18:54:10] Loading renderer: gles1 -> ref_gles1 [2024:08:05|18:54:10] execing opengl.cfg [2024:08:05|18:54:10] Trying safe opengl mode 0 [2024:08:05|18:54:10] bpp 16 [2024:08:05|18:54:10] R_ChangeDisplaySettings: Setting video mode to 2340x1080 fullscreen [2024:08:05|18:54:11] Note: Got closest display mode: 2340x1080@120 [2024:08:05|18:54:11] Warning: FS_LoadImage: couldn't load "game" [2024:08:05|18:54:11] Error: GL_GetProcAddress failed for glColorMaterial [2024:08:05|18:54:11] GL_CheckExtension: OpenGL 1.1.0 - enabled [2024:08:05|18:54:11] Video: ANGLE (Samsung Xclipse 530) on Vulkan 1.3.231 [2024:08:05|18:54:11] GL_CheckExtension: multitexture - enabled [2024:08:05|18:54:11] GL_CheckExtension: GL_OES_texture_cube_map - enabled [2024:08:05|18:54:11] GL_CheckExtension: GL_EXT_texture_filter_anisotropic - enabled [2024:08:05|18:54:11] GL_CheckExtension: GL_EXT_texture_lod_bias - failed [2024:08:05|18:54:11] GL_CheckExtension: GL_OES_texture_npot - enabled [2024:08:05|18:54:11] GL_CheckExtension: vertex_buffer_object - enabled [2024:08:05|18:54:11] [2024:08:05|18:54:11] GL_VENDOR: Samsung Electronics Co., Ltd. [2024:08:05|18:54:11] GL_RENDERER: ANGLE (Samsung Xclipse 530) on Vulkan 1.3.231 [2024:08:05|18:54:11] GL_VERSION: OpenGL ES 1.1 ANGLE git hash: 4ae132631265 [2024:08:05|18:54:11] GL_EXTENSIONS: GL_AMD_performance_monitor GL_ANGLE_base_vertex_base_instance GL_ANGLE_base_vertex_base_instance_shader_builtin GL_ANGLE_client_arrays GL_ANGLE_compressed_texture_etc GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_get_image GL_ANGLE_get_serialized_context_string GL_ANGLE_get_tex_level_parameter GL_ANGLE_instanced_arrays GL_ANGLE_memory_object_flags GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_program_cache_control GL_ANGLE_read_only_depth_stencil_feedback_loops GL_ANGLE_relaxed_vertex_attribute_type GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_robust_fragment_shader_output GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_vulkan_image GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_lose_context GL_EXT_EGL_image_external_wrap_modes GL_EXT_base_instance GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_draw_elements_base_vertex GL_EXT_external_buffer GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multi_draw_indirect GL_EXT_multisample_compatibility GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_occlusion_query_boolean GL_EXT_protected_textures GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_texture_border_clamp GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_type_2_10_10_10_REV GL_EXT_unpack_subimage GL_KHR_blend_equation_advanced GL_KHR_debug GL_KHR_robust_buffer_access_behavior GL_KHR_texture_compression_astc_ldr GL_NV_depth_buffer_float2 GL_NV_fence GL_NV_framebuffer_blit GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_compressed_EAC_R11_signed_texture GL_OES_compressed_EAC_R11_unsigned_texture GL_OES_compressed_EAC_RG11_signed_texture GL_OES_compressed_EAC_RG11_unsigned_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_ETC2_RGB8_texture GL_OES_compressed_ETC2_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture GL_OES_compressed_ETC2_sRGB8_alpha8_texture GL_OES_compressed_ETC2_sRGB8_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_draw_elements_base_vertex GL_OES_draw_texture GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_framebuffer_object GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_primitive_bounding_box GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_border_clamp GL_OES_texture_cube_map GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_vertex_array_object GL_OES_vertex_half_float GL_QCOM_shading_rate GL_ARB_multitexture EXT_texture_env_add [2024:08:05|18:54:11] GL_MAX_TEXTURE_SIZE: 16384 [2024:08:05|18:54:11] GL_MAX_TEXTURE_UNITS_ARB: 4 [2024:08:05|18:54:11] GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB: 16384 [2024:08:05|18:54:11] GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: 16.0 [2024:08:05|18:54:11] [2024:08:05|18:54:11] MODE: 2251x1080 [2024:08:05|18:54:11] [2024:08:05|18:54:11] VERTICAL SYNC: enabled [2024:08:05|18:54:11] Color 24 bits, Alpha 8 bits, Depth 24 bits, Stencil 8 bits [2024:08:05|18:54:11] Renderer ref_gles1 initialized [2024:08:05|18:54:11] UI_LoadProgs: extended Menu API found [2024:08:05|18:54:11] UI_LoadProgs: extended Menu API initialized [2024:08:05|18:54:11] GL_UploadTexture: gfx/shell/cb_empty s&3 [19 x 19] [2024:08:05|18:54:11] GL_UploadTexture: gfx/shell/cb_over s&3 [19 x 19] [2024:08:05|18:54:11] GL_UploadTexture: gfx/shell/cb_down s&3 [19 x 19] [2024:08:05|18:54:11] GL_UploadTexture: gfx/shell/cb_checked s&3 [19 x 19] [2024:08:05|18:54:11] GL_UploadTexture: gfx/shell/cb_disabled s&3 [19 x 19] [2024:08:05|18:54:11] Rendering RobotoCondensed(36, 1000) took 0.013644 seconds [2024:08:05|18:54:11] Rendering RobotoCondensed(28, 1000) took 0.007604 seconds [2024:08:05|18:54:11] Rendering RobotoCondensed(56, 1000) took 0.029247 seconds [2024:08:05|18:54:11] Rendering RobotoCondensed(36, 1000) took 0.002088 seconds [2024:08:05|18:54:11] Rendering RobotoCondensed(36, 1000) took 0.012876 seconds [2024:08:05|18:54:11] Rendering RobotoCondensed(36, 1000) took 0.025963 seconds [2024:08:05|18:54:11] Rendering DroidSans(25, 500) took 0.011531 seconds [2024:08:05|18:54:12] Using SDL audio driver: AAudio @ 44100 Hz [2024:08:05|18:54:12] VGui_LoadProgs: not found [2024:08:05|18:54:12] Error: VGui_LoadProgs: Failed to find VGUI support API entry point in client module [2024:08:05|18:54:12] CL_LoadProgs: failed to get address of HUD_ChatInputPosition proc [2024:08:05|18:54:12] CL_LoadProgs: failed to get address of HUD_GetRenderInterface proc [2024:08:05|18:54:12] CL_LoadProgs: failed to get address of HUD_ClipMoveToEntity proc [2024:08:05|18:54:12] CL_LoadProgs: failed to get address of IN_ClientTouchEvent proc [2024:08:05|18:54:12] CL_TextMessageParse: parsed 143 text messages [2024:08:05|18:54:12] Mobile_Init: initailized extended MobilityAPI ver. 2 [2024:08:05|18:54:12] CL: hull0, player_mins: -16 -16 -36, player_maxs: 16 16 36 [2024:08:05|18:54:12] CL: hull1, player_mins: -16 -16 -18, player_maxs: 16 16 18 [2024:08:05|18:54:12] CL: hull2, player_mins: 0 0 0, player_maxs: 0 0 0 [2024:08:05|18:54:12] BouncePlayerShell Range player/pl_shell%d.wav [1; 3] [2024:08:05|18:54:12] BounceWeaponShell Range weapons/sshell%d.wav [1; 3] [2024:08:05|18:54:12] BounceConcrete Range debris/concrete%d.wav [1; 3] [2024:08:05|18:54:12] BounceGlass Range debris/glass%d.wav [1; 4] [2024:08:05|18:54:12] BounceMetal Range debris/metal%d.wav [1; 6] [2024:08:05|18:54:12] BounceFlesh Range debris/flesh%d.wav [1; 7] [2024:08:05|18:54:12] BounceWood Range debris/wood%d.wav [1; 4] [2024:08:05|18:54:12] Ricochet Range weapons/ric%d.wav [1; 5] [2024:08:05|18:54:12] Explode Range weapons/explode%d.wav [3; 5] [2024:08:05|18:54:12] PlayerWaterEnter List [player/pl_wade1.wav] [2024:08:05|18:54:12] PlayerWaterExit List [player/pl_wade2.wav] [2024:08:05|18:54:12] EntityWaterEnter Range player/pl_wade%d.wav [1; 4] [2024:08:05|18:54:12] EntityWaterExit Range player/pl_wade%d.wav [1; 4] [2024:08:05|18:54:12] execing valve.rc [2024:08:05|18:54:12] Warning: Unknown command "s_refgain" [2024:08:05|18:54:12] Warning: Unknown command "s_refdelay" [2024:08:05|18:54:12] Warning: Unknown command "s_occfactor" [2024:08:05|18:54:12] Warning: Unknown command "s_verbwet" [2024:08:05|18:54:12] Warning: Unknown command "s_distance" [2024:08:05|18:54:12] execing language.cfg [2024:08:05|18:54:12] Warning: Unknown command "sv_language" [2024:08:05|18:54:12] couldn't exec joystick.cfg [2024:08:05|18:54:12] couldn't exec autoexec.cfg [2024:08:05|18:54:12] execing config.cfg [2024:08:05|18:54:12] couldn't exec userconfig.cfg [2024:08:05|18:54:12] R_ChangeDisplaySettings: Setting video mode to 2251x1080 fullscreen [2024:08:05|18:54:12] Note: Got closest display mode: 2340x1080@120 [2024:08:05|18:54:12] Time to first frame: 1.412 seconds [2024:08:05|18:54:12] couldn't exec mainui.cfg [2024:08:05|18:54:12] Localize_AddToDict( resource/gameui_english.txt ): couldn't open file. Some strings will not be localized!. [2024:08:05|18:54:12] Localize_AddToDict( resource/mainui_english.txt ): couldn't open file. Some strings will not be localized!. [2024:08:05|18:54:12] Localize_AddToDict( resource/valve_english.txt ): couldn't open file. Some strings will not be localized!. [2024:08:05|18:54:12] Reading config script file settings.scr [2024:08:05|18:54:12] Reading config script file user.scr [2024:08:05|18:54:12] FS_OpenStream: couldn't open "gamestartup" or "media/gamestartup" [2024:08:05|18:54:12] GL_UploadTexture: gfx/shell/cls_n s&3 [19 x 19] [2024:08:05|18:54:12] GL_UploadTexture: gfx/shell/cls_f s&3 [19 x 19] [2024:08:05|18:54:12] GL_UploadTexture: gfx/shell/cls_d s&3 [19 x 19] [2024:08:05|18:54:12] GL_UploadTexture: gfx/shell/min_n s&3 [19 x 19] [2024:08:05|18:54:12] GL_UploadTexture: gfx/shell/min_f s&3 [19 x 19] [2024:08:05|18:54:12] GL_UploadTexture: gfx/shell/min_d s&3 [19 x 19] [2024:08:05|18:54:12] Warning: Unknown command "richpresence_gamemode" [2024:08:05|18:54:12] Warning: Unknown command "richpresence_update"

There seems to be some missing files, it is the exact I copied from Valve folder from my PC.

Vladislav4KZ commented 1 month ago

There seems to be some missing files, it is the exact I copied from Valve folder from my PC.

Yes it is, according to the errors below.

Localize_AddToDict( resource/gameui_english.txt ): couldn't open file. Some strings will not be localized!. Localize_AddToDict( resource/valve_english.txt ): couldn't open file. Some strings will not be localized!.

Vladislav4KZ commented 1 month ago

Compress the valve folder into a zip archive, and unzip it on your phone. This seems to be a massive problem when transferring files from PC to phone.

a1batross commented 1 month ago

Does it work after properly copying game data again?

avnesas commented 1 month ago

I haven't tried it, but I can conclude It can work when copying correct data to android.

avnesas commented 1 month ago

No, it does not work. It doesn't output a engine.log

avnesas commented 1 month ago

I tried giving some permissions, I see it for a bit and closes, no engine.log