59 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
105 lines
5.4 KiB
Markdown
105 lines
5.4 KiB
Markdown
# Forever70334 StartupFiles startup recovery
|
|
|
|
2026-10-15. The failed experimental copy reported `ERROR #134`,
|
|
`Invalid schema WOWSTATIC_12_0_1_65617 for Table StartupFiles`, at
|
|
`WowClientDB2.cpp:1558`. Its executable and loader were byte-identical to the
|
|
working installed client. The earlier native backend experiment had the same
|
|
startup failure after its backend thread completed: it never proved usable
|
|
engine startup or world entry.
|
|
|
|
## Cause and evidence
|
|
|
|
The original `ops/native_local_test.py::prepare` copied only the two PE files,
|
|
`.build.info`, and a configuration, then linked its Data directory to the
|
|
original installation. It omitted `_classic_beta_/.flavor.info`, `.product.db`,
|
|
`Launcher.db`, other sidecars, and installed runtime metadata. This was an
|
|
incomplete installation, not a converted Turtle DB2 or executable patch.
|
|
|
|
The original flavor selector is41 bytes and names `wow_classic_beta`. The
|
|
bad copy's log selected a different product/schema. Restoring the selector
|
|
changed its version request to `wow_classic_beta`, confirming product-selection
|
|
relevance. That alone was not a complete repair: a read-only shared-CASC trial
|
|
then failed its required writable bookkeeping with `container locked`/access
|
|
denied. It did not produce another StartupFiles schema failure.
|
|
|
|
Read-only CASC extraction of the actual installed FileDataID1604265 shows:
|
|
|
|
| Property | Installed StartupFiles |
|
|
|---|---|
|
|
| Magic |WDC5|
|
|
| Schema |`wowstatic_camelot_1_60_1`|
|
|
| Layout hash |`0x3E639C9F`|
|
|
| Size |4862 bytes|
|
|
| SHA256 |`cf31ef07a39f05a1a16af7f7e86e2f15a5d1b7a41b100ca7b301ae80d079adc7`|
|
|
|
|
The pinned Forever server's `DB2FileLoader.h::DB2Header` defines the128-byte
|
|
schema field. `DB2Metadata.h::StartupFilesMeta` independently identifies
|
|
FileDataID1604265, layout3E639C9F and three fields. The local WoWDBDefs
|
|
`StartupFiles.dbd` agrees for1.60.1.70334. The reported12.0.1 schema belongs to
|
|
the wrong data selection; it was not fixed by changing the schema string.
|
|
|
|
No spell/talent conversion output was installed as StartupFiles. Those tools
|
|
write generated reports/Lua under the workspace or the owned addon. The PE,
|
|
loader, original product metadata and extracted clean-archive counterparts
|
|
match byte-for-byte. No matching Forever engine C++ source is assumed.
|
|
|
|
## Corrected copy and actual control
|
|
|
|
The authorized untouched archive `/mnt/Games/Games/World of Warcraft.rar` was
|
|
fully extracted with `unrar x` into
|
|
`runtime/pristine-forever/World of Warcraft`; extraction exited0 with its normal
|
|
integrity checks. The archive and extracted installation are retained.
|
|
|
|
`ops/client_installation.py::clone` makes a complete private Btrfs reflink copy
|
|
at `runtime/native-client`, preserving all product metadata, CASC files and
|
|
sidecars. Its files have independent copy-on-write storage; Data is an actual
|
|
private directory. The previous partial copy and its crash reports are retained
|
|
under `recovery/native-partial-before-complete-20261015T002854Z`.
|
|
|
|
`inspect_installation` rejects missing flavor/product/sidecar files, a wrong
|
|
active product/build, and a symlinked Data directory before starting WowB.
|
|
`tests/client_installation_test.py` covers these recurrence conditions. Native
|
|
experiment preparation now reuses this complete copy and never reinstalls
|
|
partial binaries over existing changes.
|
|
|
|
Actual validation: the installed original re-entered the Hall of Arms through
|
|
the preserved local gateway. The complete clean-archive copy subsequently
|
|
reached its actual login screen with **no native module loaded and no new
|
|
StartupFiles crash**. Only that copy's portal was bound to the authorized local
|
|
frontend; no credentials were submitted in this control. Its configuration
|
|
recovery point is `recovery/pristine-control-config/Config.wtf`.
|
|
|
|
A first offline network-namespace control could not initialize Vulkan. It was
|
|
closed and was not counted as startup success. The successful control used the
|
|
existing working Wine graphics environment. Its initial observer also exposed
|
|
a pre-window race (`comm=wine` before `WowB.exe`); `Session(startup_pid=...)`
|
|
now preserves bounded window polling through that real transition. No cold-start
|
|
timing is claimed for the resumed observation.
|
|
|
|
Evidence: `evidence/gameplay/startup-clean-identity.json` and
|
|
`startup-clean-control.json`. All11 regression tests pass in ordinary and
|
|
ASan/UBSan builds. No schema validation, original executable, original UI or
|
|
operating-system security policy was changed. Native world entry remains a
|
|
separate, unmet milestone.
|
|
|
|
## Reproduction and rollback
|
|
|
|
```
|
|
python3 ops/client_installation.py inspect
|
|
python3 ops/client_installation.py control
|
|
python3 ops/native_local_test.py prepare
|
|
```
|
|
|
|
`control` normally closes only a recognized development WowB, then launches the
|
|
private clean-data copy without preloaded native modules. It guards against
|
|
duplicate/unrecognized clients and records readiness using private captures.
|
|
The actual client may remain open after a bounded failure for inspection.
|
|
|
|
To roll back an experimental client change, close that copy and restore its
|
|
owned files from the retained pristine extraction or create another complete
|
|
reflink clone. Preserve the current clone/manifest first. The installed original
|
|
can be launched with `ops/client_ui.py launch` after the experimental client
|
|
exits. Restore gateway flags with `ops/native_local_test.py restore` when needed.
|
|
Do not restore the incomplete copy as a working client or replace individual
|
|
DB2 tables merely to suppress a schema error.
|