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

Android 14/15 fix launch. ????????? #1944

Open
deadofgamers1999 opened this issue Dec 31, 2024 · 50 comments
Open

Android 14/15 fix launch. ????????? #1944

deadofgamers1999 opened this issue Dec 31, 2024 · 50 comments

Comments

@deadofgamers1999
Copy link

When starting Android 14 or 15 with the latest version installed, the home screen loads for 1-2 seconds, then crashes after another 1-2 seconds.

@a1batross
Copy link
Member

a1batross commented Dec 31, 2024 via email

@deadofgamers1999
Copy link
Author

12-31 17:42:19.64725186 25186 1 HwForceDarkManager: isSystemlnDarkMode isResUiModeYes: false, isDarkMode: false
12-31 17:42:19.6512518625186 I SurfaceControl: nativeRelease
Oxb400007057f487d0 count:3 name: Scd.lcex/scd.lcex.ActivityMain#5241
12-31 17:42:19.6512518625186 | SurfaceControl: nativeRelease Oxb400007057f4cd90 count: 1 name: Surface(name=510fe81 InputMethod) /@0x901367 - animation-leash of insets_animation#5252
12-31 17:42:19.65125186 25210 BufferQueueProducer:
IVRI[ActivityMain]#5(BLAST Consumer)5] (id:626200000005,api:1,p:25186,c:25186) disconnect: api 1
12-31 17:42:19.65125186 25210 L BufferQueueProducer: [VRI[ActivityMain]#5(BLAST Consumer)5] (id:626200000005,api:0,p:-1,c:25186) connect: api=1
producerControlledByApp=true
12-31 17:42:19.65325186 25186 1 HwForceDarkManager: setAllowedHwForceDark:false package:scd.Icex mCurrProcessState:0 mlsPackageNameChange:false hwForceDarkState:0
isViewAllowedForceDark:true

@a1batross
Copy link
Member

It looks too short. You can use pastebin alike service to post full log there.

@a1batross
Copy link
Member

Keep in mind, you have to start writing logcat before you started the application, then run it, reproduce crash, stop logcat and post it here.

@TheKingFireS
Copy link

TheKingFireS commented Dec 31, 2024

Xash3D-FWGS app will launch fine when HL resources weren't installed.
After I installed HL resources, it crashed instantly soon as you press app icon.

Created logcat with adb logcat | grep "xash" > xashdebug.log, hope this help.
xashdebug.log

Info:
OS: HyperOS 2/Android 15
Device: Redmi Note 13 4G (borrowed from someone)
Xash3D: d6ebff8

@WaspPC
Copy link

WaspPC commented Jan 1, 2025

I'm getting the same issue on S24 Ultra with OS Android 14, using the Xash3d fwgs Master Stable, it recognises the games (hl,of,bs) and the new Brutal Mod, but loads up the main menu then immediately crashes the app.

@antitheus185
Copy link

I can't even install the app on my Android 14 device, says it's not compatible. Also, that's with old engine, which I have way better compatibility with and less bugs using. With new engine, the game exits to the home screen repeatedly if I get notifications, if I press quit, change game, or rotate my screen. I have a hard time keeping new engine open is what I'm trying to say, it doesn't crash at all because as soon as I switch back to it via recent apps, the game runs perfectly fine.

@mittorn
Copy link
Member

mittorn commented Jan 2, 2025 via email

@Srandista
Copy link

The new engine works under Android 15 without any issues. Old engine won't work in most new phones, since the engine is 32-bit only and the latest phones will only run 64-bit code. It is, what it is...

@deadofgamers1999
Copy link
Author

Check this video!!!!
👇👇👇👇👇👇👇👇👇👇👇👇
https://youtu.be/4I2MnyN1KUg
👆👆👆👆👆👆👆👆👆👆👆👆

@Srandista
Copy link

And? I can post here a video from my phone with Android 15, where the Half-Life inside Xash3D-FWGS runs just fine...

@BekzodUzb
Copy link

Salom Alibek Sizga bitta iltimos CS 1.6 client ishlayapti Lekin 16 versiyadan oʻtmayapti iltimos yordam qiling

@nekonomicon
Copy link
Member

@BekzodUzb All good, but we don't understand Turkish and even machine translate doesn't help.
Write in English or Russian please.

@BekzodUzb
Copy link

Hello, please release an updated version of CS 1.6 Client with Xash3D support. It would be amazing to have such a version on mobile devices. Thank you in advance!

@BekzodUzb
Copy link

"Publish the updated version on the Play Store because there are many subscribers who are gaming enthusiasts."

@a1batross
Copy link
Member

a1batross commented Jan 4, 2025 via email

@nekonomicon
Copy link
Member

@BekzodUzb #1946

@BekzodUzb
Copy link

"Will the CS 1.6 client disappear? Version 16 is almost not working."

@WaspPC
Copy link

WaspPC commented Jan 4, 2025

Just updated to the latest Xash3d Stable build and it's still crashing, tried a clean install as well and no luck, click play and as soon as the main menu loads it crashes to homescreen, phone S24Ultra ARM CPU Android14.

@nekonomicon
Copy link
Member

@BekzodUzb cs16client currently maintained by Velaron:
https://github.com/Velaron/cs16-client/releases/tag/continuous

@BekzodUzb
Copy link

Thanks you

@deadofgamers1999
Copy link
Author

Just updated to the latest Xash3d Stable build and it's still crashing, tried a clean install as well and no luck, click play and as soon as the main menu loads it crashes to homescreen, phone S24Ultra ARM CPU Android14.

Exactly!
The same thing happens to me!

@deadofgamers1999
Copy link
Author

Engine.log :

================================================================================
Xash3D FWGS 0.21 (3561, d6ebff8, master, android-arm64)
Game started at Jan07 2025 [17:53.11]

[2025:01:07|17:53:11] Program args: app_process -console -log -dev 2 -ref gl4es -log
[2025:01:07|17:53:11] Developer level: 2
[2025:01:07|17:53:11] FS_LoadGameInfo( valve )
[2025:01:07|17:53:11] FS_Rescan( Half-Life )
[2025:01:07|17:53:11] FS_AddGameHierarchy: adding recursive basedir valve
[2025:01:07|17:53:11] Adding directory: valve/downloaded/
[2025:01:07|17:53:11] Adding WAD: valve/cached.wad (2 files)
[2025:01:07|17:53:11] Adding WAD: valve/decals.wad (222 files)
[2025:01:07|17:53:11] Adding WAD: valve/fonts.wad (3 files)
[2025:01:07|17:53:11] Adding WAD: valve/gfx.wad (7 files)
[2025:01:07|17:53:11] Adding WAD: valve/halflife.wad (3116 files)
[2025:01:07|17:53:11] Adding WAD: valve/liquids.wad (32 files)
[2025:01:07|17:53:11] Adding WAD: valve/spraypaint.wad (14 files)
[2025:01:07|17:53:11] Adding WAD: valve/xeno.wad (264 files)
[2025:01:07|17:53:11] Adding Android assets: su.xash.engine.test
[2025:01:07|17:53:11] Adding directory: valve/
[2025:01:07|17:53:11] Adding directory: valve/custom/
[2025:01:07|17:53:11] Host_InitDecals: 222 decals
[2025:01:07|17:53:11] Joystick: SDL GameController API
[2025:01:07|17:53:11] Touch_Init()
[2025:01:07|17:53:11] Base networking initialized.
[2025:01:07|17:53:11] Cannot load xashcomm.lst
[2025:01:07|17:53:11] SV_LoadProgs: initailized extended EntityAPI ver. 140
[2025:01:07|17:53:11] Warning: SV_LoadProgs: couldn't get physics API
[2025:01:07|17:53:11] SV_AllocStringPool()
[2025:01:07|17:53:11] Dll loaded for game "Half-Life"
[2025:01:07|17:53:11] SV: hull0, player_mins: -16 -16 -36, player_maxs: 16 16 36
[2025:01:07|17:53:11] SV: hull1, player_mins: -16 -16 -18, player_maxs: 16 16 18
[2025:01:07|17:53:11] SV: hull2, player_mins: 0 0 0, player_maxs: 0 0 0
[2025:01:07|17:53:11] execing skill.cfg
[2025:01:07|17:53:11] execing video.cfg
[2025:01:07|17:53:11] Loading renderer: gl4es -> ref_gl4es
[2025:01:07|17:53:11] execing opengl.cfg
[2025:01:07|17:53:11] Trying safe opengl mode 0
[2025:01:07|17:53:11] bpp 16
[2025:01:07|17:53:11] R_ChangeDisplaySettings: Setting video mode to 2800x1280 fullscreen
[2025:01:07|17:53:11] Warning: FS_LoadImage: couldn't load "game"
[2025:01:07|17:53:11] GL_CheckExtension: OpenGL 1.1.0 - enabled
[2025:01:07|17:53:11] Video: GL4ES wrapper
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_multitexture - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_EXT_texture3D - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_EXT_texture_array - failed
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_texture_cube_map - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_seamless_cube_map - failed
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_texture_non_power_of_two - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_texture_compression - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_EXT_texture_edge_clamp - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_EXT_texture_filter_anisotropic - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_EXT_texture_lod_bias - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_texture_border_clamp - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_depth_texture - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_texture_float - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_depth_buffer_float - failed
[2025:01:07|17:53:11] GL_CheckExtension: GL_EXT_gpu_shader4 - failed
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_vertex_buffer_object - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_texture_multisample - failed
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_texture_compression_bptc - failed
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_shading_language_100 - enabled
[2025:01:07|17:53:11] GL_CheckExtension: GL_ARB_texture_rectangle - enabled
[2025:01:07|17:53:11] GL_CheckExtension: glDrawRangeElements - enabled
[2025:01:07|17:53:11]
[2025:01:07|17:53:11] GL_VENDOR: ptitSeb
[2025:01:07|17:53:11] GL_RENDERER: GL4ES wrapper
[2025:01:07|17:53:11] GL_VERSION: 2.1 gl4es wrapper 1.1.5
[2025:01:07|17:53:11] GL_EXTENSIONS: GL_EXT_abgr GL_EXT_packed_pixels GL_EXT_compiled_vertex_array GL_EXT_compiled_vertex_arrays GL_ARB_vertex_buffer_object GL_ARB_vertex_array_object GL_ARB_vertex_buffer GL_EXT_vertex_array GL_EXT_secondary_color GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_env_add GL_EXT_texture_env_add GL_ARB_texture_env_combine GL_EXT_texture_env_combine GL_ARB_texture_env_crossbar GL_EXT_texture_env_crossbar GL_ARB_texture_env_dot3 GL_EXT_texture_env_dot3 GL_SGIS_generate_mipmap GL_EXT_draw_range_elements GL_EXT_bgra GL_ARB_texture_compression GL_EXT_texture_compression_s3tc GL_OES_texture_compression_S3TC GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_dxt3 GL_EXT_texture_compression_dxt5 GL_ARB_point_parameters GL_EXT_point_parameters GL_EXT_stencil_wrap GL_SGIS_texture_edge_clamp GL_EXT_texture_edge_clamp GL_EXT_direct_state_access GL_EXT_multi_draw_arrays GL_SUN_multi_draw_arrays GL_ARB_multisample GL_EXT_texture_object GL_EXT_polygon_offset GL_GL4ES_hint GL_ARB_draw_elements_base_vertex GL_EXT_draw_elements_base_vertex GL_ARB_map_buffer_range GL_NV_blend_square GL_ARB_texture_rectangle GL_APPLE_texture_2D_limited_npot GL_ARB_texture_non_power_of_two GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_subtract GL_EXT_texture_filter_anisotropic GL_ARB_texture_mirrored_repeat GL_ARB_framebuffer_object GL_EXT_framebuffer_object GL_EXT_packed_depth_stencil GL_EXT_framebuffer_blit GL_ARB_draw_buffers GL_EXT_draw_buffers2 GL_ARB_point_sprite GL_ARB_texture_cube_map GL_EXT_texture_cube_map GL_EXT_texture_float GL_ARB_texture_float GL_EXT_texture_half_float GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_depth_texture GL_ARB_depth_texture GL_EXT_fog_coord GL_EXT_separate_specular_color GL_EXT_rescale_normal GL_ARB_ES2_compatibility GL_ARB_fragment_shader GL_ARB_vertex_shader GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ATI_texture_env_combine3 GL_ATIX_texture
_env_route GL_NV_texture_env_combine4 GL_NV_fog_distance GL_ARB_draw_instanced GL_ARB_instanced_arrays GL_ARB_vertex_program GL_ARB_fragment_program GL_EXT_program_parameters GL_ARB_get_program_binary
[2025:01:07|17:53:11] GL4ES_VENDOR: Qualcomm
[2025:01:07|17:53:11] GL4ES_RENDERER: Adreno (TM) 750
[2025:01:07|17:53:11] GL4ES_VERSION: OpenGL ES 3.2 [email protected] (GIT@43c70540de, Ibee7afe120, 1721201467) (Date:07/17/24)
[2025:01:07|17:53:11] GL4ES_EXTENSIONS: GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_sliced_3d GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_bptc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_float_blend GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_EXT_texture_compression_astc_decode_mode GL_EXT_texture_mirror_clamp_to_edge GL_EXT_texture_format_sRGB_override GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance GL_EXT_protected_textures GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated GL_QCOM_texture_foveated2 GL_QCOM_texture_foveated_subsampled_layout GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_motion_estimation GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather GL_QCOM_shading_rate GL_QCOM_frame_extrapolation GL_QCOM_texture_lod_bias GL_IMG_texture_filter_cubic GL_QCOM_render_shared_exponent GL_EXT_polygon_offset_clamp GL_EXT_texture_sRGB_RG8 GL_EXT_depth_clamp GL_EXT_fragment_shading_rate GL_EXT_fragment_shading_rate_primitive GL_EXT_fragment_shading_rate_attachment GL_EXT_shader_implicit_conversions GL_EXT_render_snorm GL_QCOM_render_sRGB_R8_RG8
[2025:01:07|17:53:11] GL_MAX_TEXTURE_SIZE: 16384
[2025:01:07|17:53:11] GL_MAX_TEXTURE_UNITS_ARB: 16
[2025:01:07|17:53:11] GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB: 16384
[2025:01:07|17:53:11] GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: 16.0
[2025:01:07|17:53:11] GL_MAX_RECTANGLE_TEXTURE_SIZE: 16384
[2025:01:07|17:53:11] GL_MAX_TEXTURE_COORDS_ARB: 16
[2025:01:07|17:53:11] GL_MAX_TEXTURE_IMAGE_UNITS_ARB: 16
[2025:01:07|17:53:11] GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB: 1024
[2025:01:07|17:53:11] GL_MAX_VERTEX_ATTRIBS_ARB: 32
[2025:01:07|17:53:11]
[2025:01:07|17:53:11] MODE: 2800x1280
[2025:01:07|17:53:11]
[2025:01:07|17:53:11] VERTICAL SYNC: enabled
[2025:01:07|17:53:11] Color 24 bits, Alpha 8 bits, Depth 24 bits, Stencil 8 bits
[2025:01:07|17:53:11] Renderer ref_gl4es initialized
[2025:01:07|17:53:11] UI_LoadProgs: extended Menu API found
[2025:01:07|17:53:11] UI_LoadProgs: extended Menu API initialized
[2025:01:07|17:53:11] UI_ApplyCustomColors: colors.lst not found
[2025:01:07|17:53:11] Warning: FS_LoadImage: couldn't load "gfx/shell/splash"
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/cb_empty s&3 [19 x 19]
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/cb_over s&3 [19 x 19]
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/cb_down s&3 [19 x 19]
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/cb_checked s&3 [19 x 19]
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/cb_disabled s&3 [19 x 19]
[2025:01:07|17:53:11] Rendering Trebuchet MS(43, 500) took 0.006181 seconds
[2025:01:07|17:53:11] Rendering Trebuchet MS(33, 500) took 0.002854 seconds
[2025:01:07|17:53:11] Rendering Trebuchet MS(66, 500) took 0.008826 seconds
[2025:01:07|17:53:11] Rendering Trebuchet MS(43, 1000) took 0.004442 seconds
[2025:01:07|17:53:11] Rendering Trebuchet MS(43, 500) took 0.003611 seconds
[2025:01:07|17:53:11] Rendering Trebuchet MS(43, 500) took 0.006893 seconds
[2025:01:07|17:53:11] Rendering Tahoma(30, 500) took 0.004264 seconds
[2025:01:07|17:53:11] Using SDL audio driver: openslES @ 44100 Hz
[2025:01:07|17:53:11] VGui_LoadProgs: not found
[2025:01:07|17:53:11] Error: VGui_LoadProgs: Failed to find VGUI support API entry point in client module
[2025:01:07|17:53:11] Warning: CL_LoadProgs: failed to get address of HUD_ChatInputPosition proc
[2025:01:07|17:53:11] Warning: CL_LoadProgs: failed to get address of HUD_GetRenderInterface proc
[2025:01:07|17:53:11] Warning: CL_LoadProgs: failed to get address of HUD_ClipMoveToEntity proc
[2025:01:07|17:53:11] Warning: CL_LoadProgs: failed to get address of IN_ClientTouchEvent proc
[2025:01:07|17:53:11] CL_TextMessageParse: parsed 143 text messages
[2025:01:07|17:53:11] Mobile_Init: initailized extended MobilityAPI ver. 2
[2025:01:07|17:53:11] CL: hull0, player_mins: -16 -16 -36, player_maxs: 16 16 36
[2025:01:07|17:53:11] CL: hull1, player_mins: -16 -16 -18, player_maxs: 16 16 18
[2025:01:07|17:53:11] CL: hull2, player_mins: 0 0 0, player_maxs: 0 0 0
[2025:01:07|17:53:11] BouncePlayerShell Range player/pl_shell%d.wav [1; 3]
[2025:01:07|17:53:11] BounceWeaponShell Range weapons/sshell%d.wav [1; 3]
[2025:01:07|17:53:11] BounceConcrete Range debris/concrete%d.wav [1; 3]
[2025:01:07|17:53:11] BounceGlass Range debris/glass%d.wav [1; 4]
[2025:01:07|17:53:11] BounceMetal Range debris/metal%d.wav [1; 6]
[2025:01:07|17:53:11] BounceFlesh Range debris/flesh%d.wav [1; 7]
[2025:01:07|17:53:11] BounceWood Range debris/wood%d.wav [1; 4]
[2025:01:07|17:53:11] Ricochet Range weapons/ric%d.wav [1; 5]
[2025:01:07|17:53:11] Explode Range weapons/explode%d.wav [3; 5]
[2025:01:07|17:53:11] PlayerWaterEnter List [player/pl_wade1.wav]
[2025:01:07|17:53:11] PlayerWaterExit List [player/pl_wade2.wav]
[2025:01:07|17:53:11] EntityWaterEnter Range player/pl_wade%d.wav [1; 4]
[2025:01:07|17:53:11] EntityWaterExit Range player/pl_wade%d.wav [1; 4]
[2025:01:07|17:53:11] execing valve.rc
[2025:01:07|17:53:11] Warning: Unknown command "s_refgain"
[2025:01:07|17:53:11] Warning: Unknown command "s_refdelay"
[2025:01:07|17:53:11] Warning: Unknown command "s_occfactor"
[2025:01:07|17:53:11] Warning: Unknown command "s_verbwet"
[2025:01:07|17:53:11] Warning: Unknown command "s_distance"
[2025:01:07|17:53:11] execing language.cfg
[2025:01:07|17:53:11] Warning: Unknown command "sv_language"
[2025:01:07|17:53:11] couldn't exec joystick.cfg
[2025:01:07|17:53:11] couldn't exec autoexec.cfg
[2025:01:07|17:53:11] execing config.cfg
[2025:01:07|17:53:11] couldn't exec userconfig.cfg
[2025:01:07|17:53:11] R_ChangeDisplaySettings: Setting video mode to 2800x1280 fullscreen
[2025:01:07|17:53:11] Time to first frame: 0.811 seconds
[2025:01:07|17:53:11] couldn't exec mainui.cfg
[2025:01:07|17:53:11] Localize_AddToDict( resource/mainui_english.txt ): couldn't open file. Some strings will not be localized!.
[2025:01:07|17:53:11] Reading config script file settings.scr
[2025:01:07|17:53:11] Reading config script file user.scr
[2025:01:07|17:53:11] FS_OpenStream: couldn't open "gamestartup" or "media/gamestartup"
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/cls_n s&3 [19 x 19]
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/cls_f s&3 [19 x 19]
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/cls_d s&3 [19 x 19]
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/min_n s&3 [19 x 19]
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/min_f s&3 [19 x 19]
[2025:01:07|17:53:11] GL_UploadTexture: gfx/shell/min_d s&3 [19 x 19]
[2025:01:07|17:53:11] Note: Issuing host shutdown due to reason "caught SDL_QUIT"
[2025:01:07|17:53:11] Host_WriteConfig()
[2025:01:07|17:53:11] unlink 281 cvars
[2025:01:07|17:53:11] unlink 0 commands
[2025:01:07|17:53:11] SV_FreeStringPool()
[2025:01:07|17:53:11] CL_Shutdown()
[2025:01:07|17:53:11] Host_WriteOpenGLConfig()
[2025:01:07|17:53:11] Host_WriteVideoConfig()
[2025:01:07|17:53:11] unlink 0 commands
[2025:01:07|17:53:11] unlink 94 commands
[2025:01:07|17:53:11] Shutting down audio.
[2025:01:07|17:53:11] unlink 66 cvars
[2025:01:07|17:53:11] unlink 0 commands

================================================================================
Xash3D FWGS 0.21 (3561, d6ebff8, master, android-arm64)
Stopped with reason "stopped" at Jan07 2025 [17:53.11]

@Velaron
Copy link
Member

Velaron commented Jan 10, 2025

Well this is certainly not tied to Android version, as it works on my Samsung on both 14 and 15. Also doesn't even looke like a crash, without logcat discussion is probably useless.

@swesws
Copy link

swesws commented Jan 10, 2025

на последней версии у меня снова крашит игру
engine.log

@a1batross
Copy link
Member

Well this is certainly not tied to Android version, as it works on my Samsung on both 14 and 15. Also doesn't even looke like a crash, without logcat discussion is probably useless.

Yeah, something seems to be emitting SDL_QUIT event, judging by engine.log posted above.

But I can't reproduce this on my own device.

My assumption is that something sends either SIGTERM or SIGINT, which SDL2 handle for us by default and convert it to SDL_QUIT event. But even so, how should I know why exactly it does this?

на последней версии у меня снова крашит игру

Вот тоже SDL_QUIT. Попробуй записать logcat и выложить сюда. Учти что logcat нужен только со старта запуска приложения и до его закрытия. Всё что до и всё что после этого зачастую бесполезно.

@WaspPC
Copy link

WaspPC commented Jan 10, 2025

Just installed the newest version of Xash3d and here's the engine log for each folder, the Com/Su folder and the separate game folder, just a reminder, I'm using an S24 Ultra, hopefully it's enough to help:

================================================================================
Xash3D FWGS 0.21 (3571, f2fb668, master, android-arm64)
Game started at Jan10 2025 [16:19.05]

[2025:01:10|16:19:05] Adding directory: valve/
[2025:01:10|16:19:05] Adding directory: bhl/downloaded/
[2025:01:10|16:19:05] Adding directory: bhl/
[2025:01:10|16:19:05] Adding directory: bhl/custom/
[2025:01:10|16:19:05] Touch_Init()
[2025:01:10|16:19:05] Warning: SV_LoadProgs: couldn't get physics API
[2025:01:10|16:19:05] Dll loaded for game "Half-Life"
[2025:01:10|16:19:05] execing skill.cfg
[2025:01:10|16:19:05] execing video.cfg
[2025:01:10|16:19:05] Loading renderer: gles1 -> ref_gles1
[2025:01:10|16:19:05] execing opengl.cfg
[2025:01:10|16:19:05] Trying safe opengl mode 0
[2025:01:10|16:19:05] bpp 16
[2025:01:10|16:19:06]
[2025:01:10|16:19:06] GL_VENDOR: Qualcomm
[2025:01:10|16:19:06] GL_RENDERER: Adreno (TM) 750
[2025:01:10|16:19:06] GL_VERSION: OpenGL ES-CM 1.1
[2025:01:10|16:19:06] GL_MAX_TEXTURE_SIZE: 16384
[2025:01:10|16:19:06] GL_MAX_TEXTURE_UNITS_ARB: 2
[2025:01:10|16:19:06] GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB: 16384
[2025:01:10|16:19:06] GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: 16.0
[2025:01:10|16:19:06]
[2025:01:10|16:19:06] MODE: 2129x1080
[2025:01:10|16:19:06]
[2025:01:10|16:19:06] VERTICAL SYNC: enabled
[2025:01:10|16:19:06] Color 24 bits, Alpha 8 bits, Depth 24 bits, Stencil 8 bits
[2025:01:10|16:19:06] Using SDL audio driver: openslES @ 44100 Hz
[2025:01:10|16:19:06] execing valve.rc
[2025:01:10|16:19:06] Warning: Unknown command "s_refgain"
[2025:01:10|16:19:06] Warning: Unknown command "s_refdelay"
[2025:01:10|16:19:06] Warning: Unknown command "s_occfactor"
[2025:01:10|16:19:06] Warning: Unknown command "s_verbwet"
[2025:01:10|16:19:06] Warning: Unknown command "s_distance"
[2025:01:10|16:19:06] execing language.cfg
[2025:01:10|16:19:06] Warning: Unknown command "sv_language"
[2025:01:10|16:19:06] execing autoexec.cfg
[2025:01:10|16:19:06] Warning: Unknown command "heapsize"
[2025:01:10|16:19:06] Warning: Unknown command "gl_use_shaders"
[2025:01:10|16:19:06] Warning: Unknown command "num_edicts"
[2025:01:10|16:19:06] Warning: Unknown command "sv_allow_shaders"
[2025:01:10|16:19:06] Warning: Unknown command "gl_texturemode"
[2025:01:10|16:19:06] Warning: Unknown command "glow_strength"
[2025:01:10|16:19:06] execing config.cfg
[2025:01:10|16:19:06] cl_trace_events is cheat protected.
[2025:01:10|16:19:06] cl_trace_messages is cheat protected.
[2025:01:10|16:19:06] Note: Issuing host shutdown due to reason "caught SDL_QUIT"
[2025:01:10|16:19:06] CL_Shutdown()
[2025:01:10|16:19:06] Shutting down audio.

================================================================================
Xash3D FWGS 0.21 (3571, f2fb668, master, android-arm64)
Stopped with reason "caught SDL_QUIT" at Jan10 2025 [16:19.06]

--------------‐--------

The following engine log is in the games folder, separate from the com/su data files, i also noticed it says PSVita-arm in the log, seems a bit odd to classify an S24 Ultra as an old Sony handhelm, seeing as the game is the Steam/Sierra version transferred over:

================================================================================
Xash3D FWGS (build 1074, PSVita-arm) started at Mar10 2018 [17:32.37]

[2018:03:10|17:32:37] Console initialized
[2018:03:10|17:32:37] FS_AddGameDirectory( ./, 0 )
[2018:03:10|17:32:37] FS_Init: done
[2018:03:10|17:32:37] FS_LoadGameInfo( valve )
[2018:03:10|17:32:37] FS_Rescan( Half-Life )
[2018:03:10|17:32:37] FS_AddGameDirectory( valve/downloaded/, 10 )
[2018:03:10|17:32:37] FS_AddGameDirectory( valve/, 4 )
[2018:03:10|17:32:37] Adding packfile: valve/extras.pak (139 files)
[2018:03:10|17:32:37] Adding packfile: valve/pak0.pak (3453 files)
[2018:03:10|17:32:37] Adding wadfile valve/cached.wad (2 files)
[2018:03:10|17:32:37] Adding wadfile valve/decals.wad (222 files)
[2018:03:10|17:32:37] Adding wadfile valve/fonts.wad (3 files)
[2018:03:10|17:32:37] Adding wadfile valve/gfx.wad (7 files)
[2018:03:10|17:32:37] Adding wadfile valve/halflife.wad (3116 files)
[2018:03:10|17:32:37] Adding wadfile valve/liquids.wad (32 files)
[2018:03:10|17:32:37] Adding wadfile valve/spraypaint.wad (14 files)
[2018:03:10|17:32:37] Adding wadfile valve/xeno.wad (264 files)
[2018:03:10|17:32:37] FS_AddGameDirectory( valve/custom/, 10 )
[2018:03:10|17:32:37] InitDecals: 222 decals
[2018:03:10|17:32:37] NET_Init()
[2018:03:10|17:32:38] Netchan_Init()
[2018:03:10|17:32:38] SV_Init()
[2018:03:10|17:32:38] Console initialized.
[2018:03:10|17:32:38] execing video.cfg
[2018:03:10|17:32:38] execing opengl.cfg
[2018:03:10|17:32:38] VID_StartupGamma: software gamma initialized
[2018:03:10|17:32:38] R_Init_OpenGL()
[2018:03:10|17:32:38] VID_SetMode(960, 544)
[2018:03:10|17:32:38] Set: [960x544]
[2018:03:10|17:32:38] Video: SGX543MP4+
[2018:03:10|17:32:38] GL_UploadTexture: uploading *default [16 x 16] orig [16 x 16] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:38] GL_Upload: *white s&3 [1 x 1]
[2018:03:10|17:32:38] GL_UploadTexture: uploading *white [1 x 1] orig [1 x 1] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:38] GL_Upload: *gray s&3 [1 x 1]
[2018:03:10|17:32:38] GL_UploadTexture: uploading *gray [1 x 1] orig [1 x 1] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:38] GL_Upload: *black s&3 [1 x 1]
[2018:03:10|17:32:38] GL_UploadTexture: uploading *black [1 x 1] orig [1 x 1] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:38] GL_UploadTexture: uploading *particle [16 x 16] orig [16 x 16] inf 0x1908 outf 0x1908 old outf 0x1908
[2018:03:10|17:32:38] GL_UploadTexture: uploading *oldparticle [8 x 8] orig [8 x 8] inf 0x1908 outf 0x1908 old outf 0x1908
[2018:03:10|17:32:38] GL_UploadTexture: uploading *particle2 [8 x 8] orig [8 x 8] inf 0x1908 outf 0x1908 old outf 0x1908
[2018:03:10|17:32:39] GL_UploadTexture: uploading *cintexture [256 x 256] orig [256 x 256] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *dlight [128 x 128] orig [128 x 128] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *dlight2 [1024 x 1024] orig [1024 x 1024] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *atten [256 x 1] orig [256 x 1] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *atten2 [256 x 1] orig [256 x 1] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *atten3 [256 x 1] orig [256 x 1] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *attnno [256 x 1] orig [256 x 1] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *blankbump [16 x 16] orig [16 x 16] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *blankdeluxe [16 x 16] orig [16 x 16] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *sky [16 x 16] orig [16 x 16] inf 0x1908 outf 0x1907 old outf 0x1907
[2018:03:10|17:32:39] GL_UploadTexture: uploading *alphaContrast [64 x 64] orig [64 x 64] inf 0x1908 outf 0x8049 old outf 0x8049
[2018:03:10|17:32:39] GL_Upload: *vsdct s&3 [1 x 1]
[2018:03:10|17:32:39] GL_UploadTexture: uploading *vsdct [1 x 1] orig [1 x 1] inf 0x1908 outf 0x1908 old outf 0x1908
[2018:03:10|17:32:39] ^3Warning:^7 GL_UploadTexture: cubemaps isn't supported, *vsdct ignored
[2018:03:10|17:32:39] SCR_Init()

@Velaron
Copy link
Member

Velaron commented Jan 10, 2025

That just means wherever you pirated your stuff it was ran on a Vita... Makes me wonder if these issues are tied to a specific copy somewhere on the internet

@Windows98SE-dev
Copy link

These crashes aren't copy specific, I have a legitimate copy of HL1 bought through Steam and these issues still happen, even with the pre_aniversary branch of the game

@WaspPC
Copy link

WaspPC commented Jan 10, 2025

Brutal Half-Life has the same log, but Brutal Half-Life does piggyback off of regular Half-Life for some core files

@Velaron
Copy link
Member

Velaron commented Jan 10, 2025

Brutal Half-Life has the same log, but Brutal Half-Life does piggyback off of regular Half-Life for some core files

It won't work on Android anyway

@a1batross
Copy link
Member

bhl

It's useless to run it on Android.

@WaspPC
Copy link

WaspPC commented Jan 10, 2025

I transferred my steam files primarily, that's why it showing as vita maked no sense, however for testing purposes I fully deleted everything and uninstalled Xash3D, I illegally downloaded the Sierra Original PC game data files and still ended up with the same crash issue.

Shame my old phone died, Xash3D and the games worked perfectly on my old phone. Sometimes newer is not better, lol.

================================================================================
Xash3D FWGS 0.21 (3571, f2fb668, master, android-arm64)
Game started at Jan10 2025 [17:37.56]

[2025:01:10|17:37:56] Adding directory: valve/
[2025:01:10|17:37:56] Adding directory: bhl/downloaded/
[2025:01:10|17:37:56] Adding directory: bhl/
[2025:01:10|17:37:56] Adding directory: bhl/custom/
[2025:01:10|17:37:56] Touch_Init()
[2025:01:10|17:37:56] Warning: SV_LoadProgs: couldn't get physics API
[2025:01:10|17:37:56] Dll loaded for game "Half-Life"
[2025:01:10|17:37:56] execing skill.cfg
[2025:01:10|17:37:56] execing video.cfg
[2025:01:10|17:37:56] Loading renderer: gles1 -> ref_gles1
[2025:01:10|17:37:56] execing opengl.cfg
[2025:01:10|17:37:56] Trying safe opengl mode 0
[2025:01:10|17:37:56] bpp 16
[2025:01:10|17:37:56]
[2025:01:10|17:37:56] GL_VENDOR: Qualcomm
[2025:01:10|17:37:56] GL_RENDERER: Adreno (TM) 750
[2025:01:10|17:37:56] GL_VERSION: OpenGL ES-CM 1.1
[2025:01:10|17:37:56] GL_MAX_TEXTURE_SIZE: 16384
[2025:01:10|17:37:56] GL_MAX_TEXTURE_UNITS_ARB: 2
[2025:01:10|17:37:56] GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB: 16384
[2025:01:10|17:37:56] GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: 16.0
[2025:01:10|17:37:56]
[2025:01:10|17:37:56] MODE: 2340x1080
[2025:01:10|17:37:56]
[2025:01:10|17:37:56] VERTICAL SYNC: enabled
[2025:01:10|17:37:56] Color 24 bits, Alpha 8 bits, Depth 24 bits, Stencil 8 bits
[2025:01:10|17:37:57] Using SDL audio driver: openslES @ 44100 Hz
[2025:01:10|17:37:57] execing valve.rc
[2025:01:10|17:37:57] Warning: Unknown command "s_refgain"
[2025:01:10|17:37:57] Warning: Unknown command "s_refdelay"
[2025:01:10|17:37:57] Warning: Unknown command "s_occfactor"
[2025:01:10|17:37:57] Warning: Unknown command "s_verbwet"
[2025:01:10|17:37:57] Warning: Unknown command "s_distance"
[2025:01:10|17:37:57] execing language.cfg
[2025:01:10|17:37:57] Warning: Unknown command "sv_language"
[2025:01:10|17:37:57] execing autoexec.cfg
[2025:01:10|17:37:57] Warning: Unknown command "heapsize"
[2025:01:10|17:37:57] Warning: Unknown command "gl_use_shaders"
[2025:01:10|17:37:57] Warning: Unknown command "num_edicts"
[2025:01:10|17:37:57] Warning: Unknown command "sv_allow_shaders"
[2025:01:10|17:37:57] Warning: Unknown command "gl_texturemode"
[2025:01:10|17:37:57] Warning: Unknown command "glow_strength"
[2025:01:10|17:37:57] execing config.cfg
[2025:01:10|17:37:57] Warning: Unknown command "ati_npatch"
[2025:01:10|17:37:57] Warning: Unknown command "bgmvolume"
[2025:01:10|17:37:57] Warning: Unknown command "cl_mousegrab"
[2025:01:10|17:37:57] Warning: Unknown command "cl_rollangle"
[2025:01:10|17:37:57] Warning: Unknown command "cl_rollspeed"
[2025:01:10|17:37:57] Warning: Unknown command "cl_softwarewater"
[2025:01:10|17:37:57] Warning: Unknown command "con_mono"
[2025:01:10|17:37:57] Warning: Unknown command "console"
[2025:01:10|17:37:57] Warning: Unknown command "gl_ansio"
[2025:01:10|17:37:57] Warning: Unknown command "gl_dither"
[2025:01:10|17:37:57] Warning: Unknown command "gl_flipmatrix"
[2025:01:10|17:37:57] Warning: Unknown command "gl_lightholes"
[2025:01:10|17:37:57] Warning: Unknown command "gl_lowlatency"
[2025:01:10|17:37:57] Warning: Unknown command "gl_lowlatency_debugoutput"
[2025:01:10|17:37:57] Warning: Unknown command "gl_lowlatency_maxslop_ms"
[2025:01:10|17:37:57] Warning: Unknown command "gl_lowlatency_minslop_ms"
[2025:01:10|17:37:57] Warning: Unknown command "gl_monolights"
[2025:01:10|17:37:57] Warning: Unknown command "gl_picmip"
[2025:01:10|17:37:57] gl_round_down is read-only.
[2025:01:10|17:37:57] Warning: Unknown command "gl_spriteblend"
[2025:01:10|17:37:57] Warning: Unknown command "gl_texturemode"
[2025:01:10|17:37:57] Warning: Unknown command "gl_use_shaders"
[2025:01:10|17:37:57] Warning: Unknown command "gl_wateramp"
[2025:01:10|17:37:57] Warning: Unknown command "graphheight"
[2025:01:10|17:37:57] Warning: Unknown command "hisound"
[2025:01:10|17:37:57] Error: hpk_maxsize is deprecated, use hpk_max_size
[2025:01:10|17:37:57] Warning: Unknown command "m_customaccel"
[2025:01:10|17:37:57] Warning: Unknown command "m_customaccel_exponent"
[2025:01:10|17:37:57] Warning: Unknown command "m_customaccel_max"
[2025:01:10|17:37:57] Warning: Unknown command "m_customaccel_scale"
[2025:01:10|17:37:57] Warning: Unknown command "m_filter"
[2025:01:10|17:37:57] Warning: Unknown command "m_mousethread_sleep"
[2025:01:10|17:37:57] Warning: Unknown command "mapmusic"
[2025:01:10|17:37:57] Warning: Unknown command "MP3FadeTime"
[2025:01:10|17:37:57] Warning: Unknown command "nl_crosshair_decay_speed"
[2025:01:10|17:37:57] Warning: Unknown command "nl_crosshair_dynamic_velocity"
[2025:01:10|17:37:57] Warning: Unknown command "r_prefertexturefiltering"
[2025:01:10|17:37:57] Warning: Unknown command "sp_decals"
[2025:01:10|17:37:57] Warning: Unknown command "voice_forcemicrecord"
[2025:01:10|17:37:57] Warning: Unknown command "voice_modenable"
[2025:01:10|17:37:57] Localize_AddToDict( resource/valve_english.txt ): couldn't open file. Some strings will not be localized!.
[2025:01:10|17:37:57] Localize_AddToDict( resource/mainui_english.txt ): couldn't open file. Some strings will not be localized!.
[2025:01:10|17:37:57] Note: Issuing host shutdown due to reason "caught SDL_QUIT"
[2025:01:10|17:37:57] CL_Shutdown()
[2025:01:10|17:37:57] Shutting down audio.

================================================================================
Xash3D FWGS 0.21 (3571, f2fb668, master, android-arm64)
Stopped with reason "caught SDL_QUIT" at Jan10 2025 [17:37.57]


It only has the one engine log this time.

@a1batross
Copy link
Member

You have to legally obtain the game files, we do not support piracy here.

Not only that, it's better to use Steam version of the game.

@WaspPC
Copy link

WaspPC commented Jan 10, 2025

I was using my legal steam version before, but switched to test it. Got one of the games working, Brutal Half-Life, didn't really like it though, so deleted it. Everything else still crashes though.
Looks like it'll probably never run on this phone then (S24Ultra Android14). Sucks my old phone died, it worked perfectly on that (Razor Gaming Phone Android9).

@a1batross
Copy link
Member

This is our bug somewher but I don't know how to reproduce this bug. It just works perfectly for me.

@antitheus185
Copy link

The new engine works under Android 15 without any issues. Old engine won't work in most new phones, since the engine is 32-bit only and the latest phones will only run 64-bit code. It is, what it is...

As for old engine, there's a version of it that I've found to work better than New Engine and Old Engine (0.19.x versions) and it's 0.20.1, it appears to look like New Engine (the icon at least) but still operates the exact same as Old Engine, and will let you place launcher widgets for each game on your home screen. Meant to reply here with that info but I also don't know where to legitimately find it on here (specifically FWGS repositories). I just got an update for android 15 so I'll try and respond here with info on whether or not it works.

0.19.2 Old Engine won't work anyways due to tighter storage permissions found in android 13+ and even if you use an app like Install With Options through Shizuku (if you're on a non-rooted device) it'll still be unable to write and read from your storage.

Opposing Force is also incompatible by the way, the game crashes during the intro scene when the helicopter is supposed to explode, figured I should go ahead and mention that too. There's also far fewer graphical glitches (at least on my device) except for loading transitions, solid black boxes appear behind the touch controls when visible and behind the loading prompt. Transparent objects (microwave glass, hev suit glass sliders, door glass panels, etc. etc.) appear opaque and some don't and work fine. Also, if you use gesture navigation, if you have the option in your phone settings, make sure you have the navigation bar set to be hidden so you can be able to see the HUD. If you don't, the app doesn't automatically hide it for whatever reason and unfortunately covers it up entirely.

@WaspPC
Copy link

WaspPC commented Jan 10, 2025

For now I have completely wiped Xash3d and all Half-Life files off my phone. I will try another clean install later and re transfer my Steam game files across again.
I might try the other xash3d test build instead of the master build.

Opforce on my old phone ran fine by skipping the intro scene via the command console, the gamepad was ok on my old phone though. But yes there is a crash bug in the intro scene, just as it changes from first person view to the xen ship shooting down the osprey.

Android 15 is not yet available where I am, so on Android 14.

Edit: I just remembered my old phone had Java for Android installed. My new phone doesn't. Looking further into Xash3D builds, it does seem to run some Java related coding. Either way, will keep experimenting hopefully we will resolve this issue .
Till then though I have loads of other ports on my phone, I am replaying Wolfenstein3d at the moment. But I'll have to remember to re transfer my Half-Life files before going on Rogue City later.
Sorry if this a little off topic towards the end, but it is still meant to be focused on Xash3d for my Android 14 device.

@antitheus185
Copy link

Just updated to the latest Xash3d Stable build and it's still crashing, tried a clean install as well and no luck, click play and as soon as the main menu loads it crashes to homescreen, phone S24Ultra ARM CPU Android14.

Exactly! The same thing happens to me!

Don't know if someone else has said it already, or if I've already said it before, but when it crashes after loading into a game, go to your recent apps and switch back to the last app. (Should be Xash3D FWGS, if you don't open another app after it crashes.) if you use gesture navigation on your phone, just swipe along the navigation bar for the previous app switch gesture to quickly go back to it. If it crashes again, just keep doing so until it loads the menu for the game. If you use standard 3 button navigation, just press the recents button twice to do the same thing as the gesture navigation. It's a bit of a jank fix, but New Engine is extremely unstable for one reason or another on android 14 / 15. That's clearly already known though.

I see OpFor just didn't work to begin with during the intro scene, it isn't an issue specific to any android version.

@a1batross
Copy link
Member

@antitheus185 to have opfor, it needs it's game logic rebuilt specifically for an Android targetting CPU architecture of your phone.

There is no known rebuilds of opfor for new engine, mostly because everything Android related is not yet completed.

@WaspPC
Copy link

WaspPC commented Jan 11, 2025

Right, I logged in on my PC, I re transferred my HL, OF and BS files, I also transferred HLSource because why not, did a clean install of Xash3d, gave it full access permissions, and still crashed as soon as the main menu loaded.

So Android 14 could be a possible issue, but it feels more like it's the ARM Cortex cpu that may just not be fully supported by the engine.

However here is the log for you to view:

================================================================================
Xash3D FWGS 0.21 (3572, a7b776f, master, android-arm64)
Game started at Jan11 2025 [00:54.53]

[2025:01:11|00:54:53] Adding directory: valve/downloaded/
[2025:01:11|00:54:53] Adding directory: valve/
[2025:01:11|00:54:53] Adding directory: valve/custom/
[2025:01:11|00:54:53] Touch_Init()
[2025:01:11|00:54:53] Warning: SV_LoadProgs: couldn't get physics API
[2025:01:11|00:54:53] Dll loaded for game "Half-Life"
[2025:01:11|00:54:53] execing skill.cfg
[2025:01:11|00:54:53] execing video.cfg
[2025:01:11|00:54:53] Loading renderer: gles1 -> ref_gles1
[2025:01:11|00:54:53] execing opengl.cfg
[2025:01:11|00:54:53] Trying safe opengl mode 0
[2025:01:11|00:54:53] bpp 16
[2025:01:11|00:54:53]
[2025:01:11|00:54:53] GL_VENDOR: Qualcomm
[2025:01:11|00:54:53] GL_RENDERER: Adreno (TM) 750
[2025:01:11|00:54:53] GL_VERSION: OpenGL ES-CM 1.1
[2025:01:11|00:54:53] GL_MAX_TEXTURE_SIZE: 16384
[2025:01:11|00:54:53] GL_MAX_TEXTURE_UNITS_ARB: 2
[2025:01:11|00:54:53] GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB: 16384
[2025:01:11|00:54:53] GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: 16.0
[2025:01:11|00:54:53]
[2025:01:11|00:54:53] MODE: 2340x1080
[2025:01:11|00:54:53]
[2025:01:11|00:54:53] VERTICAL SYNC: enabled
[2025:01:11|00:54:53] Color 24 bits, Alpha 8 bits, Depth 24 bits, Stencil 8 bits
[2025:01:11|00:54:53] UI_ApplyCustomColors: colors.lst not found
[2025:01:11|00:54:53] Using SDL audio driver: openslES @ 44100 Hz
[2025:01:11|00:54:53] execing valve.rc
[2025:01:11|00:54:53] Warning: Unknown command "s_refgain"
[2025:01:11|00:54:53] Warning: Unknown command "s_refdelay"
[2025:01:11|00:54:53] Warning: Unknown command "s_occfactor"
[2025:01:11|00:54:53] Warning: Unknown command "s_verbwet"
[2025:01:11|00:54:53] Warning: Unknown command "s_distance"
[2025:01:11|00:54:53] execing language.cfg
[2025:01:11|00:54:53] Warning: Unknown command "sv_language"
[2025:01:11|00:54:53] execing controller.cfg
[2025:01:11|00:54:53] Warning: Unknown command "joyadvanced"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvaxisx"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvaxisy"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvaxisr"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvaxisz"
[2025:01:11|00:54:53] Warning: Unknown command "joysidesensitivity"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvancedupdate"
[2025:01:11|00:54:53] execing autoexec.cfg
[2025:01:11|00:54:53] execing violence.cfg
[2025:01:11|00:54:53] execing controller.cfg
[2025:01:11|00:54:53] Warning: Unknown command "joyadvanced"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvaxisx"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvaxisy"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvaxisr"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvaxisz"
[2025:01:11|00:54:53] Warning: Unknown command "joysidesensitivity"
[2025:01:11|00:54:53] Warning: Unknown command "joyadvancedupdate//"
[2025:01:11|00:54:53] execing config.cfg
[2025:01:11|00:54:53] cl_trace_events is cheat protected.
[2025:01:11|00:54:53] cl_trace_messages is cheat protected.
[2025:01:11|00:54:53] Localize_AddToDict( resource/mainui_english.txt ): couldn't open file. Some strings will not be localized!.
[2025:01:11|00:54:56] Note: Issuing host shutdown due to reason "caught SDL_QUIT"
[2025:01:11|00:54:56] CL_Shutdown()
[2025:01:11|00:54:56] Shutting down audio.

================================================================================
Xash3D FWGS 0.21 (3572, a7b776f, master, android-arm64)
Stopped with reason "caught SDL_QUIT" at Jan11 2025 [00:54.56]

@Windows98SE-dev
Copy link

I know that the S24 Ultra uses a Snapdragon 8 Gen 3 when the S24 and the S24+ uses a Samsung Exynos 2400, maybe it's just the CPU interfering with Xash ?

@WaspPC
Copy link

WaspPC commented Jan 11, 2025

S24 Ultra in the United States uses Snapdragon 8th gen. S24 Ultra in the United Kingdom uses ARM64 Cortex 8core CPU. I'm not sure why but Samsung felt the United Kingdom had to use a different CPU to the rest of the world, they did the same thing when the S22 Ultra was released as well.

CPU-Z for android, S24 Ultra UK:
Screenshot_20250111_063921_CPU-Z~2

My old Razor gaming phone that died a few months ago used to have a Snapdragon 5th Gen 8core i think it was, lol.

@a1batross
Copy link
Member

a1batross commented Jan 11, 2025 via email

@WaspPC
Copy link

WaspPC commented Jan 11, 2025

If it's means anything i got my phone from Three Mobile in the UK.

Also the S24Ultra, same with S22Ultra, make it hard to view and alter the Android/data folders, modification of Android/data files is blocked for unofficial apps, Xash3d is a third party install (not through GoogleStore) and may limit storage access permissions. Funny though another third party Engine called Zeta Touch has no trouble, but it does not run through the Android/data folders, but it uses the Android/obb folder along with main user storage area instead which are not prohibited areas of storage.

When we install HL,OF,BS, through Xash3d it allows us to give temporary access to prohibited areas of the storage, it may be that the permissions to that area of storage are being removed soon after.

I couldn't say for certain without testing it further.
I could try to find an older version of Xash3d and try that to see if it would run.

It likely a Manufacturer specific Android issue, from what you've indicated in relation to Vendor.

It'll get there eventually.

@mittorn
Copy link
Member

mittorn commented Jan 11, 2025 via email

@a1batross
Copy link
Member

a1batross commented Jan 11, 2025 via email

@mittorn
Copy link
Member

mittorn commented Jan 11, 2025 via email

@a1batross
Copy link
Member

Jesse what the fuck are you talking about

Breaking_Bad_S04E01__Box_Cutter__-_Denny's_Scene_0-25_screenshot

@g-l-i-t-c-h-o-r-s-e
Copy link

g-l-i-t-c-h-o-r-s-e commented Jan 11, 2025

Same issue, instant crash on Samsung Galaxy S24 Ultra. Vendor is Verizon.
Here's an unfiltered logcat, I let it crash a few times, last crash managed to load graphics/main menu for a second, the rest were just black screens before instant crash.

On very rare occasions if im quick enough i can click through the main menu, and start the game, and it wont crash...? It loads the game for just a few minutes. Otherwise nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests