59 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
750 lines
45 KiB
Markdown
750 lines
45 KiB
Markdown
# Octo-sourced client compatibility
|
|
|
|
The target source is the user's installed
|
|
`/home/praxis/Games/octo/drive_c/Octowow/`, paired with the authorized local
|
|
Tortoise1.18.1 database. The older `/mnt/Games/Games/Octowow` copies are not the
|
|
selected source. No public realm or account connection is part of this work.
|
|
|
|
The local database is authoritative for tested gameplay. The user identifies it
|
|
as the Octo-compatible database; this is not independent verification of the
|
|
current public realm's configuration, authentication or content revision.
|
|
|
|
Latest package/checkpoint: see `DEVELOPMENT_BACKLOG.md` (canonical execution
|
|
state). Latest installed12596 adds one source permanent-duration correction and
|
|
22reviewed passive/effect links; all rows accepted, four source tooltips reviewed.
|
|
See `evidence/content-data/native-owned-static-passives-12596-20261018/report.json`.
|
|
Historical installed12573 adds12metadata pairs,14exact pair completions,
|
|
7reviewed passive links and a native Cenarion tabard parent. All rows accepted,
|
|
12actual API samples match; tabard visually renders in original dressing room.
|
|
See `evidence/content-data/native-owned-pairs-tabard-12573-20261018/report.json`.
|
|
Historical installed12519:20additional metadata pairs+8 native Might links;
|
|
all rows accepted and12actual original API samples match. See
|
|
`evidence/content-data/native-might-owned-12519-20261018/report.json`.
|
|
On2026-10-18 installed12471: complete Wrath/DPSWrath/Heroism metadata,
|
|
8 native DPSWrath appearance links and source-exact reviewed passive definitions/
|
|
links. All rows accepted; all8 actual original preview appearances visually
|
|
reviewed on Tauren male. Original equipped helm/pants render. See
|
|
`evidence/content-data/native-wrath-heroism-12471-20261018/report.json`.
|
|
Offline CASC texture extraction failures did not prevent actual engine rendering;
|
|
do not infer missing native assets from extraction failure alone. No replacement
|
|
models or schema changes. Source set bonuses/armor-penetration remain separately
|
|
incomplete; metadata/tooltip success does not prove gameplay effects.
|
|
|
|
Batch set selection extends the existing catalogue using `--source-sets ItemSet.dbc
|
|
--set-ids ...`, optionally `--source-artwork DIR`. `--set-metadata-first CATALOGUE`
|
|
stages supported pairs while preserving existing rows and deferring mechanics.
|
|
An unregistered native icon stays0 with a hash-verified source-artwork UI binding;
|
|
it never becomes an unrelated icon or saved process handle. Source roster/server
|
|
membership cross-checks report discrepancies. Optional `--classic-item-cache WDB`
|
|
reuses existing corroborated prefix-field checks to repair source name encoding
|
|
without changing stats/raw provenance. Missing source artwork blocks that item,
|
|
not the entire batch; changed or forged artifact hashes still fail closed.
|
|
|
|
Historical scalar checkpoint (2026-10-17): **1,072 records**, preserving the
|
|
61-record equipment package and adding1,011 source-backed scalar ItemSparse
|
|
definitions. Actual1185055 entered local Tortoise with the gateway stopped;
|
|
all1,072 original-handler validation results are valid. Five new item tooltips
|
|
and API name/requirement/stack/sell values were visually checked, plus the
|
|
existing shield. Health/rage/money remained5939/0/9701 at level60.
|
|
`evidence/content-data/native-scalar-item-batch/acceptance.json` records evidence
|
|
and limits. This is scalar metadata acceptance, not all-item gameplay, spell,
|
|
equipment-effect or asset/map conversion. Earlier61-row sections are history.
|
|
|
|
Reproduce this exact batch from its preserved baseline while the active client
|
|
is closed before any rebuild or deployment:
|
|
|
|
```sh
|
|
python3 ops/item_batch_stage.py \
|
|
--package recovery/native-item-cache-20261017-052925/package.json \
|
|
--output runtime/NEW-native-scalar-item-batch
|
|
```
|
|
|
|
The tool writes only a new runtime stage. It validates source chunks, candidate
|
|
digests, current target schemas and retained icon bytes; preserves existing rows;
|
|
and uses the same bounded multi-table native serializer. It refuses changed
|
|
inputs, duplicate records, unknown mechanics and unavailable assets. The active
|
|
generated registry/header is versioned; original CASC/schema/StartupFiles files
|
|
are unchanged. Coherent rollback preserves78 ADB files and six provider artifacts
|
|
under `recovery/native-item-cache-20261017-052925`. Close the private client first;
|
|
restore the matching package/header/codec and hash journals together with ADB.
|
|
The new pure Item-basic adapter is tested but not yet in the installed batch.
|
|
|
|
## What is being patched
|
|
|
|
There are separate dependencies, all preserving real server IDs:
|
|
|
|
| Data | Source | Forever destination / status |
|
|
|---|---|---|
|
|
| Item identity, requirements, prices, stats, charges and spell relationships | Local Tortoise item templates and genuine item-query responses | Native item/query cache already exists. A bounded build-time ItemSparse converter supplies reviewed records through the original authenticated DB2 reply handler; partial metadata only. |
|
|
| Item model, texture and icon definitions | Confirmed installed Octo client DBCs and archives | Read-only extraction and versioned source hashes implemented. Effective patch precedence and complete appearance conversion pending. |
|
|
| Spell/talent/race definitions | Effective Octo DBCs plus local server requirements | Existing Turtle extraction remains a reference. Do not silently replace it with an arbitrary Octo archive candidate. |
|
|
| Live ownership, equipment, counts, health and effects | Authenticated local Tortoise world packets | Existing native object manager/update pipeline; client definition patches grant no items or effects. |
|
|
|
|
Classic client DBCs do not contain a complete `item_template` database. Correct
|
|
names/stats and correct model assets therefore require both server and client
|
|
sources. An icon or a resolved name is not proof of gameplay/effect equivalence.
|
|
|
|
## Reproducible local extraction
|
|
|
|
`ops/octo_client_data.py` builds the local Tortoise libmpq C sources in
|
|
`gateway/build/octo-data`, without changing those sources or installing software.
|
|
Its ctypes signatures follow `dep/libmpq/libmpq/mpq.h`. The tool reads only an
|
|
allowlist of public DBC members from complete `.mpq` archives. `.mpq.part`,
|
|
account files, logs, WDB caches and launcher/login files are excluded. Output is
|
|
restricted to the gateway workspace, outside the source client.
|
|
|
|
```sh
|
|
python3 ops/octo_client_data.py --output runtime/octo-installed-data
|
|
python3 tests/item_sparse_compat_test.py
|
|
```
|
|
|
|
Full raw-ID differences and extracted tables remain in private runtime storage;
|
|
`docs/evidence/data/octo-installed-manifest.json` records compact counts, archive
|
|
and table SHA256s, row counts, schema widths and limitations. Each archive is
|
|
examined independently: alphabetical order is not asserted to be client load
|
|
order. Changing source archives during extraction fails the scan. The installed
|
|
legacy library builds with packed-member alignment warnings on this x86_64 host;
|
|
they are retained in `runtime/octo-installed-data-scan.log`.
|
|
|
|
Verified2026-10-16:19 complete archives yield88 DBC candidates. `patch-4.mpq`
|
|
Talent(476rows/21fields), TalentTab(27/15), Map(57/42) are byte-identical to
|
|
the installed extracted Turtle tables. Later Octo candidate Spell files differ:
|
|
`patch-5.mpq`28019rows/173fields,740 changed raw common rows and102 added IDs;
|
|
`patch-O.mpq`28019/173,807 changed raw common rows and102 added IDs. String-offset
|
|
changes are not necessarily semantic changes. These are **candidate**, not yet
|
|
effective loaded-table results. For shield display35576, all three containing
|
|
ItemDisplayInfo candidates agree on `Shield_Naxxramas_D_01.mdx`, texture
|
|
`Shield_Naxxramas_D_01` and icon `INV_Shield_26`.
|
|
|
|
An older `scripts/export_octo_models.py` outside the gateway actually reads
|
|
`TurtleWoW/dbc/CreatureModelData.dbc`; its Octo-labelled output is excluded as
|
|
Octo provenance. That script and the reference repositories remain untouched.
|
|
|
|
### Resolve existing candidate manifests without extracting again
|
|
|
|
The existing extractor also supports a pure **manifest-only dry run**:
|
|
|
|
```sh
|
|
python3 ops/octo_client_data.py \
|
|
--resolve-manifest runtime/octo-installed-data/manifest.json \
|
|
--output runtime/NEW-octo-source-resolution.json
|
|
```
|
|
|
|
This path does not scan archives, build libmpq, rehash files, convert records or
|
|
install content. It validates the supplied inventory's identities, schema bounds,
|
|
hash formats and safe paths. A single candidate remains unverified; identical
|
|
candidates mean agreement **within the scanned set**, not effective runtime data.
|
|
Different candidates stay blocked without verified selection evidence. Effective
|
|
Octo global patch precedence is still unknown; alphabetical presentation is never priority.
|
|
Executable/build/locale identity remains unknown where the scan omitted it.
|
|
|
|
Optional `--selection-evidence PATH.json` accepts schema1 evidence with
|
|
`verified: true`, the matching `source_installation`, and `scan_sha256` from the
|
|
resolver's canonical JSON fingerprint. `verification` must contain a supported
|
|
method (`runtime-file-load-trace`, `reviewed-client-loader-source`, or
|
|
`reviewed-client-loader-analysis`), a relative artifact path and its SHA256.
|
|
Supply either `selections` mapping table names to archive basenames, or a complete
|
|
`archive_load_order` plus explicit `winner: "first"` or `"last"`. Source/scan drift,
|
|
missing candidates, conflicting identity declarations and unsafe metadata block
|
|
selection or reject malformed evidence. Evidence declarations are retained
|
|
separately; this tool does not independently establish their truth.
|
|
|
|
The existing `--client` option is also the expected-source identity guard in
|
|
resolver mode. It defaults to the installed Octo directory above; a manifest from
|
|
another installation is refused unless that installation is explicitly selected.
|
|
Output must be a new runtime JSON file. Before staging, rehash the actual source
|
|
archives, extracted DBCs and verification artifact, validate their schemas and
|
|
client/locale association, and reject drift. Every report marks that physical
|
|
revalidation as required; manifest resolution alone is not installation readiness.
|
|
|
|
### Observed source content, without guessing archive order
|
|
|
|
`ops/octo_dbc_read_trace.py` observes natural reads in an independently copied,
|
|
credential-free Octo PE32 client. Only the exact reviewed executable and explicit
|
|
reviewed table/field-count pairs are accepted. It uses owned main-thread
|
|
hardware debug stops, verifies PE32 stack cleanup, handle generations and actual
|
|
read counts, rejects tracked seeks/async/unknown branches, then restores debug
|
|
registers and detaches. It injects no engine calls and writes no client code.
|
|
Wine's detached start.exe child is handled using process-local subreaping with
|
|
verified ancestry and PID lifetimes; no operating-system security policy changes.
|
|
|
|
Actual 2026-10-17 isolated startups supplied Talent 476x21 / 40,005 bytes and
|
|
TalentTab 27x15 / 3,568 bytes, matching installed patch-4 candidates. Full trace,
|
|
file hashes and typed-graph evidence:
|
|
`evidence/data/octo-natural-talent-content.json`. This identifies loaded file
|
|
content, **not** backing archive/global priority or later hooked modifications.
|
|
The executable's fixed PE version 1.12.1.5875 is recorded separately from custom
|
|
protocol/content identity. Both source copies are closed; originals are untouched.
|
|
|
|
Reproduce with the private workspace copy and fresh private prefix described by
|
|
`runtime/octo-loader-copy.json`; keep the whole observer and Wine child inside a
|
|
network namespace (no public authentication). Use a new output directory:
|
|
|
|
```sh
|
|
bwrap --unshare-net --ro-bind / / \
|
|
--bind "$PWD" "$PWD" --bind /tmp /tmp --dev-bind /dev /dev --proc /proc -- \
|
|
env XDG_CACHE_HOME="$PWD/runtime/octo-loader-prefix/cache" \
|
|
python3 ops/octo_dbc_read_trace.py \
|
|
--executable "$PWD/runtime/octo-loader-client/WoW.exe" \
|
|
--prefix "$PWD/runtime/octo-loader-prefix" \
|
|
--scan runtime/octo-loader-current-scan-20261017.json \
|
|
--table TalentTab --output runtime/NEW-natural-talenttab --timeout 180
|
|
|
|
python3 ops/octo_client_data.py \
|
|
--inventory-loaded-content runtime/NEW-natural-talenttab/observation.json \
|
|
--scan-manifest runtime/octo-loader-current-scan-20261017.json \
|
|
--captured-root runtime/NEW-natural-talenttab \
|
|
--loader-analysis docs/evidence/data/octo-loader-static.json \
|
|
--output runtime/NEW-observed-talenttab-inventory.json
|
|
```
|
|
|
|
The pure validator rechecks supplied trace/capture bytes; it explicitly does not
|
|
claim to reproduce execution. `--validate-loaded-content` produces validation
|
|
only; `--inventory-loaded-content` additionally reuses the existing typed DBC
|
|
inventory/dependency graph. Compatible pinned observation contexts can supplement
|
|
one another; unobserved candidate tables never fill missing links. The actual
|
|
joined Talent/TalentTab graph has 503 records / 1,928 links but still lacks 1,347
|
|
Spell IDs, 26 SpellIcon IDs and verification of 27 named background assets.
|
|
No table has been converted, installed or proved loaded by Forever in this step.
|
|
The shared MPQ fill boundary has since passed actual controls against both
|
|
independent per-read captures: Talent 10 fills / 146 stops / 2.464s and TalentTab
|
|
one fill / 137 stops / 2.424s. Separate original code/ownership contracts:
|
|
`evidence/data/octo-file-block-static.json`; actual proof:
|
|
`evidence/data/octo-block-content-controls.json`. First/final natural read returns
|
|
are checked; every intermediate parser/CRC result is explicitly unverified.
|
|
These are diagnostic capture timings, not gameplay performance measurements.
|
|
|
|
Isolated larger captures then supplied Spell 28,019x173 / 28,015,986 bytes matching
|
|
patch-O and ItemDisplayInfo 45,254x23 / 4,823,964 bytes matching patch-5. See
|
|
`evidence/content-data/octo-observed-spell-item-display.json`. Typed ItemDisplayInfo
|
|
dependencies now include independent raw model/texture/icon names and reviewed
|
|
SpellVisual/ItemVisuals links, keeping path resolution and availability unknown.
|
|
|
|
The original launcher reference, started on user request, loads five additional
|
|
DLLs not observed in those isolated starts. Public packaged launcher source
|
|
confirms VanillaFixes and absolute dlls.txt.cache preparation; direct WoW.exe
|
|
startup explicitly warns mods will not load. The earlier recipe/captures are
|
|
therefore isolated controls, **not yet a launcher-equivalent source environment**.
|
|
Use the official launcher for behavioral/addon reference. The original client is
|
|
left at its saved-account screen; development tools did not select an account,
|
|
read stored credentials or submit login. No launcher modification was performed.
|
|
`evidence/data/octo-launcher-module-contract.json` pins exact public code anchors.
|
|
Its custom executable/wrapper environment options are source-confirmed, but
|
|
64-bit Forever compatibility with its legacy loader remains unproved. The
|
|
updater still has legacy patch/config operations; do not casually repoint it at
|
|
Forever. Repeat isolated content checks with the unmodified official loader and
|
|
private module manifest before accepting launcher-environment equivalence.
|
|
|
|
The first such control exposed a real module boundary: transmogfix.dll replaces
|
|
the first six SFileReadFile648460 bytes with E9/NOP, targeting its pinned RVA18dd.
|
|
The observer rejected that changed contract, restored registers and accepted no
|
|
capture. Unrelated module file calls are now filtered before selected-file caller
|
|
validation, without weakening selected/tracked contracts. Bounded diagnostics
|
|
record only reviewed code bytes, hashes and module-relative addresses.
|
|
`evidence/data/octo-launcher-read-hook-blocker.json`. Do not disable this hook or
|
|
reuse pre-hook fill bytes as final parser data until its ABI and effects are
|
|
understood. The credential-free isolated rejected client was stopped separately;
|
|
the original launcher-started client remains uninstrumented.
|
|
|
|
### Source-version Spell semantic comparison
|
|
|
|
`ops/spell_content_compare.py` consumes the validated observed Spell inventory and
|
|
matching capture, with explicit baseline role/locale and SHA256/DBD pins. It reuses
|
|
the existing 173-column disk schema, compares numeric fields as exact bits,
|
|
resolves all eight localized strings, and separates localization flags and raw
|
|
string-offset movement. Unchanged offsets with changed text are still detected.
|
|
|
|
Actual isolated Octo versus installed Turtle: 102 added IDs, zero removed, 807
|
|
changed common records and 24 localized-text changes; zero relocation-only rows.
|
|
Most changes include Totem, with smaller Speed, SpellVisual and effect/text deltas.
|
|
`evidence/content-data/octo-spell-semantic-comparison.json`. The local server may
|
|
apply separate overrides; this is not equality with current public server rules
|
|
or destination spell semantics. No definitions were installed or spells granted.
|
|
|
|
## Whole-source item metadata preflight
|
|
|
|
The existing preflight now accepts a completed source snapshot, keeping the
|
|
legacy small `--source` mode unchanged. It validates every snapshot chunk and
|
|
source identity, indexes bounded full destination exports once, and reuses the
|
|
existing checked converter/encoder. It does not choose an Octo archive winner
|
|
or install records.
|
|
|
|
```sh
|
|
python3 ops/item_package_preflight.py \
|
|
--source-snapshot runtime/all-item-templates-20261017 \
|
|
--basic runtime/target-70334-all-item-basic-20261017.json \
|
|
--native runtime/target-70334-all-item-sparse-baseline-20261017.json \
|
|
--points runtime/target-70334-all-item-budgets-20261017.json \
|
|
--reviewed-source docs/evidence/data/item-sparse-compat/equipped-set/tortoise-equipped.json \
|
|
--package docs/evidence/data/item-sparse-compat/package.json \
|
|
--output runtime/NEW-all-item-preflight.json
|
|
```
|
|
|
|
First preflight, 2026-10-17:26,544 stored rows retain the unusable zero sentinel explicitly;
|
|
26,543 positive IDs were classified against31,847 accessible Item rows,19,248
|
|
ItemSparse baselines and300 budget rows. **9,617 pass the existing metadata
|
|
encoder;16,926 remain blocked.** Two full runs produced byte-identical output,
|
|
SHA256 `e904c7e7e9bebd5deb3e4a58f4c65429bc21d0755ffe9b4f143b1618504a65bf`.
|
|
After the shared BagFamily correction `36aa161`, the current result is
|
|
**9,611 encodable / 16,932 blocked**, including explicit rejection of unsupported
|
|
Turtle-only bag families. Two new full runs are byte-identical, SHA256
|
|
`d00c0adf870e75cc4cdeee661b6efc5e306994b119f197249eedf7136a6a4b6b`.
|
|
Compact proof, input hashes and prior-result history:
|
|
`evidence/content-data/all-item-metadata-preflight.json`.
|
|
|
|
Main blockers overlap:8,841 missing accessible same-ID Item definitions,4,477
|
|
unreviewed nonzero flags,2,050 basic-definition conflicts,1,273 missing budget
|
|
levels and936 incomplete weapon baselines. All437 negative-encoding failures
|
|
were traced to Material=-1, not race/class masks. Target same-ID materials differ,
|
|
so no blanket unsigned mask or native-field substitution was introduced; see
|
|
`evidence/data/item-material-sentinel-preflight.json`.
|
|
|
|
Passing metadata encoding is not dependency completeness. Spell/item-set effects,
|
|
armor/damage semantics and source icon/model/texture identity still require their
|
|
own reviewed conversions and actual-client checks. The active package remains61
|
|
records covering12 item IDs. No additional records were installed or loaded by
|
|
Forever. Missing rows in accessible exports are not proof that encrypted/copy
|
|
sections contain no definition. Source local Tortoise data is not silently treated
|
|
as a verified live Octo database snapshot.
|
|
|
|
The separate complete-column reference export now has all 17 `Item` columns for
|
|
31,847 accessible rows (`runtime/target-70334-all-item-complete-20261017.json`).
|
|
This supports reviewing a future basic-definition adapter; it does not authorize
|
|
blindly copying source enums. A strict read of installed CASC FileDataID 841626
|
|
reported product `wow_classic_beta`, build 70334, then refused encryption after
|
|
301,884 bytes because the required key was absent. Zero files were written and
|
|
no keys were read or guessed. The export therefore remains explicitly a pinned
|
|
reference, without a newly established whole installed-table equality claim.
|
|
Evidence: `evidence/data/item-complete-reference-baseline.json` and
|
|
`evidence/data/item-basic-conflict-preflight.json`.
|
|
|
|
### Blocked scalar metadata candidate
|
|
|
|
The same preflight tool can select a reproducible bounded candidate without
|
|
producing installable records. Use the full command above with the current full
|
|
report plus `--stage-candidate --preflight runtime/all-item-metadata-preflight-bag-families-20261017.json`
|
|
and a new output. Every one of 130 source columns has an explicit policy; source
|
|
spells, equipment, scripts and unreviewed references remain excluded. SQL NULL
|
|
and empty script names both mean ScriptId0 in the pinned server. The unused
|
|
OtherTeamEntry SQL default1 is accepted only under its exact reviewed source
|
|
revision, without creating a native field or suppressing nondefault values.
|
|
|
|
Actual current policy2 selects **1,032 scalar item IDs**, combining with the
|
|
existing package to 1,093 rows / 366,897 neutral hotfix bytes, within existing
|
|
bounds. `evidence/content-data/blocked-scalar-item-candidate.json`. Output is
|
|
always BLOCKED_NOT_INSTALLABLE, with no wire_hex/row payloads/header. Effective
|
|
Octo icon/appearance identity and fresh engine acceptance remain required.
|
|
The preliminary 1,151-ID filter and the first zero-selection strict policy are
|
|
historical, not the current accepted batch. No candidate was installed.
|
|
|
|
`ops/item_icon_preflight.py` consumes this blocked candidate plus the validated
|
|
observed ItemDisplayInfo inventory/capture, then streams the local listfile once.
|
|
It keeps source item IDs, source display IDs and destination resource IDs distinct.
|
|
Exact path/stem matches and ambiguous alternatives are retained without fuzzy
|
|
name mapping or automatic replacement. Actual 1,032-row preflight finds 1,011
|
|
stem agreements with unverified extensions and 21 conflicts. Ten conflicts have
|
|
an exact-name candidate resource; eleven source-custom icon tokens have none in
|
|
the listfile. `evidence/content-data/scalar-item-icon-preflight.json`.
|
|
|
|
Strict local70334 CASC extraction of all 491 matching references yields490 files,
|
|
2,361,280bytes, all BLP2.2241756 is absent (candidate item20865); no fallback was
|
|
substituted. `evidence/content-data/item-icon-casc-availability.json`. Available
|
|
target bytes do not establish source artwork equivalence or successful engine
|
|
rendering. No icon override or batch was installed.
|
|
|
|
The missing-source-icon inventory reuses the existing cached MPQ reader:
|
|
|
|
```sh
|
|
python3 ops/octo_icon_assets.py \
|
|
--icon-report runtime/scalar-item-icon-resource-references-20261017.json \
|
|
--client runtime/octo-loader-client \
|
|
--output runtime/NEW-source-icon-assets
|
|
```
|
|
|
|
It derives names from the report and checks every bounded public archive and
|
|
candidate extension independently. The actual run found ten 64x64 BLP2 candidates
|
|
in patch-4, totaling30,968bytes; `inv_misc_shortblade_21` remains absent from all19
|
|
archives. Seven fake-API tests cover bounds, drift and exclusive publication.
|
|
`evidence/content-data/source-custom-icon-assets.json` pins the full private
|
|
manifest. These are retained source candidates, without an archive/extension
|
|
winner, complete image validation, conversion, installation or engine acceptance.
|
|
|
|
`bag_family_mask` now converts genuine source category values to reviewed native
|
|
mask bits. For example, source Herbs6 becomes 0x20, not native Bullet|SoulShard6;
|
|
source Leather12 becomes 0x8. Unknown4/5 and Turtle Meat10/Fish11 fail closed
|
|
rather than becoming unrelated modern cooking/tackle categories. Exact source
|
|
references, distribution and regression limits are in
|
|
`evidence/data/item-bag-family-adapter.json`. Specialized-bag real-client tests
|
|
remain pending; the current 61-row package is unchanged.
|
|
|
|
## ItemSparse conversion and rollback
|
|
|
|
`ops/item_sparse_compat.py` uses the actual70334 ItemSparse DBD layout6FCC3191,
|
|
table919BE54E and the pinned source `DB2StorageBase::WriteRecord` field order.
|
|
`src/forever_create.cpp` reuses the original `Hotfix::DBReply::Write` serializer.
|
|
Mode24 retains its historical `native-db-reply-missing` ABI name; reviewed known
|
|
rows return Valid, all unknown tables/IDs remain explicitly Invalid. The native
|
|
registry still requires genuine authenticated world transport. No schema
|
|
validation, build identity or StartupFiles data is changed. Mode27 additionally
|
|
uses the original AvailableHotfixes/HotfixConnect writers and authenticated
|
|
CMSG_HOTFIX_REQUEST440011 ->SMSG_HOTFIX_CONNECT4B0003 lifecycle. A content-derived
|
|
positive push ID changes when the reviewed records change; item IDs do not.
|
|
|
|
```sh
|
|
python3 ops/item_sparse_compat.py \
|
|
--source docs/evidence/data/item-sparse-compat/tortoise-selected.json \
|
|
--basic docs/evidence/data/item-sparse-compat/forever-basic.json \
|
|
--points docs/evidence/data/item-sparse-compat/forever-budgets.json \
|
|
--native-sparse docs/evidence/data/item-sparse-compat/forever-original-sparse.json \
|
|
--armor-profile docs/evidence/data/item-sparse-compat/armor-profile.json \
|
|
--effects-profile docs/evidence/data/item-sparse-compat/effect-profile.json \
|
|
--header include/gateway/item_sparse_compat.hpp \
|
|
--report docs/evidence/data/item-sparse-compat/package.json
|
|
```
|
|
|
|
The converter rejects basic-ID/class collisions, unreviewed legacy flags,
|
|
unsupported stat mappings, duplicate IDs and invalid bounds. Stats are encoded
|
|
using the destination's source-derived RandPropPoints formula, not copied into
|
|
unrelated modern fields. The current package contains19019,22418,23043, with
|
|
authentic database requirements, basic attributes, prices and uniqueness.
|
|
Existing weapons preserve same-ID native DmgVariance/QualityModifier; new weapons
|
|
without that baseline fail rather than silently flatten damage. This corrected
|
|
an actual117..118 tooltip regression and restored44..115 matching Tortoise.
|
|
It is not full item conversion: additional16..30Nature damage and Fire8/Nature9
|
|
resistance presentation on Thunderfury remain absent. Shield armor3494 on
|
|
Tortoise versus destination3354 and equip-effect relationships remain unresolved;
|
|
block66 does match. No arbitrary item-level adjustment is used to hide this.
|
|
|
|
Actual native559830, gateway stopped: genuine fresh push produced1request /
|
|
1reply, client70334/data61631, request16bytes/reply1071bytes/result0. The original
|
|
engine's Hotfix.log marks all3 records VALIDATION_RESULT_VALID. Original item
|
|
APIs show real database requiredLevel0 for TF/helmet; Unique/44..115/+5Agility/
|
|
+8Stamina/1.9speed/125durability verified in the normal UI. Shield23043 persisted
|
|
through normal client restarts. Full58/58 passed30.52s before deployment.
|
|
|
|
```sh
|
|
python3 ops/item_hotfix_report.py --output runtime/item-hotfix-validation.json
|
|
python3 ops/item_template_snapshot.py \
|
|
--ids 19019,22418,23043 --output runtime/NEW-item-templates.json
|
|
```
|
|
|
|
The snapshot tool reads complete public local item rows, with HEX(JSON_OBJECT)
|
|
to preserve SQL batch escaping. Existing output is never overwritten. Native
|
|
hotfix counters and strict log reporting contain no authentication data. Zero
|
|
requests for an unchanged revision are not evidence of a broken handler: the
|
|
actual callback14064b370 skips cache entries already marked applied. Fresh
|
|
content revisions demonstrated genuine requests. HotfixEventLog was queried0
|
|
in the console; ordinary Hotfix.log still recorded the validation results.
|
|
|
|
Important source limitation: these WDC5 files include sections with nonzero
|
|
key identifiers and copy records. Missing accessible exported rows are not proof
|
|
that no encoded record exists anywhere in the running client. No keys are read,
|
|
guessed or exported. The actual retrieving failure, UI values and validation
|
|
logs establish the tested behavior. See native-item-hotfix/source-section-provenance.json.
|
|
|
|
Original client binaries and data files are untouched. Deployment uses the
|
|
existing private-prefix native-host journal. Close the experimental client
|
|
before rebuilding mapped libraries. To remove this provider, restore the
|
|
previous source-code checkpoint and rebuild/reprepare while closed; the native
|
|
host also retains `python3 ops/native_pe_bridge.py restore` for its documented
|
|
private dependency rollback. Library rollback alone does not undo the private
|
|
client's hotfix cache: preserve coherent Cache/ADB data while the client is
|
|
closed, or publish the reviewed same-ID baseline data as a new corrective
|
|
package. Original CASC/client files remain unchanged. Do not delete caches or
|
|
change schemas blindly.
|
|
|
|
## Future maps and assets
|
|
|
|
Octo can be the source for future assets. Importing is not yet implemented or
|
|
verified. First identify actual differences; reuse compatible Forever assets
|
|
where they represent the same content correctly. Preserve source map, area,
|
|
display and gameplay IDs, using explicit internal resource references where
|
|
Forever requires FileDataIDs instead of archive paths.
|
|
|
|
An asset package must cover model/skin/animation versions, materials/textures,
|
|
item display/geoset relationships, WDT/ADT terrain and placements, WMO interiors,
|
|
map/area/liquid data and all referenced resources. Similar filenames or version
|
|
numbers alone do not establish engine compatibility. Server collision and
|
|
movement remain server-authoritative; a rendered map does not prove gameplay.
|
|
|
|
Next bounded acceptance is one identified item model/texture dependency chain,
|
|
then one map tile if conversion is actually needed. Validate on a disposable
|
|
Forever copy, compare placement/collision and real server position, and package
|
|
only reproducible deltas with source/target hashes and rollback manifests. Do
|
|
not copy Octo MPQs over Forever CASC or replace startup/build metadata. No map
|
|
import or public Octo compatibility is claimed by the current metadata work.
|
|
|
|
## Three-table passive/resistance package
|
|
|
|
Actual567021:11records across three native tables accepted/VALIDATED;59/59
|
|
regressions passed30.46s. Native tooltips show genuine Helmet dodge1%/defense14,
|
|
shield block3%/block-value21, TF Fire8/Nature9 resistances plus retained physical
|
|
44..115/Unique/proc text. Sources/evidence:gameplay/native-item-passive-data.
|
|
This supersedes the earlier resistance/effect-text gaps for these items only.
|
|
Shield3354base+140extra totals3494 but representation is still different;
|
|
additional16..30Nature weapon damage, passive gameplay/procs/sets/all-items remain
|
|
unverified. Do not equate item hotfix validation with actual spell execution.
|
|
|
|
`ops/item_effect_compat.py` builds native24-byte ItemEffect and8-byte
|
|
ItemXItemEffect rows. Source DBD layouts4CA77678/96F083AD and parent relation are
|
|
verified. New passive spell IDs remain13669/21410/21475/28112; target-only row
|
|
IDs use a versioned registry above native file bounds. New proc/use/charged/
|
|
conditional cases, conflicting existing effects, missing spell names, stale
|
|
owned rows and future ID collisions fail for review. Existing TF21992 remains.
|
|
|
|
```sh
|
|
python3 ops/item_effect_compat.py \
|
|
--source docs/evidence/data/item-sparse-compat/tortoise-selected.json \
|
|
--effects docs/evidence/data/item-sparse-compat/native-existing-effects.json \
|
|
--links docs/evidence/data/item-sparse-compat/native-existing-effect-links.json \
|
|
--names docs/evidence/data/item-sparse-compat/native-effect-spell-names.json \
|
|
--registry docs/evidence/data/item-sparse-compat/effect-row-registry.json \
|
|
--output docs/evidence/data/item-sparse-compat/effect-profile.json
|
|
```
|
|
|
|
The compact native baseline contains every accessible existing effect/link for
|
|
the selected item set. Full source DB2 table hashes/maxima are retained; missing
|
|
encoded sections are not assumed nonexistent. Original native data represented
|
|
some Classic equip effects as item stats. The converter does not keep those
|
|
rating fields alongside genuine passive links. Six resistance fields are mapped
|
|
by verified native school-stat identities, failing if ten stat slots overflow.
|
|
|
|
Before another package change, close the private client and run
|
|
`python3 ops/native_data_cache.py`. Verified cache backup:
|
|
recovery/native-item-cache-20261016-094004. No original installation data changed.
|
|
Hotfix.log can be buffered until world entry; validate afterward with --wait.
|
|
|
|
## Uniform source-backed shield armor
|
|
|
|
Actual573908 accepted12/12 rows and shows3494baseArmor on Face of Death, no
|
|
duplicate140bonus; block66 and genuine equip effects retained. Full60/60 passed
|
|
30.50s. See evidence/gameplay/native-item-armor. This supersedes the earlier
|
|
3354base+140representation. TF additional16..30Nature damage remains absent.
|
|
|
|
```sh
|
|
python3 ops/item_armor_compat.py generate \
|
|
--source docs/evidence/data/item-sparse-compat/tortoise-selected.json \
|
|
--groups docs/evidence/data/item-sparse-compat/server-shield-armor-groups.json \
|
|
--native docs/evidence/data/item-sparse-compat/forever-shield-armor.json \
|
|
--output docs/evidence/data/item-sparse-compat/armor-profile.json
|
|
```
|
|
|
|
Regenerate this profile before the combined ItemSparse command above. It checks
|
|
the complete local DB shield bucket before altering a native curve: only selected
|
|
uniform values allowed, other quality columns preserved, no item-level spoofing.
|
|
New source snapshots can be captured read-only with `ops/item_armor_compat.py
|
|
snapshot --output runtime/NEW-shield-groups.json`, then reviewed/versioned.
|
|
Schema/table/source hashes pinned. Mixed/stale/truncated groups fail rather than
|
|
affect unrelated shields. This is not a general armor/weapon converter.
|
|
|
|
Verified launcher location, read-only discovery:
|
|
`/home/praxis/Games/octo/drive_c/users/steamuser/AppData/Local/Programs/OctoLauncher/OctoLauncher.exe`.
|
|
Launcher unmodified/unlaunched; public server/config compatibility unverified.
|
|
Coherent prior11-row cache/package preserved at
|
|
recovery/native-item-cache-20261016-101959; package SHA saved with cache manifest.
|
|
|
|
## Source drift and wider item coverage preflight
|
|
|
|
The database reference is the installed local Tortoise1.18.1 database, as
|
|
clarified by the user. The installed Octo directory remains the client-data
|
|
reference; the official launcher is untouched. Neither statement independently
|
|
proves a public realm's current configuration.
|
|
|
|
Reuse `item_template_snapshot.py`; it now supports `--compare OLD.json` to
|
|
publish semantic added/removed/changed-field evidence alongside the new snapshot.
|
|
It validates direct-call IDs and preserves existing snapshot manifests too.
|
|
SQL HEX(JSON_OBJECT) continues preserving literal strings. Equal numeric JSON
|
|
formatting is not a data change; field absence differs from null.
|
|
|
|
```sh
|
|
python3 ops/item_template_snapshot.py --ids 19019,22418,23043 \
|
|
--output runtime/NEW-source.json \
|
|
--compare docs/evidence/data/item-sparse-compat/tortoise-selected.json
|
|
python3 ops/item_package_preflight.py \
|
|
--source runtime/octo-local-equipped-items.json \
|
|
--basic runtime/octo-current-basic.json \
|
|
--points runtime/octo-current-budgets.json \
|
|
--native runtime/octo-current-native-sparse.json \
|
|
--reviewed-source docs/evidence/data/item-sparse-compat/tortoise-selected.json \
|
|
--package docs/evidence/data/item-sparse-compat/package.json \
|
|
--output runtime/NEW-item-preflight.json
|
|
```
|
|
|
|
Read-only verification2026-10-16:21 actual character item templates,21 accessible
|
|
same-ID native basic rows,20 accessible sparse rows,9 level-budget rows. All3
|
|
reviewed source records are unchanged.17 metadata records encode,3 are covered
|
|
by the current deployed package. `source-coverage-preflight.json` records hashes,
|
|
real IDs and per-record remaining requirements. No new package was installed.
|
|
|
|
Four metadata blockers remain explicit: source40 miscellaneous armor versus
|
|
native mail; source117/159 generic consumables versus native food/drink; source
|
|
6948 flag64 lacks a reviewed semantic conversion. These are classification/flag
|
|
representation questions, not permission to substitute item IDs or disable
|
|
validation. Encodable T3 records still need genuine spell links, set/armor data
|
|
and Octo appearance verification; encoding metadata does not prove those effects.
|
|
A missing accessible23043 sparse row is the previously investigated cache/hotfix
|
|
case, not a new claim that all encoded client sections lack it.
|
|
|
|
The new tests cover semantic comparison, source identity ambiguity, preserving
|
|
existing sidecars, rejected conversion and explicit non-gameplay claim boundaries.
|
|
Focused5 item/effect/armor/opcode tests passed. Original client, server rules,
|
|
character inventory and already accepted hotfix revision remain unchanged.
|
|
|
|
## Current equipped-set package and actual-client results
|
|
|
|
The source snapshot now covers all12 actual equipped entries, including the
|
|
original shirt,8 Tier3 armor pieces,ring,Thunderfury and The Face of Death.
|
|
The whole package is source-driven; no character GUID or individual item rule
|
|
was added to the converter. Original server item/spell IDs remain unchanged.
|
|
|
|
The existing DB2 exporter accepts `--where=ItemID:ID,ID,...` to extract genuine
|
|
relation rows without dumping entire tables. It requires bounded integer scalar
|
|
values, rejects invalid filters, preserves existing output and returns controlled
|
|
errors. Its source hash is checked in tests. Actual exports found the existing
|
|
Thunderfury proc relationship and15 relevant spell names. Genuine new passive
|
|
links use24 native effect and24 relation rows; the four previous internal row
|
|
identities remain stable. Internal allocation is above complete native table
|
|
maxima, not a remapping of item/spell IDs.
|
|
|
|
Reproduce the active package (this writes versioned generated outputs; close the
|
|
private game client before rebuilding/deploying, preserve coherent cache first):
|
|
|
|
```sh
|
|
python3 ops/item_sparse_compat.py \
|
|
--source docs/evidence/data/item-sparse-compat/equipped-set/tortoise-equipped.json \
|
|
--basic docs/evidence/data/item-sparse-compat/equipped-set/forever-basic.json \
|
|
--points docs/evidence/data/item-sparse-compat/equipped-set/forever-budgets.json \
|
|
--native-sparse docs/evidence/data/item-sparse-compat/equipped-set/forever-original-sparse.json \
|
|
--effects-profile docs/evidence/data/item-sparse-compat/equipped-set/effect-profile.json \
|
|
--armor-profile docs/evidence/data/item-sparse-compat/equipped-set/armor-profile.json \
|
|
--header include/gateway/item_sparse_compat.hpp \
|
|
--report docs/evidence/data/item-sparse-compat/package.json
|
|
```
|
|
|
|
Active push906169296:12ItemSparse+24ItemEffect+24ItemXItemEffect+1ItemArmorShield,
|
|
all61 original-handler validation results valid. `source-equipped-item-package`
|
|
regenerates every metadata/passive/link record and checks unchanged old internal
|
|
IDs. Full combined67/67 passed44.69s; final relevant8/8 passed2.23s.
|
|
|
|
Actual781912/gateway stopped: all12 original equipped tooltips captured/reviewed.
|
|
The chest preserved source1027armor/+21Strength/+43Stamina and equip-effect text,
|
|
while now displaying genuine Warrior restriction and source requiredLevel0.
|
|
AllT3armor/stamina/strength/requirement lines reviewed; ring retains required60,
|
|
shield3494/66block/21stamina and TFUnique/resistances remain. This fixes a real
|
|
incorrect requirement, not a spoofed character level. Existing set9/9 listing
|
|
was retained but all set/proc gameplay has not been validated. Secondary16..30
|
|
Nature weapon damage still lacks a separate tooltip band.
|
|
|
|
`ops/native_equipment_review.py --character 4509 --output runtime/NEW-directory`
|
|
uses only original read-only inventory tooltip APIs, captures exact equipped IDs
|
|
and server values, and requires manual/agent image review. It reports no automatic
|
|
item-correctness verdict. Actual12-item cycle217.844s includes typing/capture,
|
|
not Codex reasoning or a claimed general latency benchmark. Full originals are
|
|
preserved inruntime; reviewed source values/image hashes and representative full
|
|
screenshots are versioned in evidence/gameplay/native-equipped-set.
|
|
|
|
An actual original-UI gloves swap proved the source inventory/health path still
|
|
works:5859 ->5589, then original gear restored. Normal source regeneration had
|
|
already reached5625 before controlled legitimate GM healing restored5859.
|
|
All inventory and9701money restored; no SQL grants/stats/positions/talents changed.
|
|
This is equipment/state regression evidence, not every passive/proc effect test.
|
|
|
|
Coherent rollback: recovery/native-item-cache-20261016-171703 contains70 verified
|
|
old cache files and the prior12-row package. Stop private WowB normally, preserve
|
|
the new cache, restore matching old generated header/package/registry from7e6ecbe
|
|
and the entire saved ADB, then rebuild codec/native host. Keep independent6b78616
|
|
nonvisual-object/readiness fix. Never restore only a library against newer cache,
|
|
modify original clients/CASC/StartupFiles, or reset character progression.
|
|
|
|
The active coverage preflight is now12 covered of21 source inventory definitions;
|
|
17 encode as metadata, four classification/flag cases remain blocked. The earlier
|
|
3-covered preflight is preserved in Git7e6ecbe. Full spells, item sets, assets,
|
|
all-item coverage and future Octo patch precedence remain separate requirements.
|
|
|
|
### Complete local item-template inventory
|
|
|
|
The existing public snapshot tool now supports the complete stored inventory:
|
|
|
|
```sh
|
|
python3 ops/item_template_snapshot.py --all --chunk-size 512 \
|
|
--output runtime/NEW-all-item-templates
|
|
```
|
|
|
|
It preserves source ordering, all columns/DDL, local source Git HEAD and public
|
|
database provenance in deterministic chunks. Every full row is re-read and
|
|
compared, followed by inventory/schema/provenance/revision verification before
|
|
the final manifest is published. Failures preserve staging without a final
|
|
manifest. MyISAM/separate-query reads are explicitly not a transactional snapshot;
|
|
concurrent transient edits, source-worktree changes and running-binary revision
|
|
are not independently ruled out. Existing bounded `--ids`/`--compare` is unchanged.
|
|
|
|
Actual local2026-10-17:26,544 stored rows,52chunks,79,891,025 bytes;26,543 positive
|
|
identities plus the retained/blocked empty sentinel0. Both content passes matched.
|
|
Evidence `evidence/data/local-full-item-inventory.json`; full private input under
|
|
`runtime/all-item-templates-20261017/`. These are template inputs, not proof of
|
|
effective server query fallback values, converted definitions, engine loading,
|
|
assets or gameplay. The finished client receives normal server queries/updates;
|
|
no runtime SQL provider is introduced.
|
|
|
|
### Typed dependency inventory
|
|
|
|
Reuse `turtle_data.py` for one extracted candidate:
|
|
|
|
```sh
|
|
python3 ops/turtle_data.py \
|
|
--inventory-candidate runtime/octo-installed-data/patch-4.mpq/Talent.dbc \
|
|
--table Talent --provenance candidate-unverified \
|
|
--output runtime/NEW-talent-inventory.json
|
|
```
|
|
|
|
`inventory_table` retains the candidate hash, raw rows/row hashes, reviewed
|
|
shape, typed source IDs and explicit references. `item_references` consumes
|
|
existing complete public item snapshots without DB access. `dependency_closure`
|
|
reports declared missing links and iterative cycle components; source datasets
|
|
and alternative candidates cannot be silently mixed. All nine client talent
|
|
rank slots/three prerequisite pairs are preserved, with pinned-server usage
|
|
labelled separately. Enchant argument types1/3 reference spells; school/stat
|
|
ordinals are not spell IDs. Signed reagent sentinels and effect-dependent opaque
|
|
values remain explicit. Unknown layouts are retained raw and blocked.
|
|
|
|
Actual candidate476Talent rows yield1,901 declared links; evidence
|
|
`evidence/data/octo-talent-dependency-inventory.json`. Effective archive priority,
|
|
assets, destination conversion/loading and gameplay remain unverified by this
|
|
analysis. Named assets are not proof of availability. Existing gameplay packages
|
|
and the original talent UI requirement are unchanged.
|
|
|
|
### Batch existing extracted candidates
|
|
|
|
```sh
|
|
python3 ops/octo_client_data.py \
|
|
--inventory-manifest runtime/octo-installed-data/manifest.json \
|
|
--extracted-root runtime/octo-installed-data \
|
|
--output runtime/NEW-candidate-dependency-batch
|
|
```
|
|
|
|
This joins the existing extractor/resolver to the typed inventory for every
|
|
candidate independently. Extracted bytes/schema/counts, scan and converter
|
|
inputs, staged/published reports are rehashed before publication. A newly
|
|
appearing output directory is not success: only its final `manifest.json`
|
|
marks completion. Exclusive hard links publish verified files without replacing
|
|
existing outputs; staging is retained, with shared bytes on success. Inspect
|
|
failed directories without a completion manifest and retry under a new name.
|
|
|
|
Actual88candidates produced366,487 repeated-source rows,575,047 declared links
|
|
and6,201 asset references.58layouts reviewed/30blocked; this is not a unique
|
|
effective-content count. A second actual run produced byte-identical manifest
|
|
and all88candidate reports. Six focused regressions pass0.15s. Evidence
|
|
`evidence/data/octo-dependency-batch.json`. This command is an analysis stage,
|
|
not the full extract→convert→install implementation. No new definitions have
|
|
been converted, installed or verified engine-loaded.
|
|
|
|
Static installed-Octo loader evidence is pinned separately in
|
|
`evidence/data/octo-loader-static.json`: built-in archive enumeration/sort/open
|
|
order and natural named-file/read boundaries were inspected without execution.
|
|
The built-in archive list differs from the broad extraction scan (backup/base
|
|
archives are not in that list). Final runtime lookup priority, optional hooks,
|
|
locale and actual loaded table bytes still require observation. Do not turn
|
|
predicted open order into an effective-table policy. PE32 observation requires
|
|
verified32bit stack/return contracts; the70334/WowB64observer cannot be reused
|
|
unchanged. No inferred function is called by this analysis.
|