Metin2 game client (P0–P11) + mobile asset pipeline
Networked client on the existing Godot 4.7 + libgr2 renderer:
- net: m2dev wire protocol (libsodium KX + XChaCha20), auth/select/game
phases, EntityStore world model, ~all GC/CG headers. char create/delete,
private shop / mall / cube, SHOP_GC_START_EX, guild, party (+ CG_PARTY_SET_STATE),
quests, dragon soul, refine, safebox, exchange.
- UI: in-game windows migrated 1:1 from the reference uiscript/root .py —
char status (/stat), inventory+equipment, select-item ([SELECT_ITEM] quest
token), system-option + game-option + ESC system menu, private-shop 39-grid,
party info board, shop tabs, atlas, minimap, quickbar, chat, …
- EterGrnLib polish: GR2 material blend/two-sided, LOD crossfade, motion-event
dispatch, contact shadow, ray-AABB picking, weapon grip pre-transform.
Portable asset IO (A1) — all extension/libgr2/formats/mtproto reads routed
through godot::FileAccess (res:// PCK works on iOS/Android); standalone-lib
*_path() kept for the non-Godot CTests. AssetResolver + PropertyRegistry
switched to a baked index (bake_asset_index.gd) instead of std::filesystem.
Mobile builds: build-{android,ios}.sh, export-android.sh, pack-assets.sh,
gen-debug-keystore.sh. Assets ship as a zip mounted at runtime by
project/asset_pack.gd (adb push now; HTTP download is a drop-in later).
ctest 10/10, 34 GDScript suites, macOS/iOS/Android all build.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013EJxkHiNKS4kybHS3XKyAJ
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"_doc": "PARITY-GAP.md §0.1 受控参考帧契约。'待采集' = 需从原 D3D 客户端实测,未落盘前只允许修正确性/管线问题,不接受为匹配这张图做的相机/光照/色调/材质调参。参考图应放到 test/reference/ingame-shinsoo.png。",
|
||||
"reference_image": "test/reference/ingame-shinsoo.png",
|
||||
|
||||
"output": {
|
||||
"resolution": [1920, 1080],
|
||||
"godot_version": "4.7.1.stable",
|
||||
"renderer": "待采集 (Forward+ / Mobile)",
|
||||
"msaa": "待采集",
|
||||
"taa": "待采集",
|
||||
"color_space": "待采集 (sRGB / linear)",
|
||||
"random_seed": 0
|
||||
},
|
||||
|
||||
"map": {
|
||||
"map_id": "OutdoorA1/metin2_map_a1",
|
||||
"confirmed_is_a1": false,
|
||||
"player_global_cm": ["待采集", "待采集", "待采集"],
|
||||
"load_radius_tiles": 1,
|
||||
"visible_tiles": "待采集"
|
||||
},
|
||||
|
||||
"camera": {
|
||||
"yaw_deg": "待采集",
|
||||
"pitch_deg": "待采集",
|
||||
"roll_deg": "待采集",
|
||||
"distance_m": "待采集",
|
||||
"height_m": "待采集",
|
||||
"fov_deg": "待采集",
|
||||
"near": "待采集",
|
||||
"far": "待采集"
|
||||
},
|
||||
|
||||
"player": {
|
||||
"race": "待采集",
|
||||
"sex": "待采集",
|
||||
"body_gr2": "待采集",
|
||||
"hair_gr2": "待采集",
|
||||
"weapon": "待采集",
|
||||
"equipment": "待采集",
|
||||
"motion": "待采集",
|
||||
"anim_time_s": "待采集"
|
||||
},
|
||||
|
||||
"npc": [],
|
||||
|
||||
"environment": {
|
||||
"msenv": "A1.msenv",
|
||||
"time_of_day": "待采集",
|
||||
"weather": "待采集",
|
||||
"sun_dir": "待采集",
|
||||
"fog": "待采集",
|
||||
"exposure": "待采集",
|
||||
"post": "待采集"
|
||||
},
|
||||
|
||||
"ui": {
|
||||
"locale": "待采集 (截图角标显示 es?)",
|
||||
"inventory_open": "待采集",
|
||||
"minimap_round": "待采集",
|
||||
"chat_lines": ["待采集"],
|
||||
"status_bar": "待采集",
|
||||
"hotbar": "待采集"
|
||||
},
|
||||
|
||||
"excluded_from_frame": [
|
||||
{ "item": "完整 .mse 特效", "reason": "目标帧内不可见", "roi": null },
|
||||
{ "item": "远离机位的地图内容", "reason": "load_radius 外 / 视锥外", "roi": null }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user