Retail exe is out: identity pinned + 587-import map (incl. GameInput ordinal import) #627
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#627
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@pickles976 on GitHub · 2026-11-24 02:41 UTC · original
The executable is out — identity pinned, and a fresh import map for the shim layers
The release group's November drop (
XMAS CAME EARLY) put the package's missing exe into circulation. Verified 2026-11-24, metadata-only — no package bytes acquired, this issue contributes none:Identity (triple-pinned). SHA-256
e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993, 120,181,760 B — matches the hash the release group published on-chain. A public sandbox report (tria.ge/261123-v8xtfsbx4s) records the same SHA-256 with SHA-12be54b5e91275a2a8a0ba65b74eab51527933522/ MD58609e31e0b9a2192b3f80771d16ca32c; a separately circulating copy on a public archive platform carries the identical SHA-1/MD5 in its own metadata — same file on both sides. Sandbox score 1/10, zero behavioural signatures.Header facts. PE32+ machine 0x8664, subsystem 2 (Windows GUI) — a devkit-style Windows PE, not a console-signed image; linker 14.0 (VS2022), compile stamp 2026-11-13; sections
.text(99.9 MB).rdata .data .pdataplus custom.xbld/.voltbl; overlay 0.Import map (587 imports / 68 DLLs). Xbox modules:
acphal9 (AcpHalCreate,ApuAlloc…),xapu5,chad5 (XDsp*),bink2scarlett23,d3d12_xs3,xg_xs2,xmem12,xboxbvhbuilder7,xcrdapi1 (DStorageGetFactory),libhttpclient.gdk38 (HCHttpCall*),gameinput1 — by ordinal#1,amd_fidelityfx_loader_xbox4 (ffxCreateContext…). Everything else is the ordinary CRT/OneCore set pluswinhttp/ws2_32/mfplat. No credential-theft or persistence APIs anywhere in the table.Why the ordinal matters to every HLE loader here: name-keyed shim registries report
GameInput.dll!#1as unimplemented even when they implementGameInputCreate— observed live under Leonida's loader, which mapped this exe (entry+0x56a1ec8) and bound 494/587 imports with 93 left. Happy to publish the full per-ordinal breakdown for xcl's own coverage table if useful.Per HANDOFF.md ("little left to do without the executable") — the wall moved.
@pickles976 on GitHub · 2026-11-24 03:07 UTC · original
Follow-up from deeper static analysis of the same copy — how this exe actually reaches its imports is unusual and affects every loader here:
Across all 100 MB of
.textthere is zero RIP-relative code reference to any of the 587 import-directory slots — noFF 15, noFF 25, nomov reg,[rip+slot], for any of the 68 DLLs (includingkernel32). All 275 indirect call/jmp thunks (FF 25) land in a.rdatatable (~0x6794xxx) whose file contents are self-referential RVAs (e.g. slotexe+0x6794620, 40 callers, static content0x67982b8) — a custom link-time call table (same era as the.xbld/.voltblsections), evidently populated by the title's own startup pass.Practical consequence for HLE work: standard import-directory binding writes slots the title never reads from code; the working path is presumably the title resolving its table via loader calls (
LoadLibrary/GetProcAddress/LdrLoadDll). Cheap discriminator for anyone running the exe: logGetProcAddressby module + returned-name and diff against the 587-entry directory — every name resolved there is a shim that must answer at the loader boundary, and the ones resolved by ordinal (e.g.GameInput.dll #1) will only be caught by loaders that consult the ordinal table, not name maps.The directory remains the authoritative list for what to implement — 93 of its entries are the console set (breakdown in the body above); this note is only about where bindings must land.
@pickles976 on GitHub · 2026-11-24 03:18 UTC · original
The full per-DLL breakdown, produced by xcl's own analyzer on this exe — cross-built
xcl inspect --json(Linux →x86_64-pc-windows-gnu, llvm-mingw linker, running under Wine; details in #520), against the byte-verified copy. xcl's resolver classifies all 587 imports; independent confirmation of the loader numbers: entry0x56a1ec8, subsystem 2, TLS template 5 248 B, 299 257 unwind entries.GameInput ordinal: xcl handles it —
gameinput.dll→ 1/1HLE (gameinput.dll). The trap is only for name-only tables (Leonida's reports it unimplemented; mine did until the#1alias).Console-module coverage today:
AcpHal 9/9,xapu 5/5andchad 5/5(both resolved into the AcpHal module — nice consolidation),d3d12_xs 3/3,xg_xs 2/2,xcrdapi 1/1,GameInput 1/1,xmem 11/12— the remaining 73 imports are exactly five clusters:libHttpClient.GDKHCHttpCall*,HCWebSocket*,HCSystem*,HCCleanupAsync— full libHttpClient surface, mechanical WinHTTP mappingBink2ScarlettBinkOpenWithOptions,BinkDoFrame(AsyncMulti/Wait),BinkSetSoundSystem,BinkSetOSFileCallbacks, async-thread mgmt — real decoder workXboxBvhBuilderIUnknown device, bool) +BuildRaytracingAccelerationStructureBatched2X,RehydrateRaytracingAccelerationStructureBatched2X,GetRaytracingAccelerationStructurePrebuildInfo,CopyRaytracingAccelerationStructure, dtor — device-backedamd_fidelityfx_loader_xboxffxCreateContext/Destroy/Dispatch/QueryxmemXMemIsToolsMemAvailable— one-line587 imports total: the rest are plain Windows/CRT (
msvcp140113 etc.), resolved natively. This makes the package-less critical path very concrete: the last-mile list is Bink (needed for intro movies only — deferable), libHttpClient (auth traffic — a canned-offline stub may go a long way), BVH builder (raytracing scenes), and FFX (post pipeline).@ivall on GitHub · 2026-11-24 11:07 UTC · original
Closing this informational analysis: it does not identify a specific actionable XCL issue. The technical notes remain available here.