1 Commits

Author SHA1 Message Date
ivall 576b4db5d8 XGameRuntime from the GDK function table: persistent local storage, console device type, more APIs
- Persistent local storage was passed to the PC runtime, which fails it for an unpackaged
  process: now XCL's own.
- XSystemGetDeviceType is computed by the thunk library from HKLM\...\OEM ConsoleMode
  (mapping read from the game's XCurl.dll): kernelx answers that registry key (0x64 Series X,
  0x60 Series S); advapi32 imports go through kernelx.
- gdk_table.rs: the GDK runtime's 396 functions with class, interface and slot as the public
  PC GDK's thunk library calls them. XCL's objects are built from it by function name: the
  interface versions of a class share a vtable, unknown versions get the main one, and
  unimplemented functions are reported by name. Agrees with the slots the game's own thunks
  use (test) and fixes two guessed XPackage slots.
- New: XUser devices and the remaining XUser calls, XPackage (locale, chunks, install,
  MountWithUi, EnumeratePackages), XSystem, analytics, runtime features, XDisplay, XGameEvent
  (offline); XAppBroadcast / XAppCapture refused.
- Pipelines: releasing a stand-in releases its background-built pipeline and forgets the
  address; PSO tests work with a cold DXIL cache.
2026-11-21 16:22:32 +01:00