Add Wine runtime smoke test helper

This commit is contained in:
server
2026-04-14 17:25:17 +02:00
parent 521f884b85
commit 4139f044df
3 changed files with 347 additions and 0 deletions

View File

@@ -58,6 +58,54 @@ delivery gradually, not through a single risky cutover.
6. Validate asset loads in logs and in-game.
7. Move to the next pack group.
## Confirmed startup-safe pack group
The following startup pack set has already been validated against the real
client runtime on the Linux VPS:
- `root`
- `patch1`
- `patch2`
- `season3_eu`
- `metin2_patch_snow`
- `metin2_patch_snow_dungeon`
- `metin2_patch_etc_costume1`
- `metin2_patch_pet1`
- `metin2_patch_pet2`
- `metin2_patch_ramadan_costume`
- `metin2_patch_flame`
- `metin2_patch_flame_dungeon`
- `locale`
- `uiscript`
- `uiloading`
- `ETC`
- `item`
- `effect`
- `icon`
- `property`
Validation method:
1. build each pack as `.m2p`
2. remove the matching legacy `.pck`
3. provide the runtime master key through:
- `M2PACK_MASTER_KEY_HEX`
- `M2PACK_KEY_ID=1`
4. start the Linux-built Windows client with `xvfb-run + wine`
Observed result:
- `PackInitialize` succeeded
- Python startup succeeded
- `app.Create(...)` succeeded
- client reached `MainStream.SetLoginPhase()`
Recommended next pack groups:
1. remaining startup-adjacent patch packs
2. world and map content such as outdoor, terrain, tree, and zone
3. late-load gameplay content such as pc, npc, monster, and sound
## Risk notes
- Do not mix silent fallback with production security claims.