2.7 KiB
Restore the account’s selected character models
On LOCAL, the stock getter remained true eight seconds after selecting SD and returned false after a clean quit, relaunch and world entry. At the moment of the change the client emitted a one-byte 0x4401B1 request. Wire dropped it 17.280 seconds before the logout request. The relaunch control emitted no setter. The captured world windows contained no generic account-data request or update. Capture comparison · LOCAL drop
The stock toggle and the experience preset both write the same native preference. Build 70334 sends 80 for SD and 00 for HD. The character-list response (0x470018) initializes the setting from bit 0x20 of payload byte 1. Before the fix the gateway always cleared that bit. Client decode and getter
Wire now routes the request to the authenticated gateway backend at character selection or in the world. The backend atomically replaces one byte in WTF/GatewayAccountData/<account-key>/sdhd.bin and reads it for the next roster. Unset and malformed records use the existing HD default. Each account has its own file. Realm changes and character changes retain its choice. The response updates only the preference bit, preserving the class-disable mask and every roster row.
Verification
The restart regression runs five fresh host processes against two synthetic authenticated accounts. It covers an SD selection in the world, an HD selection at character selection, restoration after restart, and separation between accounts. It compares the entire response to the original roster except the preference bit. The original build rejects the SD write. The store test checks malformed input and files, retries and overlapping writers. The Wire dispatch fixture covers the authenticated request and the existing account-data paths. Run ctest -R 'sdhd|wine-creation-dispatch|edit-mode-account-data' in a configured host build. Host results · Wire results
Both changed Windows x64 LOCAL targets compiled and linked. Wire imports the rebuilt Backend and the retained LOCAL Bridge import library. Unsigned cross-build receipt
Claude owns the release-qualified Wire and Backend pair and the patched LOCAL quit/relaunch checks. Select SD, quit, relaunch and check the stock getter at character selection and after entering the world. Repeat with HD. The original LOCAL reproduction is the pre-fix control.