WIP: feat(reshade): live in-game parameter editor and per-area presets #2911
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!2911
Loading…
Reference in a new issue
No description provided.
Delete branch "Cal/Longshot:feat/reshade-areas-and-editor"
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
Adds a live in-game ReShade parameter editor (opened with
Shift+F2by default, rebindable in Controls) and per-area preset overrides (reshade_areassubpage), allowing players to tweak shader uniforms live, save/Save As presets, and bind different presets per game area.Key files to review first:
gpu/vk/reshade/fx_areas.{h,cpp}(per-area preset matching and INI round-trip)gpu/vk/vk_api.h(MKWVK_API_VERSIONbumped to57,HOS_KEY_RESHADE_EDITOR,MkwVkHost::current_area)host/rx_backend.c(host_current_areawiring)gpu/vk/vk_menu.cpp(live editor UI,reshade_areassubpage, shared text-input handling)Testing
Tested: Windows 11 (x86-64, llvm-mingw), rebased onto
origin/main(a425fa2a):tests/test_reshade_editor.py— PASStests/test_menu_keys.py— PASStests/test_menu_text_field.py— PASStests/test_upscaler_round_trip.py— PASS (2082/2082 checks)tests/test_menu_ini_keys.py,tests/test_menu_i18n.py,tests/test_menu_modules.py,tests/test_menu_env_overrides.py,tests/test_sprint.py,tests/test_walk_key.py,tests/test_hos_ab_table.py,tests/test_check_pr_description.py— PASSscripts/reshade/check_fx.py— PASSscripts/check_guide_screenshots.py --review-sources— PASScargo test -p build-compile plan— PASSlongshot-builderpassedlongshot_builder.py checkandlongshot-packager release dry-run --clean(0 missing files, prebuiltliblongshot_rs.a, 322/322 third-party objects).Still to test:
@Beanstalkor by hand).Measurements
Nothing to measure: feature/UI addition; no default rendering or performance path is changed when ReShade presets are off.
Risks
MKWVK_API_VERSIONbumped to57(host and renderer must match, which the builder enforces).tests/test_menu_text_field.py,tests/test_menu_keys.py, andtests/test_upscaler_round_trip.pyfixtures fororigin/main+ shared text-input wiring.longshot_options.inifiles remain compatible.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).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.MKWVK_API_VERSIONbumped (MkwVkHostorMkwVkRendereringpu/vk/vk_api.hchanged).Possibly related, for context:
Tested in game: Windows 11: live ReShade parameter editor (Shift+F2) and per-area presets verified in-game; rebased onto origin/main (
a425fa2a) and verified with automated menu/editor/FX tests and Windows release packaging dry-run.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.