Skip to content

Tweakable Settings

#xoxor4d edited this page Aug 13, 2025 · 3 revisions

Console Commands

  • Map / Game Settings:
- `xo_debug_toggle_node_vis`          :: Toggle debug visualization of bsp leafs using the remix API  
- `xo_debug_scene_print`              :: Print choreography (vcd) infos (similar to scene_info cvar but only showing relevant data) (mapsettings)  
- `xo_debug_sound_print`              :: Toggle sound debug prints (HASH for mapsettings)  
- `xo_debug_toggle_model_info`        :: Toggle model debug visualization (mapsettings)  
 
- `xo_debug_toggle_pos_time`          :: Toggle debug prints about player position and time (might be useful for animated lights)
- `xo_debug_toggle_show_api_lights`   :: Toggle debug vis for lights added via the remixapi

- `xo_debug_toggle_unbake_model_info` :: Draw model name checksums for [UNBAKE] (mapsettings)
- `xo_mapsettings_get_unbake_info`    :: This log names of drawn models in the current frame to a logfile in portal2-rtx/logs/. Useful for MapSettings : [UNBAKE]

- `xo_mapsettings_update`             :: Reload the map_settings.toml file + map.conf   
- `xo_gamesettings_update`            :: Reload the game_settings.toml file 
  • Remix Variables:
- `xo_vars_parse_options`             :: Re-parse the rtx.conf and resets everything (incl. runtime settings - ignoring tex hashes)  
- `xo_vars_reset_all_options`         :: Reset all options (modified by .conf files) to the rtx.conf level  
- `xo_vars_clear_transitions`         :: Clear all ongoing transitions



GameSettings

  • The game_settings.toml file in l4d2-rtx can be used to tweak certain features of the compatibility mod.
  • The file will be automatically created (default settings) when launching the compatibility mod.
  • Valid modifications of settings are considered and will be written back to the file when it gets re-generated
  • Addition or the deletion of settings via future updates should not interfere with your settings as long as the configured setting is still available
  • Use in-game console command xo_gamesettings_update to reload the file
  • Currently available settings:
Setting Description Type Default
lod_forcing The mod normally forces LOD0 for everything. Setting this to false disables that. bool true
force_graphic_settings This forces required graphic settings (Shader/Effect etc.) bool true
enable_3d_sky Enable tweaks required for the 3D skybox. Requires proper 3D skybox remix-runtime settings
(sky auto detect). Can/will crash the game when its getting unfocused.
bool false
default_nocull_distance The default distance (radius around player) where nothing will get culled.
Value is only used by certain anti-culling modes & if there isn't a manual
area/leaf override via a MapSettings entry.
float 600.0
flashlight_offset_player bool true
lod_forcing Offset (along forward vector) that will be applied to the remixApi flashlight of the player.
F: Forward - H: Horizontal - V: Vertical
3D Vector [ -15.50, -3.50, -5.00 ]
flashlight_offset_bot Offset (along forward vector) that will be applied to the remixApi flashlight of bots.
F: Forward - H: Horizontal - V: Vertical
3D Vector [ 22.00, 1.00, -4.00 ]
flashlight_intensity float true
flashlight_intensity Intensity of the remixApi flashlights. float 20000.0
flashlight_radius Radius of the remixApi flashlights. float 0.40
flashlight_angle Angle of the remixApi flashlights. float [0-180] 24.0
flashlight_softness Softnessof the remixApi flashlights. float [0-1] 0.3
flashlight_expo Exponent of the remixApi flashlights. float 0.8



Making changes to the rtx.conf ⚠️

In order for the config variable system to work, every available remix option needs to be present in the rtx.conf file.
This is achieved by NOT having the Save Changed Settings Only option enabled.

Now, if a map has per map tweaks or if there is an active event that utilizes the CONFIGVARS system,
saving remix runtime settings will save these settings to the rtx.conffile.


What do do

If you intent to tweak remix runtime settings (eg. adjust DLSS settings or mark textures) and want to save them afterwards, make sure to use console command:

xo_vars_parse_options

to restore all runtime settings (so they match the rtx.conf settings on disk) OR use the in-game gui (F5),
open the MapSettings tab and use the Reload rtx.conf button.

Use console command xo_mapsettings_update or the Reload MapSettings button afterwards to re-apply per map settings.

Clone this wiki locally