ReNamer:Presets Manager: Difference between revisions

From den4b Wiki
Jump to navigation Jump to search
(More details and slight corrections)
(→‎Load a preset: Document ENTER, CTRL and SHIFT keys)
 
Line 11: Line 11:


Load the selected preset, replacing the current set of rules.
Load the selected preset, replacing the current set of rules.
In addition to using the tool button, you can press ENTER key to load the currently selected preset.
* Hold CTRL key when loading a preset to automatically close the window.
* Hold SHIFT key when loading a preset to append rules to the current preset.


=== [[File:Append preset button.png]] Append a preset ===
=== [[File:Append preset button.png]] Append a preset ===

Latest revision as of 00:22, 3 March 2025

The Presets Manager offers several options for managing your collection of presets, including loading, merging, duplicating, renaming and deleting.

You can access it via the Main Menu » Presets » Manage or using the CTRL + P shortcut from the main window.

PresetsManager.png

LoadPresetButton.png Load a preset

Load the selected preset, replacing the current set of rules.

In addition to using the tool button, you can press ENTER key to load the currently selected preset.

  • Hold CTRL key when loading a preset to automatically close the window.
  • Hold SHIFT key when loading a preset to append rules to the current preset.

Append preset button.png Append a preset

Append the current set of rules with rules from the selected preset.

This can be a handy way of merging rules from multiple presets.

CopyPresetButton.png Copy a preset

Create a duplicate preset file with same rules.

This can be a handy way for creating a variation of an existing preset.

The duplicate preset will have the same base name with "COPY" appended to the end.

RenamePresetButton.png Rename a preset

Rename the selected preset.

You will be asked to enter the new name in an input prompt.

RenamePresetDialog.png

You can use path delimiters in the new name to create a directory structure for presets.

EditPresetButton.png Edit a preset

Manually edit a preset file using Notepad (text editor).

Warning:

  • Avoid manual editing unless you really know what you are doing, and be aware that small mistakes can produce a corrupted preset.
  • The editing of presets should normally be performed through the main interface by loading a preset, changing the rules, and then saving the preset.

Example of content in a preset file:

PresetEditWindow.png

Syntax:

  • Rule definitions are contained within sections headed by [Rule0], [Rule1] and so on.
  • Line ID= identifies the type of rule.
  • Line Config= contains encoded configuration of the rule.
    • Parameters are separated by a semicolon (;).
    • Each parameter is stored in Name:Value format.
    • Parameter values are URL-encoded.

PresetDeleteButton.png Delete a preset

Delete the selected preset.

This action physically deletes the preset file.