feat(masseffectandromeda): add game#576
Open
jhi721 wants to merge 3 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new RenoDX game module for Mass Effect: Andromeda (Frostbite 3 / D3D11) focused on preserving the game’s native HDR pipeline while providing an optional “Vanilla+” path with paper-white/peak tuning, grading, and post effects.
Changes:
- Introduces the MEA add-on (
addon.cpp) that registers custom shader replacements/callbacks and exposes user-configurable HDR + grading/effects settings. - Adds shared shader injection definitions/utilities plus new shader implementations for tonemap+grade, present tails (1:1 + upscaled), loading/video presents, bicubic upscale sampling, and HDR RCAS sharpening.
- Adds MEA game metadata for deployment/identification.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/games/masseffectandromeda/addon.cpp | Registers MEA custom shaders/callbacks, sets swapchain/resource upgrade behavior, and defines user settings. |
| src/games/masseffectandromeda/shared.h | Defines injected uniform layout and shared shader helpers (present params, UI composite, Vanilla+ pipeline). |
| src/games/masseffectandromeda/metadata.json | Declares game ID/title/maintainer/status and Steam AppID for deployment metadata. |
| src/games/masseffectandromeda/tonemap_grade_common.hlsli | Implements shared Frostbite tonemap+grade logic with optional CA and grain permutations and Vanilla+ controls. |
| src/games/masseffectandromeda/tonemap_grade_0xB6A91712.ps_5_0.hlsl | Wires tonemap+grade permutation (CA off / grain off) to the shared implementation. |
| src/games/masseffectandromeda/tonemap_grade_0x376C116B.ps_5_0.hlsl | Wires tonemap+grade permutation (CA off / grain on) to the shared implementation. |
| src/games/masseffectandromeda/tonemap_grade_0xEB91AB31.ps_5_0.hlsl | Wires tonemap+grade permutation (CA on / grain off) to the shared implementation. |
| src/games/masseffectandromeda/tonemap_grade_0xE3D57A10.ps_5_0.hlsl | Wires tonemap+grade permutation (CA on / grain on) to the shared implementation. |
| src/games/masseffectandromeda/present_core.hlsli | Shared HDR present tail (linearize via output LUT, optional RCAS/effects, UI composite, PQ output). |
| src/games/masseffectandromeda/output_0xF5B0DBFA.ps_5_0.hlsl | Main 1:1 HDR present shader using the shared present tail. |
| src/games/masseffectandromeda/output_upscale_0xAFFFA4AB.ps_5_0.hlsl | Upscaled HDR present shader using bicubic scene fetch + shared present tail. |
| src/games/masseffectandromeda/loading_core.hlsli | Shared loading/video present tail (sRGB decode, optional Vanilla+ processing, UI/video handling, PQ output). |
| src/games/masseffectandromeda/output_loading_0xF5B7A93D.ps_5_0.hlsl | 1:1 loading/video present shader using the shared loading tail. |
| src/games/masseffectandromeda/output_upscale_loading_0x667C56AF.ps_5_0.hlsl | Upscaled loading/video present shader using bicubic art fetch + shared loading tail. |
| src/games/masseffectandromeda/bicubic_upscale.hlsli | Implements a separable 16-tap Catmull-Rom bicubic sampler used by upscaled presents. |
| src/games/masseffectandromeda/lilium_rcas.hlsli | Implements HDR RCAS sharpening and related sampling helpers for MEA. |
| src/games/masseffectandromeda/videos_0x7ED07F45.ps_5_0.hlsl | FMV YUV→RGB decode pass used to flag video activity while preserving vanilla decode behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Author
|
Fixed CI errors and Copilot's comment |
…erms (0x8498DBD5, 0x182C8867)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native HDR fix for Mass Effect: Andromeda (Frostbite 3, D3D11).
Required in-game settings
Features
bloom / vignette / chromatic aberration, perceptual film grain, RCAS sharpening, AutoHDR videos