/etc/trigger-rally.config.defs is in trigger-rally-data 0.6.5+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | <?xml version="1.0" ?>
<config>
<player
name="Player"
copydefplayers="yes"
skipsaves="4"
/>
<!-- Valid player names are alphanumerical "a-z A-Z 0-9"
with underscore "_" and space " ". Using wacky symbols
may seem to work at first but the resulting player profile
won't be loaded at game start.
-->
<!-- The "copydefplayers" setting can be "yes" or "no".
If copying is enabled, default players from the game's "data/defplayers/"
directory will be copied to the user's home if they are missing.
-->
<!-- The "skipsaves" number sets how many saves are skipped
before data is actually written to the player profile,
thereby reducing disk access.
Setting "skipsaves" to 0 will cause the game to re-save the
player profile each time a race is successfully completed.
Setting "skipsaves" to -1 will cause the game to only save
the player profile at game exit.
WARNING: if the game crashes with this setting, all player
progress may be lost!
Default value is 4, meaning: save at game end or at every
fifth race finished, whichever comes first.
-->
<video
automatic="yes"
width="800"
height="600"
bpp="0"
fullscreen="no"
requirergb="no"
requirealpha="no"
requiredepth="yes"
requirestencil="no"
stereo="none"
stereoeyeseparation="0.07"
stereoswapeyes="no"
/>
<!-- Automatic video mode ("automatic"):
yes - ignore user values and run fullscreen at desktop resolution and color depth
no - run with user-provided values for width, height and bpp
-->
<!-- Possible values for stereo:
none
quadbuffer - use hardware stereo support
red-blue - anaglyph
red-green - anaglyph
red-cyan - anaglyph
yellow-blue - anaglyph
-->
<audio
enginevolume="0.2"
sfxvolume="0.7"
codrivervolume="1.0"
/>
<!-- Possible range of volumes: 0 to 1.
enginevolume - sets the gain of the car's engine
sfxvolume - sets the (max) gain of wind, skids, crash, gear change, etc.
codrivervolume - sets the gain of the codriver's voice
-->
<graphics
anisotropy="4"
foliage="yes"
roadsigns="yes"
weather="yes"
snowflaketype="textured"
dirteffect="yes"
/>
<!--
anisotropy:
Sets the level of anisotropic filtering for textures.
The higher the value, the higher the quality of textures.
Its value should be a power of two, such as: 1, 2, 4, 8, 16.
Setting it to "off" causes anisotropic filtering to be turned off.
Setting it to "max" causes the highest supported value to be used.
(Note that "max" may not work on some computers.)
foliage:
Turns vegetation on and off.
"yes" means that bushes, grass and trees will be displayed.
"no" means that they won't be.
roadsigns:
Turns road signs on and off.
"yes" means that road signs and other sprites will be displayed.
"no" means that they won't be.
weather:
Turns weather effects on and off.
"yes" means that rain and snowfall will be displayed.
"no" means that they won't be.
snowflaketype:
Chooses the kind of snowflake used in levels with snowfall.
"point" - fast, but may not work on some computers
"square" - failsafe option but rather ugly
"textured" - the fancy, resource-heavy option
dirteffect:
Chooses whether or not to show dirt thrown by the wheels of the car.
"yes" - enable dirt effect (may reduce framerate)
"no" - disable dirt effect
-->
<!-- The possible paths of the data directory, ordered by decreasing priority.
If the first directory cannot be found, the next one is tried, and so on.
If none of the paths is valid then the game will fail to run.
Linux distro packagers: feel free to set the paths in accordance to the
installation directory you choose for the trigger-rally data package.
-->
<datadirectory>
<data path="../data" />
<data path="C:\Program Files\Trigger Rally\data" />
<data path="/usr/share/games/trigger-rally" />
<data path="/usr/local/share/games/trigger-rally" />
</datadirectory>
<parameters
drivingassist="0.33"
enablesound="yes"
enablecodriversigns="yes"
speedunit="mph"
codriver="ab"
codriversigns="plain"
codriversignslife="3.0"
codriversignsposx="0.0"
codriversignsposy="0.45"
codriversignsscale="0.2"
/>
<!-- Possible values for speedunit:
kph - Kilometres per hour
mph - Miles per hour
The chosen codriver "X" must have a valid directory as:
/data/sounds/codriver/X/
The codriver can be disabled by setting his name to "mime".
The chosen codriver sign set "S" must have a valid directory as:
/data/textures/CodriverSigns/S/
codriversignslife:
How many seconds before the codriver signs start fading.
Default: 3.0
codriversignsposx, codriversignsposy:
Coordinates of the codriver signs' center.
The coordinates pair (0, 0) represents the middle of the screen.
Default: (0, 0.45)
codriversignsscale:
The scale of the codriver signs.
A scale of 1.0 will cover the entire screen.
Default: 0.2
-->
<controls>
<keyboard enable="yes">
<key action="forward" id="SDLK_UP" />
<key action="back" id="SDLK_DOWN" />
<key action="left" id="SDLK_LEFT" />
<key action="right" id="SDLK_RIGHT" />
<key action="handbrake" id="SDLK_SPACE" />
<key action="recover" id="SDLK_r" />
<key action="recoveratcheckpoint" id="SDLK_q" />
<key action="cammode" id="SDLK_c" />
<key action="camleft" id="SDLK_PERIOD" />
<key action="camright" id="SDLK_COMMA" />
<key action="showmap" id="SDLK_m" />
<key action="pauserace" id="SDLK_p" />
<key action="showui" id="SDLK_n" />
<key action="showcheckpoint" id="SDLK_k" />
<key action="next" id="SDLK_COMMA" />
</keyboard>
<!-- For a list of SDLKey ID's visit:
http://wiki.libsdl.org/SDL_Keycode
-->
<!-- Typical joystick or wheel & pedals configuration -->
<joystick enable="no">
<axis action="forward" index="1" direction="+" deadzone="0.10" maxrange="1.00" />
<axis action="back" index="1" direction="-" deadzone="0.10" maxrange="1.00" />
<axis action="right" index="0" direction="+" deadzone="0.10" maxrange="1.00" />
<axis action="left" index="0" direction="-" deadzone="0.10" maxrange="1.00" />
<button action="handbrake" index="0" />
<button action="next" index="0" />
</joystick>
<!-- Typical joypad configuration -->
<joystick enable="no">
<button action="forward" index="0" />
<button action="back" index="1" />
<axis action="right" index="0" direction="+" deadzone="0.10" maxrange="1.00" />
<axis action="left" index="0" direction="-" deadzone="0.10" maxrange="1.00" />
<button action="handbrake" index="2" />
<button action="next" index="0" />
</joystick>
</controls>
</config>
|