feat(reshade): remove Compare ReShade Preset #3158
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3158
Loadingβ¦
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:feat/remove-reshade-compare"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Removes Compare ReShade Preset. The row was broken: since #3105 the toolbar was still the old C++ drawing. The ReShade preset row already shows each preset as it is picked, so the feature goes instead of being rebuilt.
Gone with it: the comparison bar and its input handling, the renderer's preview and bypass of the effect, the menu hit map and the overlay palette and drawing helpers only the bar used, the row's strings in every language, and its documentation. One commit.
Known gaps:
vk_paint's text drawing and font loading are now unused and are left in.changedinvk_menu.cppis now set but never read.Testing
Tested: headless game runs on Linux, NVIDIA RTX 3090, driver 620.70.06, from a repository save (
kokiri-start).4bb670a0d389): the preset was set to Off, Warm, Cool, User and Off again, and the menu's tabs were walked. No crash line or validation message. With User picked and no file, the log saidReShade: Could not read the ReShade preset; not compared withmain.f4eda66f): the same preset changes, and the menu closed and reopened with Esc, Insert and F1.Graphics β Post-processing, the page the row was on, has not been seen in a run: the test script did not reach it in either.
Checks, Linux, no full suite. On this head: the runtime builds;
test_menu_hit,test_menu_i18n,test_reshade_hot_reload,test_i18n_completeandtest_menu_ini_keyspass. Before the rebase (no conflicts): 100 Python checks,cargo testofapiandlongshot-game, the menu mod's tests, the website's graphics settings test, and g++ and llvm-mingw syntax checks.Still to test:
Measurements
Nothing to measure: code is only removed, none of it on a frame's path outside the comparison.
Risks
Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses. (Not run on this branch.)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
tests/that reads changed source is updated, not weakened.mainand here, for a change that shows on screen. (Not taken.)Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.π€ Generated with Claude Code
https://claude.ai/code/session_017vw8e1rSeTzGtqzZNG1YZH
Tested in game: Linux, NVIDIA RTX 3090, driver 620.70.06, headless, kokiri-start, head
4bb670a0d3: ReShade preset set to Off, Warm, Cool, User, Off and the menu's tabs walked, no crash or validation line. The Graphics -> Post-processing page itself was not reached.Possibly related, for context:
Removing because we have proper compact mode now
@review
Recommendation: Approve. The code is ready: only testing is left. The broken comparison row and its renderer-only path are removed, but the changed page and visible preset behavior have not been observed in a game run. Windows and the other affected Tier 1 systems also lack recorded runs on this head. Recommend approval; not approved on the forge.
Removes the broken comparison toolbar and simplifies its menu and renderer code. Players can still select presets, but lose the toolbar's temporary comparison and restoration of the saved choice.
Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)
game/mods/graphics/mod.toml:493: The affected page and its remaining controls have not been seen in a game run. (more on the line) Do: Run the page on this head, compare its appearance with main, and exercise Off, built-in and imported presets, rescan, and menu navigation. Include Windows and the affected Tier 1 hardware in the recorded runs.Checks: Still running: 11 checks.
More: does it help, other systems, switches, what was read
Does it help: Unproven: the recorded Linux headless run changed presets without a crash or validation message, but did not reach the affected page or verify the picture. This is not a performance change.
Other systems: The ordinary ReShade render path and menu input are touched on Windows and Linux, including AMD and Steam Deck. The removed preview state was only used by the comparison toolbar; the recorded run does not show the remaining page or effects on screen.
Switches: None added, changed or removed.
Reviewed:
4bb670a0d3against1c8c2634c7: Read the repository rules and template, commit, diffs, ReShade menu module, runtime declarations and changed runtime paths, menu input around the changes, hit and theme headers, and relevant tests. Skimmed translations, documentation and surrounding large files; vk_menu.cpp and the complete changed test and settings files were not read in full. docs/review-checklist.md and the adjacent Tooling checkout were unavailable.; nothing run (a code review).Checked and fine:
Testing: No project code or tests were run during this read-only review. The supplied CI checks are still running.
Overlaps and merge order: Unknown; the network is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
@ -493,13 +493,6 @@ presetExempt = trueabi = ["renderer"]L1 (should fix): The affected page and its remaining controls have not been seen in a game run.
When: The recorded headless run walked tabs but did not open Graphics β Post-processing, so it did not verify that the removed row is absent or that the remaining preset and user-file controls work visibly.
Do: Run the page on this head, compare its appearance with main, and exercise Off, built-in and imported presets, rescan, and menu navigation. Include Windows and the affected Tier 1 hardware in the recorded runs.
WIP: feat(reshade): remove Compare ReShade Presetto feat(reshade): remove Compare ReShade Preset