AVA2 client Windows parity passes (gr2 BitKnit2/64-bit, GamePhase handlers, python modules)

- gr2: BitKnit2 decompression, 64-bit LE files, compressed curves
- net: remaining GamePhase handlers, generated GC packet table
- python: event/chat/chr/minimap/guild/quest/messenger/shop-search and
  other native modules ported against the AVA2 Windows client
- render: D3D8 fixed-function lighting in Gr2ModelRenderer, terrain
  without baked shade; cape/NPC equipment attachment
- tests + audits updated; docs/PORT-PLAN.md and WINDOWS-PARITY.md

Batch 4 (render pipeline: background.*, app.RenderGame/UpdateGame,
camera bindings, main.cpp fake-content removal) is still in progress.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-08 10:43:01 +09:00
co-authored by Claude Opus 5.5
parent 9f748eb05a
commit 9077aa389a
145 changed files with 22692 additions and 6584 deletions
+3 -2
View File
@@ -94,7 +94,8 @@ struct Mesh {
// ── 动画 ──────────────────────────────────────────────────────────────
// 曲线子类型:T7a 分类。Metin2 = Granny 2.4,全是 OldCurveType(granny_curve.cpp):
// {Int32 Degree; RefToArray Knots(Real32[]); RefToArray Controls(Real32[])}
// 无压缩变体。label 形如 "Old(d=2,dim=4)"。
// label 形如 "Old(d=2,dim=4)"。AVA2 = Granny 2.11 的 curve2 变体 label 是去掉
// "CurveDataHeader_" 的变体名(D4nK16uC15u、DaK32fC32f…),同样解到 Curve。
enum class CurveFormat { Keyframes32f, /* T7a 跑 fuzz 后补齐 */ Unknown };
// T7b:解出的曲线(B 样条:knots 时间轴 + controls 控制点,行优先 [knot][dim])
@@ -192,7 +193,7 @@ struct FileInfo {
// ── section 表(T1,gr2dump --sections 用)────────────────────────────
struct SectionInfo {
uint32_t compression; // 0=none 1/2=Oodle0/1 4=BitKnit
uint32_t compression; // 0=none 1/2=Oodle0/1 3=BitKnit 4=BitKnit2
uint32_t data_size; // 压缩后
uint32_t expanded_size; // 展开后
uint32_t pointer_fixup_count;