Skip to content

Configuring your Controls

andy edited this page Dec 31, 2020 · 1 revision

Start by running the game at least once and closing it, so that it can create a preferences file, prefs.json. This file will be overwritten on every close to save network connection preferences, so be sure not to make edits until after you've closed Avara. It is located in your user profile folder, you can use any text editor to edit it.

  • Windows: %UserProfile%\AppData\Roaming\Avaraline\Avara\
  • Mac: ~/Library/Application Support/Avaraline/Avara/
  • Linux: ~/.local/share/Avaraline/Avara/

On Windows you can browse to the directory by copying the above, pressing Win + R, pasting, and pressing enter. On macos, you can press Cmd + Shift + G to open the Go... window, paste in the above, and press enter.

Within the preferences file, under the keyboard section, each left hand value is a game action that may be taken, with the right hand being the key that you would like for that action. The names of the keys are in the leftmost column of this page describing SDL_Keycode, under the "Key Name" heading. Note that the modifier buttons are specific to the side of the keyboard they are on, for example, you can map Left Alt but not Alt.

This file allows you to set more than one button to a specific function by setting an action name to a quoted, comma separated list of values surrounded by [ ]:

"jump": [
    "Space",
    "Left Alt"
]

See the jump key or the fire key for an example.

mouseSensitivity is a value between 0 (less sensitive) and 2 (more sensitive). SDL mouse data differs from platform to platform, so you may need to experiment to get the correct sensitivity value.

Make sure you test your settings before joining a networked game! Nothing is worse than not having a booster key because you misspelled "Ctrl".