Preference Packs

From LabRPS Documentation
Revision as of 16:09, 28 October 2024 by LabRPS (talk | contribs) (Created page with "{{TOCright}} == Introduction == A '''Preference Pack''' is a distributable collection of user preferences that can be installed as an add-on and applied as a single set. Any user parameter that can be set in the user.cfg file can be included in a Preference Pack. Applying a preference pack sets all of the variables in the supplied CFG file without modifying any other user settings. For example, these packs can be used to create "Themes" by bundling together a custom s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

A Preference Pack is a distributable collection of user preferences that can be installed as an add-on and applied as a single set. Any user parameter that can be set in the user.cfg file can be included in a Preference Pack. Applying a preference pack sets all of the variables in the supplied CFG file without modifying any other user settings. For example, these packs can be used to create "Themes" by bundling together a custom stylesheet along with a set of user preferences that sets the various colors and styles of items in LabRPS that aren't controlled by the stylesheet.

Main Preference Packs user interface

Most user interaction with installed Preference Packs is via the General tab in the General settings section of the Preferences editor.

PreferencePacks MainInterface.png

Applying an installed pack

To apply a Preference Pack, click the Apply button next to its name in the General tab of the Preferences editor. The core of a Preference Pack is a set of user preferences. When applying a pack each of these preferences is changed to the value defined in the pack. Optionally, the pack author may have included a pre- and/or post-application macro that may also be run. Because packs can potentially make large (and possibly undesirable) changes to your user preferences, a timestamped backup of your original preferences is taken, and stored in LABRPS_USER_DATA/SavedPreferencePacks/Backups. These backups are retained for one week.