fix(launcher): skip and guard incomplete optional UHQ texture packs

Detect optional UHQ texture packs whose content/pkg_uhq_*.rq2 lacks a matching .ver file (PACKAGE_STATUS_REQUESTED) or whose grp_hdr.vromfs.bin has no .dxp.bin files.

planCopy now skips incomplete UHQ packs during copy installs and incremental updates (cleaning previously copied incomplete files on update), and planLaunch refuses to launch clients containing incomplete UHQ headers with a localized error instead of letting aces.exe crash with fatal error 81110007.

Verified with root and launcher typecheck, electron-vite build, en/zh-CN locale key parity (905/905), and a temp-folder runnable check.
This commit is contained in:
N0VAN0M4LY committed 2026-12-04 03:42:49 +08:00
1 parent 428b2d3601
commit 480496ca93
8 files changed
+134 -5

No files matched your search

+2
View File
@@ -76,6 +76,8 @@ export const APP_ERROR_CODES = [
'launch_game_failed',
/** Core files built for the launch (aces.exe, wto_ws.dll, wto_ws.cfg) are missing or unreadable. */
'launch_game_files_missing',
/** Optional UHQ texture packs have a mounted header without completed files (params: packs). */
'launch_incomplete_uhq_packs',
/** A folder the player chose does not exist or cannot be read (params: path). */
'folder_unreadable',
/** The chosen folder lacks the files of a War Thunder installation (params: path). */