Skip to content

Add an Enable HDR option - #87

Merged
EwyBoy merged 3 commits into
mainfrom
feature/hdr-boot-config
Oct 1, 2026
Merged

EwyBoy merged 3 commits into
mainfrom
feature/hdr-boot-config

Conversation

@EwyBoy

@EwyBoy EwyBoy commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Enable HDR

KSP2 can output HDR, but only when hdr-display-enabled=1 is set in KSP2_x64_Data/boot.config, and the game ships with it at 0. This adds an option for it, the same way we already handle graphics jobs.

  • Settings: each install profile gets an Enable HDR checkbox under Disable gfx jobs, off by default. The tooltip says it needs an HDR display with HDR turned on in the system's display settings.
  • CLI: installs set --hdr on|off, and installs show plus the JSON output report it.
  • How it's written: the setting is saved on the profile and written to the active install's boot.config whenever it changes, through the same path as gfx-enable-gfx-jobs. Both keys are now applied in one pass, and the file is only rewritten when something actually changed.
  • Default: with HDR off we write hdr-display-enabled=0, which is what the game already ships with, so nothing changes for anyone who leaves it off.

EwyBoy added 3 commits October 1, 2026 22:17
KSP2 can output HDR, but only with hdr-display-enabled=1 in
KSP2_x64_Data/boot.config, and the game ships with it at 0. Each
install profile now has Enable HDR next to Disable gfx jobs in
Settings, off by default, and `installs set --hdr on|off` does the same
from the CLI. `installs show` and the JSON output report it.

It goes through the same path as graphics jobs: the setting is saved on
the profile and written to the active install's boot.config whenever it
changes. ApplyActiveInstallBootConfig now applies a list of keys and
writes the file once if any of them changed, and the two profile
setters share UpdateBootConfigSetting. With HDR off it writes
hdr-display-enabled=0, which is what the game already ships, so a
profile that never touches the option leaves boot.config as it was.
@EwyBoy
EwyBoy merged commit 049cc24 into main Oct 1, 2026
2 checks passed
@EwyBoy
EwyBoy deleted the feature/hdr-boot-config branch October 1, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant