Settings presets: save named presets, export to a file, import (with a preview + undo) #1226

Open
opened 2026-10-28 19:31:43 +00:00 by sky_line · 0 comments
Owner

Let users save their settings as named presets, export them to a file, and import presets from files (from friends, communities, creators' recommended looks).

Scope

  • What a preset holds. A named set of settings chosen by category:

    • Graphics: the Advanced Graphics settings, RT and GI, DLSS / FSR;
    • Photo Studio: scene, fog and mist, post effects, Lightbox;
    • Weather;
    • Camera and Move & View;
    • Chat and UI: overlay style, colours, font set, UI scale;
    • Sound;
    • Controls: key bindings and game controller mappings.

    Exporting asks which categories to include.

  • Format. One self-describing file (LLSD XML or JSON, e.g. .slpreset) with a header: name, author, description, viewer version, categories, created date. Only settings that differ from the defaults are written, so presets stay small and readable.

  • Import:

    • shows what the preset will change (category list, number of settings, and a diff view of old -> new values) before applying;
    • lets the user untick categories;
    • always makes an automatic "before import" backup preset, so one click undoes it.
  • Apply. Settings apply live where they can. Ones that need a restart or relog are listed.

  • Safety:

    • a whitelist of settings that may be imported. Never import account, login, network or security settings, file paths, debug toggles, or Persist=0 experiment toggles;
    • values are validated against each setting's type and range;
    • unknown keys from newer viewers are ignored, with a note.
  • UI. A Presets floater (or extend the existing graphics presets) with Save current..., Load, Export..., Import..., Rename, Delete and Duplicate. A preset dropdown in Photo Studio and Advanced Graphics for quick switching.

  • Existing graphics presets. LL's graphics presets (llpresetsmanager) become one category of this system, with their files still readable. Fix #1067 (several advanced graphics preferences are not saved to graphics presets) as part of this.

  • Sharing (optional, later). Presets small enough to fit a notecard can be shared in-world: give a notecard, and a viewer that recognises the format offers to import it.

#1067 (advanced graphics prefs missing from graphics presets), #231 (importer for other viewers' settings).

Let users save their settings as named presets, export them to a file, and import presets from files (from friends, communities, creators' recommended looks). ## Scope - **What a preset holds.** A named set of settings chosen by category: - Graphics: the Advanced Graphics settings, RT and GI, DLSS / FSR; - Photo Studio: scene, fog and mist, post effects, Lightbox; - Weather; - Camera and Move & View; - Chat and UI: overlay style, colours, font set, UI scale; - Sound; - Controls: key bindings and game controller mappings. Exporting asks which categories to include. - **Format.** One self-describing file (LLSD XML or JSON, e.g. `.slpreset`) with a header: name, author, description, viewer version, categories, created date. Only settings that differ from the defaults are written, so presets stay small and readable. - **Import:** - shows what the preset will change (category list, number of settings, and a diff view of old -> new values) before applying; - lets the user untick categories; - always makes an automatic "before import" backup preset, so one click undoes it. - **Apply.** Settings apply live where they can. Ones that need a restart or relog are listed. - **Safety:** - a whitelist of settings that may be imported. Never import account, login, network or security settings, file paths, debug toggles, or `Persist=0` experiment toggles; - values are validated against each setting's type and range; - unknown keys from newer viewers are ignored, with a note. - **UI.** A Presets floater (or extend the existing graphics presets) with Save current..., Load, Export..., Import..., Rename, Delete and Duplicate. A preset dropdown in Photo Studio and Advanced Graphics for quick switching. - **Existing graphics presets.** LL's graphics presets (`llpresetsmanager`) become one category of this system, with their files still readable. Fix #1067 (several advanced graphics preferences are not saved to graphics presets) as part of this. - **Sharing (optional, later).** Presets small enough to fit a notecard can be shared in-world: give a notecard, and a viewer that recognises the format offers to import it. ## Related #1067 (advanced graphics prefs missing from graphics presets), #231 (importer for other viewers' settings).
sky_line added this to the Slipstream project 2026-10-28 19:31:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#1226
No description provided.