Add -skip_pkg_validation to the shared offline launch arguments so aces.exe skips the startup content/warthunder.blk file-size check, and add the isolation/never-launch-official-launcher exe patch to NOP the os_shell_execute call in the official launcher spawner while preserving its exit logging and ExitProcess(1).
41 lines
1.9 KiB
JSON
41 lines
1.9 KiB
JSON
// Never invoke the official launcher.exe from the helper that spawns "\..\launcher.exe" and exits.
|
|
// Why the executable: the startup package-size check ignores -forcestart, and fatal file read errors (0x81110007)
|
|
// bypass config.blk noLauncher too; no local service can intercept a direct ShellExecute call.
|
|
// Without it: any content/warthunder.blk size mismatch or file read error spawns launcher.exe -fullcheck,
|
|
// which connects to Gaijin and overwrites the patched offline files back to the online build.
|
|
{
|
|
"id": "isolation/never-launch-official-launcher",
|
|
"title": "禁止游戏拉起官方启动器 launcher.exe(保留退出日志和退出码)",
|
|
"features": [
|
|
"A-Isolation from the official game",
|
|
"A-No Gaijin connections"
|
|
],
|
|
"requires": [],
|
|
"variants": [
|
|
// Tail of the official launcher spawner from the "-fullcheck" argument setup through ExitProcess(1), 106 bytes;
|
|
// rip-relative displacements and relative call targets are wildcards.
|
|
// 2.61.0.37: unique hit at 0xeedd07 (function 0xeedc70-0xeedd72), os_shell_execute call at +64 (0xeedd47).
|
|
// 2.61.0.43: unique hit at 0xef1d37 (function 0xef1ca0-0xef1da2), os_shell_execute call at +64 (0xef1d77).
|
|
{
|
|
"written_for": "2.61.0.37",
|
|
"locate": {
|
|
"method": "signature",
|
|
"section": ".text",
|
|
"pattern": "4c 8d 05 ?? ?? ?? ?? 48 85 f6 48 8d 15 ?? ?? ?? ?? 48 0f 45 d6 31 c0 84 db 4c 0f 44 c0 c6 44 24 20 01 48 8d 35 ?? ?? ?? ?? 48 8d 05 ?? ?? ?? ?? 48 8d 3d ?? ?? ?? ?? 48 0f 45 f8 31 c9 45 31 c9 e8 ?? ?? ?? ?? b9 4d 41 49 4e 48 89 f2 e8 ?? ?? ?? ?? 48 89 f9 e8 ?? ?? ?? ?? e8 ?? ?? ?? ?? b9 01 00 00 00 ff 15 ?? ?? ?? ??"
|
|
},
|
|
"edit": {
|
|
"offset": 64,
|
|
"asm": [
|
|
"nop",
|
|
"nop",
|
|
"nop",
|
|
"nop",
|
|
"nop"
|
|
],
|
|
"bytes": "90 90 90 90 90",
|
|
"expect_original": "e8 ?? ?? ?? ??"
|
|
}
|
|
}
|
|
]
|
|
}
|