[PR #1517] runtime/README: AcpHal, chad, xapu and XCRDAPI have shims; DStorage decodes BCPack (DOC-RUNTIME-README-SHIMS) #1545

Open
opened 2026-11-26 20:21:37 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1517
Author: @Mike7581
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: docs/runtime-readme-shims


📝 Commits (4)

  • 99c9874 runtime/README: AcpHal, chad, xapu and XCRDAPI have shims; DStorage decodes BCPack (DOC-RUNTIME-README-SHIMS)
  • 4ad6d3f runtime/README: xapu and chad are served by shims/xapu_chad.cpp; note LEONIDA_DSTORAGE_EXTENDED=0
  • 1f8ccc6 runtime/README: DStorage requests fail with E_NOTIMPL when the queue processes them
  • c8fabf8 runtime/README: xapu.dll is served by shims/xapu_queue.cpp, chad.dll by shims/xapu_chad.cpp

📊 Changes

1 file changed (+13 additions, -7 deletions)

View changed files

📝 runtime/README.md (+13 -7)

📄 Description

Claimed in the coordination issue as: DOC-RUNTIME-README-SHIMS (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7151462168)

What and why

runtime/README.md had two stale statements:

  • The LEONIDA_COMPAT_DIR section said the AcpHal, chad, xapu and XCRDAPI console DLLs "have no shim here". shims/acphal.cpp, shims/chad.cpp, shims/xapu.cpp and shims/dstorage.cpp (which serves xcrdapi.dll) exist now. The paragraph keeps the xbox-emulator crates as an example of drop-in DLLs, names the four shims, says a DLL in the folder replaces its module's shim, and marks the 867d922 measurement as taken before those shims.
  • The DirectStorage entry said "BCPack, swizzle and physical-page requests are not done yet". docs/directstorage.md and shims/dstorage.cpp describe the BCPack decoder in src/bcpack.cpp (BC1/3/4/5/6H/7; BC2 is E_NOTIMPL), the optional macro-unshuffle and physical page numbers resolved through xmem. The entry now says that.

Docs only; no code changes.

Tested

python -I scripts/check_no_game_data.py runtime/README.md. Checked every statement against the current main sources and docs/directstorage.md.

GPUs tested: n/a

AI-assisted: yes (Claude Code, Claude Opus 5.5)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1517 **Author:** [@Mike7581](https://github.com/Mike7581) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs/runtime-readme-shims` --- ### 📝 Commits (4) - [`99c9874`](https://github.com/ubiquitarianism/leonida/commit/99c98749dcf74fc8d4036e2f72a0a254e5bdfff7) runtime/README: AcpHal, chad, xapu and XCRDAPI have shims; DStorage decodes BCPack (DOC-RUNTIME-README-SHIMS) - [`4ad6d3f`](https://github.com/ubiquitarianism/leonida/commit/4ad6d3f5ea92ebe9758af671e5a3d8bb03a6c2f8) runtime/README: xapu and chad are served by shims/xapu_chad.cpp; note LEONIDA_DSTORAGE_EXTENDED=0 - [`1f8ccc6`](https://github.com/ubiquitarianism/leonida/commit/1f8ccc6ff4da45c831bd0095ecebd38985f3704d) runtime/README: DStorage requests fail with E_NOTIMPL when the queue processes them - [`c8fabf8`](https://github.com/ubiquitarianism/leonida/commit/c8fabf8fb40ff13612929f927fe65593c303c806) runtime/README: xapu.dll is served by shims/xapu_queue.cpp, chad.dll by shims/xapu_chad.cpp ### 📊 Changes **1 file changed** (+13 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `runtime/README.md` (+13 -7) </details> ### 📄 Description Claimed in the coordination issue as: DOC-RUNTIME-README-SHIMS (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7151462168) ### What and why `runtime/README.md` had two stale statements: - The `LEONIDA_COMPAT_DIR` section said the `AcpHal`, `chad`, `xapu` and `XCRDAPI` console DLLs "have no shim here". `shims/acphal.cpp`, `shims/chad.cpp`, `shims/xapu.cpp` and `shims/dstorage.cpp` (which serves `xcrdapi.dll`) exist now. The paragraph keeps the xbox-emulator crates as an example of drop-in DLLs, names the four shims, says a DLL in the folder replaces its module's shim, and marks the `867d922` measurement as taken before those shims. - The DirectStorage entry said "BCPack, swizzle and physical-page requests are not done yet". `docs/directstorage.md` and `shims/dstorage.cpp` describe the BCPack decoder in `src/bcpack.cpp` (BC1/3/4/5/6H/7; BC2 is `E_NOTIMPL`), the optional macro-unshuffle and physical page numbers resolved through `xmem`. The entry now says that. Docs only; no code changes. ### Tested `python -I scripts/check_no_game_data.py runtime/README.md`. Checked every statement against the current `main` sources and `docs/directstorage.md`. GPUs tested: n/a AI-assisted: yes (Claude Code, Claude Opus 5.5) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1545
No description provided.