Contents
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=valueper line. A line that starts with a semicolon is a comment. The shipped file explains each setting in comments. RF_DIRandPLAY_LAUNCHERare 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
| Key | Values | Default | What it does |
|---|---|---|---|
RF_DIR | a folder | not set | Your 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_LAUNCHER | the full path to a game launcher | not set | The 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]
| Key | Values | Default | What it does |
|---|---|---|---|
lightmap_detail | standard, 4x or high; 2x and 8x also work | 4x | The 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 . Lightmap detail: in Level Properties writes this key when you click OK. See Lightmap detail and file size. |
[editor]
| Key | Values | Default | What it does |
|---|---|---|---|
force_render_everything | 1 or 0 | 1 | When 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_dialogs | 0 or 1 | 0 | 0: 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. |
mod | the name of a folder in the game's mods folder | empty | The mod RedPlus.exe starts the editor with. 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 . See Preferences.
[editor]
| Key | Written by | Values |
|---|---|---|
visual_styles | Modern window styling (takes effect on restart) in Preferences | 1 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. |
d3d11 | Direct3D 11 renderer (takes effect on restart) in Preferences | 1, the default. Leave it at 1. |
rfl_version | Save levels as RFL version: in Preferences | 305 (the default, Alpine Faction 1.4) or 304 (Alpine Faction 1.3). Takes effect at once. |
selected_color | Change Color, next to Selected brush color: in Preferences | the highlight colour of selected brushes and objects, as a number. The default is red. Takes effect at once. |
msaa | Antialiasing (MSAA): in Preferences | 1 (Off, the default), 2, 4 or 8. Takes effect the next time RED+ starts. |
anisotropy | Texture filtering: in Preferences | 1 (Off), 2, 4, 8 or 16 (the default). Takes effect the next time RED+ starts. |
hole_lines_default | Rebuild with hole lines on by default in Preferences | 1 on, 0 off (the default). At every start, 1 turns on . |
texbrowser_extras | Texture Browser additions: RED+ box, tooltips, tile tags, checkerboard in Preferences | 1 (the default) or 0. Read each time the Texture Browser opens. |
gas_preview | Show gas regions in Free Look, as in the game in Preferences | 1 (the default) or 0. |
draw_sky | 1 (the default) or 0: whether Draw Sky is on when RED+ starts. | |
texbrowser_type, texbrowser_show, texbrowser_all_folders | Type:, Show: and Search all folders in the Texture Browser | the choices you made last. |
[lighting]
| Key | Written by | Values |
|---|---|---|
lightmap_detail | Lightmap detail: in Level Properties | as above. Maximum - sharpest, largest files writes high. |
Other sections
| Section | Keys | Written by |
|---|---|---|
[shortcuts] | keys that start with cmd_ or remap_ | , 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, sort | the 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 custom15 | the colour dialog: its 16 custom colours. |
[color_profiles] | names | Save and Del next to Color profile: in the colour dialog: the profile names, separated by commas. |
[color_profile_NAME], where NAME is a profile name | custom0 to custom15 | Save in the colour dialog: the 16 colours of that profile. |
[bake_times] | bake0 to bake23 | every 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.