-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
appconfig.de
125 lines (109 loc) · 3.47 KB
/
appconfig.de
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
# The Doomsday Engine Project -- Doomsday Client
#
# Copyright (c) 2013-2016 Jaakko Keränen <jaakko.keranen@iki.fi>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#----------------------------------------------------------------------------
# CONFIGURATION FOR THE DOOMSDAY CLIENT
#
# This module contains configuration related scripts for the client
# application. It is automatically imported by Config and used as needed.
#
# TODO: make sure the server doesn't run this
import gui
import Version
import Updater
import Log
def setDefaults(d)
# Applies the client's defaults.
# - d: Record where to set the values.
gui.setDefaults(d)
# Additional Log defaults.
d.log.filterBySubsystem = False
d.log.showMetadata = False
record d.alert()
generic = Log.WARNING
resource = Log.WARNING
map = Log.WARNING
script = Log.WARNING
gl = Log.WARNING
audio = Log.WARNING
input = Log.WARNING
network = Log.WARNING
# Alert notification dismissed after 3 minutes by default.
autoHide = 3 * 60
end
# Home.
record d.home
record d.home.columns
d.home.showUnplayableGames = True
d.home.showColumnDescription = True
d.home.columns.doom = True
d.home.columns.heretic = True
d.home.columns.hexen = True
d.home.columns.otherGames = True
d.home.columns.multiplayer = True
# Input defaults.
record d.input
record d.input.mouse
d.input.mouse.syncSensitivity = True
# Defaults for the automatic updater.
record d.updater()
frequency = Updater.WEEKLY
if Version.STABLE
channel = Updater.CHANNEL_STABLE
else
channel = Updater.CHANNEL_UNSTABLE
end
lastChecked = Time("")
onlyManually = (Version.OS == 'unix')
autoDownload = False
delete = True
downloadPath = "${DEFAULT}"
deleteAtStartup = ""
end
# Console defaults.
record d.console()
snap = True
script = False
end
# Resource settings.
record d.resource
d.resource.iwadFolder = ''
d.resource.packageFolder = ''
d.resource.noHighResTex = False
d.resource.noHighResPatches = False
d.resource.highResWithPWAD = True
# Renderer settings.
record d.render
d.render.pixelDensity = 1.0 # Overall pixel density.
# LensFx settings.
record d.render.fx
record d.render.fx.resize
d.render.fx.resize.factor = 1.0
# VR/3D settings.
record d.vr
record d.vr.oculusRift
d.vr.oculusRift.pixelDensity = 1.0
# Audio settings.
record d.audio
d.audio.soundPlugin = 'fmod'
if Version.OS == 'macx'
d.audio.musicPlugin = 'fluidsynth'
d.audio.cdPlugin = 'dummy'
else
d.audio.musicPlugin = 'fmod'
d.audio.cdPlugin = 'fmod'
end
end