Skip to content
RED+
Contents

Reference

redplus.ini

redplus.ini is the RED+ settings file. It is in the RED+ folder, next to RedPlus.exe and RedPlusEditor.dll. Every setting in it is optional: delete a line to go back to its default.

How the file works

  • Sections are in square brackets, with one key=value per line. A line that starts with a semicolon is a comment. The shipped file explains each setting in comments.
  • RF_DIR and PLAY_LAUNCHER are at the top of the file, before the first section. Start each of those lines with the key itself, with no space in front, and do not put quotes around paths.
  • Most settings are read once, when RED+ starts. Edit the file with RED+ closed, then start it.
  • The editor writes the settings you change in its dialogs into this same file.
  • Near the start of logs\RedPlusEditor.log, a line containing [RF+] settings file: names the file RED+ reads.

The shipped settings

Top of the file

KeyValuesDefaultWhat it does
RF_DIRa foldernot setYour Red Faction folder, the one with RED.exe. When it is set, RED+ uses it before looking anywhere else. If the folder does not exist, or has no RED.exe, RED+ says so and does not start. The editor also uses it to find the game for Play, the light cookie folder and Check Mesh Shadows. See Install and start RED+.
PLAY_LAUNCHERthe full path to a game launchernot setThe launcher the Play buttons start. RED+ writes it the first time Play finds Alpine Faction or you show it where AlpineFactionLauncher.exe is. See Testing levels with Play.

[lighting]

KeyValuesDefaultWhat it does
lightmap_detailstandard, 4x or high; 2x and 8x also work4xThe largest lightmap one surface may have per axis, and the page it is packed into: 64 on a 128 page (standard), 128 on a 256 page (4x) or 255 on a 256 page (high). 2x and 8x leave half of every page empty, and the log warns about them. Any other value counts as standard. It takes effect the next time RED+ starts, and an existing level changes size only after Level, Calculate Maps and Light. Lightmap detail: in Level Properties writes this key when you click OK. See Lightmap detail and file size.

[editor]

KeyValuesDefaultWhat it does
force_render_everything1 or 01When you open a level that has geometry but fewer than four portal faces, RED+ switches the view to Render Everything once and notes it in the log. 0 leaves the view as RED sets it. Render Everything if a level has no portals in Preferences writes it. Takes effect the next time RED+ starts.
classic_file_dialogs0 or 100: RED's browse boxes (File > Open, Save As and the rest) are the Windows file dialog. 1: the older box RED shipped with. Classic file browse boxes in Preferences writes it. Takes effect the next time RED+ starts.
modthe name of a folder in the game's mods folderemptyThe mod RedPlus.exe starts the editor with. File, Mod (RF+) writes it. It is left out when that folder is gone, when the name has a space, or when the command line names a mod with -mod. See Mods.

Settings the editor writes

You can edit these by hand too, but the editor writes them when you use the controls listed here. Preferences means the RED+ category of Tools, Preferences.... See Preferences.

[editor]

KeyWritten byValues
visual_stylesModern window styling (takes effect on restart) in Preferences1 on, 0 off. When the key is not set, RED+ copies RED.exe.manifest if your game folder has one. Takes effect the next time RED+ starts.
d3d11Direct3D 11 renderer (takes effect on restart) in Preferences1, the default. Leave it at 1.
rfl_versionSave levels as RFL version: in Preferences305 (the default, Alpine Faction 1.4) or 304 (Alpine Faction 1.3). Takes effect at once.
selected_colorChange Color, next to Selected brush color: in Preferencesthe highlight colour of selected brushes and objects, as a number. The default is red. Takes effect at once.
msaaAntialiasing (MSAA): in Preferences1 (Off, the default), 2, 4 or 8. Takes effect the next time RED+ starts.
anisotropyTexture filtering: in Preferences1 (Off), 2, 4, 8 or 16 (the default). Takes effect the next time RED+ starts.
hole_lines_defaultRebuild with hole lines on by default in Preferences1 on, 0 off (the default). At every start, 1 turns on Level, Rebuild with hole lines.
texbrowser_extrasTexture Browser additions: RED+ box, tooltips, tile tags, checkerboard in Preferences1 (the default) or 0. Read each time the Texture Browser opens.
gas_previewShow gas regions in Free Look, as in the game in Preferences1 (the default) or 0.
draw_skyView, Draw Sky (Like in-game)1 (the default) or 0: whether Draw Sky is on when RED+ starts.
texbrowser_type, texbrowser_show, texbrowser_all_foldersType:, Show: and Search all folders in the Texture Browserthe choices you made last.

[lighting]

KeyWritten byValues
lightmap_detailLightmap detail: in Level Propertiesas above. Maximum - sharpest, largest files writes high.

Other sections

SectionKeysWritten by
[shortcuts]keys that start with cmd_ or remap_Tools, Keyboard Shortcuts (RF+), and Keybindings in Tools > Preferences. A value is a key combination such as Ctrl+Shift+L. An empty value means the default key. See Keyboard shortcuts.
[mesh_browser]width, height, split, sortthe Browse Meshes window, when it closes: its size, the position of the divider, and the sort order (0 Name, 1 Most recent, 2 Size).
[colors]custom0 to custom15the colour dialog: its 16 custom colours.
[color_profiles]namesSave and Del next to Color profile: in the colour dialog: the profile names, separated by commas.
[color_profile_NAME], where NAME is a profile namecustom0 to custom15Save in the colour dialog: the 16 colours of that profile.
[bake_times]bake0 to bake23every finished bake: the times of your last 24 bakes, which Estimated bake time in Level Properties uses. The oldest record makes way for the newest.

The colour dialog is the one that every colour button in the editor opens.