fix(menu): the ReShade preset row offers all 27 presets again #3060
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3060
Loadingβ¦
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:fix/reshade-preset-list"
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
The Insert menu's ReShade preset row offered only Off, Warm, Cool and User. HDR Vibrance, Depth View, Depth Haze and all twenty Clarity looks (Serfrost and the rest) could not be picked, although the renderer still has them. To see it on
main: Graphics β Post-processing, and step through the row.Since #2822 the menu draws the row from
game/mods/graphics/mod.toml, which declared four of the renderer's 27 presets. It also hadchoicesFrom = "reshadePresets", which by the code appends the player's INI file names after "User", where a pick would select a built-in preset by its number. Those files belong to the User preset file row, which keeps its list.This declares all 27 in the renderer's order and drops the extra list. Read
game/mods/graphics/mod.tomlandtests/test_reshade_preset_list.py.The list is still written in two places; the test fails when they differ. Moving the built-in presets into a system mod, and letting mods ship presets, is separate work to follow.
Testing
Tested: Linux.
tests/test_reshade_preset_list.pycompiles the renderer'spreset_choices()and compares it with the row: it fails on the test commit (4 of 27) and passes with the fix, with g++ and clang++.test_menu_i18n.py,test_settings_link.pyandtest_menu_hit.pypass.test_menu_ini_keys.pyandtest_settings_area_keys.pyfail onskip_cinematics, a setting this PR doesn't touch (not run onmainseparately). Not run in the game.mise run testhas not finished.Still to test:
mise run test, expecting no failure thatmaindoesn't haveMeasurements
Nothing to measure: the change is a menu row's list of choices.
Risks
A revert is enough. A player who picked one of their own INI names on the preset row has a number saved that now shows the built-in preset it was already selecting.
Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named). (not finished)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here.mainand here, for a change that shows on screen. (no game run)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
WIP: fix(menu): the ReShade preset row offers all 27 presets againto fix(menu): the ReShade preset row offers all 27 presets againsiantm referenced this pull request2026-12-03 13:51:01 +00:00