Watch
1
0
Fork
You've already forked Ahmet-Dedeler--awesome-gta6-reverse-engineering
0

Add PercyScarlett (Rust Scarlett layer, 100% SM 6.6 DXIL) #2

Closed
github-bot wants to merge 1 commit from gh-pr/2/head into gh-pr/2/base
Owner

@⁠rpatty-dev on GitHub · 2026-11-22 14:19 UTC · original
rpatty-dev:feat/add-percyscarlett → main · +1 −0 · 1 files · 1 commits · closed without merging

Adds rpatty-dev/PercyScarlett (Rust, MIT) under Console Translation Layers & Static Recompilation.

Live Proof & Benchmarks

  • Live Proof Site: https://rpatty-dev.github.io/PercyScarlett/
  • Full PS09 SM 6.6 DXIL Benchmark: 21,522 / 21,522 (100.0%, fail=0) RDNA2 shaders (VS=89, PS=7730, CS=51, Mesh=13588, RT=64) lifted to HLSL (PerDrawCB, g_tex[8], g_samp[4], MIMG) and compiled via dxcompiler.dll (IDxcCompiler3::Compile)
  • 9 Compiled Rust cdylib Shim DLLs: kernelx, d3d12_xs (with PresentX, WaitForOriginX, RegisterFrameEventX, PercyEnsureAutoSwapChain, CommandQueueXProxy), xmem, xgameruntime, dstorage, GameInput, xg_xs, winrt_xs, xaudio2_9
  • 6/6 Shipped Sidecar DLLs live-loaded on Windows 11 (LoadLibraryW via percyscarlett verify-dlls)
  • 17/17 Workspace Tests Passing (0 warnings) + clean-room hardware D3D12 GDK sample (samples/scarlett_sample.rs) launched via percyscarlett launch (0 GB NTFS overlay mount) + in-process PE32+ mapper (percyscarlett run)
  • Clean-room MIT-licensed; no game assets, keys, or proprietary SDK headers.

Summary by CodeRabbit

  • Documentation
    • Added a README entry describing PercyScarlett, including its Xbox Series-to-Windows translation layer and launcher, shader compilation totals, included DLL shims, Windows 11 sidecar loading, test results, a GDK sample, and links to proof and benchmarks.
**@⁠rpatty-dev** on GitHub · 2026-11-22 14:19 UTC · [original](https://github.com/Ahmet-Dedeler/awesome-gta6-reverse-engineering/pull/2) `rpatty-dev:feat/add-percyscarlett` → `main` · +1 −0 · 1 files · 1 commits · closed without merging Adds **[rpatty-dev/PercyScarlett](https://github.com/rpatty-dev/PercyScarlett)** (`Rust`, `MIT`) under **Console Translation Layers & Static Recompilation**. ### Live Proof & Benchmarks - **Live Proof Site**: https://rpatty-dev.github.io/PercyScarlett/ - **Full `PS09` SM 6.6 DXIL Benchmark**: **`21,522 / 21,522` (100.0%, `fail=0`)** RDNA2 shaders (`VS=89, PS=7730, CS=51, Mesh=13588, RT=64`) lifted to HLSL (`PerDrawCB`, `g_tex[8]`, `g_samp[4]`, `MIMG`) and compiled via `dxcompiler.dll` (`IDxcCompiler3::Compile`) - **9 Compiled Rust `cdylib` Shim DLLs**: `kernelx`, `d3d12_xs` (with `PresentX`, `WaitForOriginX`, `RegisterFrameEventX`, `PercyEnsureAutoSwapChain`, `CommandQueueXProxy`), `xmem`, `xgameruntime`, `dstorage`, `GameInput`, `xg_xs`, `winrt_xs`, `xaudio2_9` - **6/6 Shipped Sidecar DLLs** live-loaded on Windows 11 (`LoadLibraryW` via `percyscarlett verify-dlls`) - **17/17 Workspace Tests Passing (`0` warnings)** + clean-room hardware D3D12 GDK sample (`samples/scarlett_sample.rs`) launched via `percyscarlett launch` (0 GB NTFS overlay mount) + in-process PE32+ mapper (`percyscarlett run`) - Clean-room MIT-licensed; no game assets, keys, or proprietary SDK headers. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Added a README entry describing PercyScarlett, including its Xbox Series-to-Windows translation layer and launcher, shader compilation totals, included DLL shims, Windows 11 sidecar loading, test results, a GDK sample, and links to proof and benchmarks. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 18:50:09 +00:00
github-bot closed this pull request 2026-11-26 18:50:09 +00:00
Author
Owner

@⁠copilot-pull-request-reviewer[bot] on GitHub · 2026-11-22 14:19 UTC · original · reviewed

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

**@⁠copilot-pull-request-reviewer[bot]** on GitHub · 2026-11-22 14:19 UTC · [original](https://github.com/Ahmet-Dedeler/awesome-gta6-reverse-engineering/pull/2#pullrequestreview-6012692466) · **reviewed** Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-11-22 14:19 UTC · original

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The README adds PercyScarlett to the console translation layers list and describes its implementation, reported results, and related links.

Changes

PercyScarlett documentation

Layer / File(s) Summary
Document PercyScarlett
README.md
The console translation layers list adds PercyScarlett and describes its platform, implementation, shader compilation results, DLL shims, sidecar loading, tests, sample, and proof link.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: ahmet-dedeler

Merge Risk: Minimal · up to dbea2

This adds a documentation entry for PercyScarlett to the README list. It does not change runtime behavior, so merging carries minimal risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: adding the PercyScarlett project, a Rust Scarlett translation layer, to the README under Console Translation Layers. The README diff is a single added entry, so the ti…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: adding the PercyScarlett project, a Rust Scarlett translation layer, to the README under Console Translation Layers. The README diff is a single added entry, so the title matches the changeset. The 100% SM 6.6 DXIL figure comes from the PR description's benchmark claim, and the title states it accurately as a reported result. The title is specific and short enough to identify the change in history.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

⚠️ This pull request has been flagged as potential spam (contributor-gaming) by CodeRabbit slop detection and should be reviewed carefully.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 12f62010-4d86-4cd2-b869-ce35722c16fe
Commits

Reviewing files that changed from the base of the PR and between 8dc96d1d8b and dbea2a58d3.

Files selected for processing: 1

  • README.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

**@⁠coderabbitai[bot]** on GitHub · 2026-11-22 14:19 UTC · [original](https://github.com/Ahmet-Dedeler/awesome-gta6-reverse-engineering/pull/2#issuecomment-7080457166) <!-- coderabbit-ai-generated:v1 --> <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/Ahmet-Dedeler/awesome-gta6-reverse-engineering/pull/2?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg" alt="Explain Change →" height="32"></picture></a> <!-- review_stack_entry_end --> <!-- recent_review_status_start --> No actionable comments were generated in the recent review. <!-- recent_review_status_end --> <!-- walkthrough_start --> ### Walkthrough The README adds PercyScarlett to the console translation layers list and describes its implementation, reported results, and related links. ### Changes **PercyScarlett documentation** |Layer / File(s)|Summary| |:---|:---| |**Document PercyScarlett** <br> `README.md`|The console translation layers list adds PercyScarlett and describes its platform, implementation, shader compilation results, DLL shims, sidecar loading, tests, sample, and proof link.| <!-- change_assessment_start --> **Estimated code review effort:** 1 (Trivial) | ~3 minutes <!-- change_assessment_commit:"dbea2a58d370f43a70654a1811c1132990bc9659" --> <!-- change_assessment_priority:{"version":1,"urgency":"p3","manual":false} --> Change: Other <!-- change_assessment_end --> Suggested reviewers: `ahmet-dedeler` <!-- walkthrough_end --> <details> <summary><strong>Merge Risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-unassessed-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minimal</strong> · up to <code>dbea2</code></summary> <dl> <dd> <br> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **⚪ Minimal** · up to `dbea2` --> <!-- final_review_risk_coverage:{"sourceCommitId":"dbea2a58d370f43a70654a1811c1132990bc9659","coveredCommitId":"dbea2a58d370f43a70654a1811c1132990bc9659","kind":"reviewed"} --> This adds a documentation entry for PercyScarlett to the README list. It does not change runtime behavior, so merging carries minimal risk. <!-- final_review_risk_end --> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_start --> <details> <summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4</strong></summary> <dl> <dd> <br> | Check name | Status | Explanation | | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Description Check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped - CodeRabbit’s high-level summary is enabled. | | Title check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The title names the main change: adding the PercyScarlett project, a Rust Scarlett translation layer, to the README under Console Translation Layers. The README diff is a single added entry, so the ti… | | Linked Issues check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | <details> <summary><strong>Full details: Title check</strong></summary> <dl> <dd> <br> **Explanation** The title names the main change: adding the PercyScarlett project, a Rust Scarlett translation layer, to the README under Console Translation Layers. The README diff is a single added entry, so the title matches the changeset. The 100% SM 6.6 DXIL figure comes from the PR description's benchmark claim, and the title states it accurately as a reported result. The title is specific and short enough to identify the change in history. </dd> </dl> </details> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- finishing_touch_checkbox_start --> <details> <summary><strong>Finishing Touches</strong></summary> <dl> <dd> <br> <details open> <summary><strong>Generate unit tests (beta)</strong></summary> <dl> <dd> <br> - [ ] <!-- {"checkboxId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "radioGroupId": "utg-output-choice-group-unknown_comment_id"} --> Create a new PR </dd> </dl> </details> </dd> </dl> </details> <!-- finishing_touch_checkbox_end --> <!-- autopilot:start --> - [ ] <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts <!-- autopilot:end --> > [!WARNING] > ⚠️ This pull request has been flagged as potential spam (contributor-gaming) by CodeRabbit slop detection and should be reviewed carefully. <!-- tips_start --> Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=Ahmet-Dedeler/awesome-gta6-reverse-engineering&utm_content=2)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary><strong>Share</strong></summary> <dl> <dd> <br> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </dd> </dl> </details> <!-- tips_end --> <!-- recent_review_start --> <h6> <details> <summary><strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Recent review info</strong></summary> <dl> <dd> <br> <!-- review_info_content --> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary> <dl> <dd> <br> - **Source mode**: Auto - **Repository**: Unavailable - **Branch**: Unavailable - **File**: No configuration file from this repository applied - **Commit**: Unavailable - **Layers**: Organization UI - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `12f62010-4d86-4cd2-b869-ce35722c16fe` </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</strong></summary> <dl> <dd> <br> Reviewing files that changed from the base of the PR and between 8dc96d1d8b54134335f58dc724d4945057b5a99b and dbea2a58d370f43a70654a1811c1132990bc9659. </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 1</strong></summary> <dl> <dd> <br> * `README.md` </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. </dd> </dl> </details> </h6> <!-- recent_review_end -->
Author
Owner

@⁠Ahmet-Dedeler on GitHub · 2026-11-22 20:05 UTC · original

Thanks for sending this, and for PercyStar. PercyScarlett is on the list now (ec51caf), next to the other Series layers.

I rewrote the row after reading the code, two things changed:

  • License: the repo ships the PercyLicense (non-commercial), not MIT, so the row says that.
  • The 21,522 / 21,522 number: in rdna2_hlsl.rs opcodes the lifter doesn't know yet fall through to placeholder statements (e.g. unknown VOP2 becomes an XOR). So every shader compiles, but that isn't the same as translating correctly, and the row says "compiles". Once there's a GPU or CPU-reference check behind it I'll happily update the wording, just ping me.

Closing since it's merged by hand, you're credited as co-author on the commit.

**@⁠Ahmet-Dedeler** on GitHub · 2026-11-22 20:05 UTC · [original](https://github.com/Ahmet-Dedeler/awesome-gta6-reverse-engineering/pull/2#issuecomment-7084931999) Thanks for sending this, and for PercyStar. PercyScarlett is on the list now (ec51caf), next to the other Series layers. I rewrote the row after reading the code, two things changed: - License: the repo ships the PercyLicense (non-commercial), not MIT, so the row says that. - The 21,522 / 21,522 number: in `rdna2_hlsl.rs` opcodes the lifter doesn't know yet fall through to placeholder statements (e.g. unknown VOP2 becomes an XOR). So every shader compiles, but that isn't the same as translating correctly, and the row says "compiles". Once there's a GPU or CPU-reference check behind it I'll happily update the wording, just ping me. Closing since it's merged by hand, you're credited as co-author on the commit.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.