Skip to content

xcrdapi: answer the second IDStorageFactoryX IID (GTA VI) - #36

Open
fffluffy-dev wants to merge 1 commit into
mainfrom
claude/gta-xcrd-factory-v2
Open

fffluffy-dev wants to merge 1 commit into
mainfrom
claude/gta-xcrd-factory-v2

Conversation

@fffluffy-dev

Copy link
Copy Markdown
Owner

Part of #35 (upstream omonkeyz/xbox-emulator#293, item 2).

GTA VI 1.0.2.1 asks DStorageGetFactory for 62959d11-d45f-4884-a0a3-f7862ea243ae and gets E_NOINTERFACE. The factory now answers that IID as well as fb3b54ac-…, from both DStorageGetFactory and QueryInterface, and returns the same object.

  • abi.rs: IID_FACTORY_X_V2
  • objects.rs: factory_qi accepts it
  • tests.rs: an IID text check, plus factory_answers_the_second_console_factory_iid. That test checks that both IIDs give the same factory, that QueryInterface works across them, and that a foreign IID is still refused.

Verification

  • cargo test -p xcrdapi --lib --target x86_64-pc-windows-gnu --no-run builds.
  • The tests were not run. CI does not test xcrdapi, and the container's Wine 9 crashes in wineboot.
  • As the upstream report says, nothing past SetStagingBufferSize/OpenFile is verified against a console.

Generated by Claude Code

GTA VI 1.0.2.1 asks DStorageGetFactory for 62959d11-d45f-4884-a0a3-f7862ea243ae
and gets E_NOINTERFACE (upstream omonkeyz#293, item 2). The factory
now answers it as well as fb3b54ac-…, both from DStorageGetFactory and from
QueryInterface, and returns the same object.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014vTZArnDeG1xtBcLprpoCq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants