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
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
||
"_comment": "浮点噪声地板。M2/M3 的对拍阈值 ε = 对应值 × 安全余量(约 ×10)。来源见下。",
|
||
|
||
"same_dll_determinism": {
|
||
"granny": "2.9.12.0",
|
||
"mat": 0.0,
|
||
"vtx": 0.0,
|
||
"method": "同 (model,anim,t) 连续两次 oracle dump,byte-identical。Granny 这条路径单线程无 RNG,完全确定。"
|
||
},
|
||
|
||
"cross_impl": {
|
||
"_comment": "libgr2 vs 真 Granny —— 两个都正确、浮点运算顺序不同造成的差。这就是实际的地板。",
|
||
"granny": "2.9.12.0",
|
||
"mat": 4.6e-05,
|
||
"vtx": 6.5e-05,
|
||
"method": "oracle/run-diff-suite.sh:23 用例(13 模型 bind + 8 动画帧 + v7 + 双 root + 刚体),取 max。",
|
||
"report": "m2-numeric.json"
|
||
},
|
||
|
||
"cross_version": {
|
||
"_comment": "换一版相邻 granny2.dll(2.4.x 或 2.11.x)跑同一 dump 的差 —— 待补,本机只有 2.9.12。",
|
||
"mat": null,
|
||
"vtx": null,
|
||
"status": "pending: 需要另一个 granny2.dll 版本"
|
||
},
|
||
|
||
"epsilon": {
|
||
"_comment": "M2/M3 数值门禁用。cross_impl × ~15 余量,向上取整到 1e-3。",
|
||
"mat": 1e-3,
|
||
"vtx": 1e-3
|
||
}
|
||
}
|