How to modify the game's configuration

From Wolfire Games Wiki
Jump to: navigation, search

While Overgrowth does not currently provide a way to adjust settings in game, users may adjust their configuration by modifying their config.txt file. The file is a plain text file that is readable by any normal text editor (such as TextEdit for Mac or Notepad for Windows).

Note: There is now a community made tool available, the SUMLauncher, which includes a config editor.


Contents

Mac Location

Macintosh HD/Users/~/Library/Application Support/Overgrowth/Data/config.txt

where ~ is your username.

Note: If you are using Lion, your library folder is hidden by default... in the finder, click the "Go" menu, then Press Option, and Library will appear in the list.

Alternatively you can find out how to unhide your Library folder permanently here.

Windows Location

My Documents\Wolfire\Overgrowth\Data\config.txt

Note: NOT Program Files\Wolfire\Overgrowth\Data!

Linux Location

~/.local/share/Overgrowth/Data/config.txt

The configuration file will be created when Overgrowth is started for the first time.

Settings

Setting Default Value Description
screenwidth 800 The game's horizontal resolution.
screenheight 600 The game's vertical resolution.
fullscreen false Determines whether to run in full screen or windowed mode.
vsync false Limits the framerate to match the user's monitor refresh rate (smooths out the framerate).
multisample 0 Determines the level of anti-aliasing (smooths out jagged edges, at the cost of performance).
anisotropy 0 Determines the level of anisotropic filtering (increases the quality of textures drawn far away, at the cost of performance).
post_effects false Determines whether to display post effects.
shaders true Determines whether to use shaders.
texture_reduce 1 Determines the level to which the texture resolutions should be reduced (higher numbers will cause blurriness, but increase performance).
gamma_correct true Determines whether to auto-correct gamma levels.
fps_label false Determines whether to display the current fps (frames per second) on screen.
sound_label false Determines whether to display all active sounds on screen.
visible_raycasts false Determines whether to display lines representing all AIs' visibility.
visible_sound_spheres false Determines whether to display spheres representing the distance sounds travel (such as running).
editor_mode false Determines whether to start the game in player mode (false) or editor mode (true).
invert_y_look false Determines whether to invert the y-axis controls (looking up/down).
music true Determines whether the in-game music is enabled.
media_mode false Determines whether to disable the in-game interface.
baked_shadows true Determines whether to use the pre-baked shadows (true) or cascaded shadow maps (false).
debug_key_presses false Determines whether to enable the use of debug keys.
auto_camera false Determines whether to have the camera automatically return to a position behind the player.
key[quit] esc Exits from player mode into editor mode, and opens a menu allowing the user to return to the main menu.
key[slow] tab Toggles slow motion.
key[fast] \
key[crouch] lshift Causes the player to crouch.
key[jump] space Causes the player to jump.
key[screenshot] f7 Captures a screenshot (saved in /Data/Screenshots/)
key[console] ` Toggles the game console.
key[left] a Causes the player to move to the left.
key[right] d Causes the player to move to the right.
key[up] w Causes the player to move forward.
key[down] s Causes the player to move backward.
key[item] e Causes the player to put a weapon to your waist or into a scabbard on your waist.
key[drop] q Causes the player to pick up the weapon, combination of left shift and q will drop an item.
key[chat] t Brings up the chat interface.
key[rclick] rshift Alternate key used for "right clicking".
xbox_look_sensitivity 1.5 Sensitivity of an attached Xbox controller.
xbox[jump] RB Xbox jump button.
xbox[crouch] LB Xbox crouch button.
xbox[attack] RT Xbox attack button.
xbox[grab] LT Xbox grab button.
xbox[item] A Xbox item button.
xbox[drop] X Xbox drop button.
controller[movex] axis1 Controller axis mapped for movement along the x-axis.
controller[movey] axis2 Controller axis mapped for movement along the y-axis.
controller[lookx] axis5 Controller axis mapped for looking along the x-axis.
controller[looky] axis4 Controller axis mapped for looking along the y-axis.
controller[jump] button6 Controller jump button.
controller[crouch] button5 Controller crouch button.
controller[item] button1 Controller item button.
controller[drop] button3 Controller drop button.
controller[attack] axis3<-0.5 Controller attack "button" (default mapping is set to an axis being less than half full in a negative direction).
controller[grab] axis3>0.5 Controller grab "button" (default mapping is set to an axis being greater than half full in a positive direction).
blood 1 Disable or enable blood

Controller Setup

Since alpha 150, external controller options have been added to the config.txt file. The following guide will help you configure your controller to properly work with Overgrowth.

Note: Currently the guide only targets Windows 7 users. Mac users may refer to Anton's guide.

First, make sure your controller is plugged in to your computer.

Next, open the start menu and click on Control Panel (located on the right side). Once opened, make sure the view is set to Large Icons (switchable in the upper right corner). Select Devices and Printers.

You should see your controller listed under Devices. Right click it, and select Game Controller Settings. The Game Controllers window will appear. Make sure your controller is selected, then click on Properties.

Once again, a new window should appear - make sure that the view is set to the Test tab. In this view, you will be able to determine which physical button is mapped to each virtual button. Play around with your controller to confirm that everything is working properly, and take note of the button mappings.

Now navigate to and open up your config.txt file (as described above). Rearrange the mappings in the file to match your desired controller setup.

Once you have everything modified, save the config.txt file and launch Overgrowth in order to test the new configuration.

Personal tools