-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.ini
232 lines (180 loc) · 7.2 KB
/
config.ini
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# ______ ___ __ __ __
# | .-----.-----.' _|__.-----. |__.-----|__|
# | ---| _ | | _| | _ |__| | | |
# |______|_____|__|__|__| |__|___ |__|__|__|__|__|
# |_____|
#
# From ProffieOS 7.x forward, if there are multiple config.ini files in the font search path,
# they will all be read. Values specified in the first one will take precedence over
# values specified in the second one, and so forth.
# In ProffieOS 6.x and earlier, only once a config.ini was found, no more files were read.
#
# This specifies how many milliseconds before the end of the "out" sound the hum
# starts to fade in. Default 100
humStart=2500
# From ProffieOS 7.x, you can use ProffieOSHumDelay to specify how many milliseconds
# from the beginning of "out" to start the hum. If both ProffieOSHumDelay and humStart
# are specified, then ProffieOSHumDelay is the one that will count.
#ProffieOSHumDelay=-1
# The volume of the hum sound. Can be 0-16, where 0 is muted.
# Default 15
volHum=15
# The volume of all effect sounds. Can be 0-16, where 0 is muted.
# Default 16
volEff=16
# How fast (degrees per second) we have to swing before a swing effect is
# triggered. Default 250.
ProffieOSSwingSpeedThreshold=250
# How much to bend the response curve between swing speed and swing volume.
# Can be 0.01 - 2.0, where value of 1.0 will result in no bending. Default 0.5
ProffieOSSwingVolumeSharpness=0.5
# The volume multiplier when swings are at the swing speed threshold.
# Can be 1.0 to 3.0. Default 2.0
ProffieOSMaxSwingVolume=2.0
# Specify what fraction of swing that must be played before a new swing can be
# started. Can be 0.0-1.0. Defaults to 0.5 (50%).
ProffieOSSwingOverlap=0.5
# How much to duck the hum when the swing is playing.
# Defaults to 0.2 (hum volume is decreased by 20% of swing volume)
ProffieOSSmoothSwingDucking=0.2
# How slow (degrees per second) the swing has to be before it's not considered a
# swing anymore. Default 200.
ProffieOSSwingLowerThreshold=200
# Only used for non-smoothswing fonts. Specifies how aggressive a swing has to be to be considered a slash. Once we
# reach the ProffieOSSwingSpeedThreshold, rate of swing speed change is used to
# determine if it's a swing or a slash. Default 260
ProffieOSSlashAccelerationThreshold=260
# If #define ENABLE_SPINS is defined. Number of degrees the blade must travel while staying above the
# swing threshold in order to trigger a spin sound. Default is 360 or
# one full rotation.
ProffieOSSpinDegrees=360.0
# ---- Features below supported as of ProffieOS 6 ---- #
# Minimum acceleration for Accent Swing file Selection
#recommended value is 20.0 ~ 30.0
ProffieOSMinSwingAcceleration=20.0
# Maximum acceleration for Accent Swing file Selection
#must be higher than Min value to enable selection
#recommended value is 100.0 ~ 150.0
ProffieOSMaxSwingAcceleration=100.0
# Set the volume for each effect individually, in percent.
# 50 makes it half as loud. 200 makes it twice as loud.
# Maximum allowed value is currently 255. The default is 100.
# EFFECTNAME can be "clash", “preon”, “out”, “pstoff”, etc.
# Default 100
# ProffieOS.SFX.EFFECTNAME.volume=100
ProffieOS.SFX.boot.volume=75
# Match sequential effects such as preon->out.wav files
# EFFECTNAME can be “preon”, “out”, “pstoff”, etc.
# Set to 1 *AND* have the same number of files in the second effect to activate this feature.
# ProffieOS.SFX.EFFECTNAME.paired=1
# For example:
# pair preon -> out.wavs
ProffieOS.SFX.preon.paired=1
# pair in -> pstoff.wavs
ProffieOS.SFX.in.paired=1
# StabAccelerationThreshold is the G force required to trigger a stab
# event. Stab events only happen if the saber is NOT swinging but
# moved forward in a stabbing motion and the acceleration is greater
# than the threshold. Default is 3.0 G. Lower values mean less
# force is required to trigger a stab event, higher values mean more
# force. NOTE: This applies to Plecter and smooth swing fonts
ProffieOSStabAccelerationThreshold=1.0
# ---- Features below supported as of ProffieOS 7 ---- #
# bgnlock -> lock
ProffieOS.SFX.bgnlock.paired=1
# lock -> endlock
ProffieOS.SFX.lock.paired=1
ProffieOS.SFX.bgndrag.paired=1
ProffieOS.SFX.drag.paired=1
ProffieOS.SFX.bgnlb.paired=1
ProffieOS.SFX.lb.paired=1
ProffieOS.SFX.bgnmelt.paired=1
ProffieOS.SFX.melt.paired=1
ProffieOS.SFX.bgnarm.paired=1
# armhum -> endarm (if disarmed) -> boom
ProffieOS.SFX.armhum.paired=1
# out -> hum
ProffieOS.SFX.out.paired=1
# hum -> in
# *Note* When multiple hum files exist,
# even if not the same number of files as in.wavs,
# (so it won't pair to them,) this also will loop the
# same hum sound until next ignition instead of randomly
# choosing a different file once the current hum ends,
ProffieOS.SFX.hum.paired=1
# Make smoothswings start in sync with hum start.
# Set to 1 to sync, or 0 to resume swings where last pair left off.
# Default 0
ProffieOSSmoothSwingHumstart=1
# -------- OLED -------- #
# For OLED displays. This specifies the frame rate of animations.
# If not specified (or set to zero) the frame rate will be 24 frames
# per second for non-looped animations. For looped animations, the
# frame rate will be set so that the loop takes one second.
ProffieOSAnimationFrameRate=0.0
# -------- IMAGE DURATIONS -------- #
# Below are the display durations.
# If commented out or not specified, the default is used.
# As of ProffieOS 7, effect IMAGES can use 0.0 to automatically
# sync to the effect sound file duration.
# Boot image duration
# Default -1.0
ProffieOSBootImageDuration=4000.0
# Font image duration
# Default 3000.0
ProffieOSFontImageDuration=0.0
# On image duration (if not looped)
# ProffieOSOnImageDuration=5000.0
# Blast image duration
# Default 1000.0
ProffieOSBlastImageDuration=0.0
# Clash image duration
# Default 500.0
ProffieOSClashImageDuration=0.0
# Force image duration
# Default 2000.0
ProffieOSForceImageDuration=0.0
# For OLED displays, the time a blade style's "message",
# static BMP, or loop animation will play when changing presets.
ProffieOSFontImageDuration=5000.0
# For OLED displays, the time an on.bmp will play
ProffieOSOnImageDuration=5000.0
# For OLED displays, the time a blst.bmp will play
ProffieOSBlastImageDuration=1000.0
# For OLED displays, the time a clsh.bmp will play
ProffieOSClashImageDuration=500.0
# For OLED displays, the time a force.bmp will play
ProffieOSForceImageDuration=1000.0
# -------- Images below supported as of ProffieOS 7 -------- #
# Text Message duration
# Default -1.0
ProffieOSTextMessageDuration=3500.0
# Preon always autosyncs
# Out image duration
# Default 2000.0
ProffieOSOutImageDuration=0.0
# In image duration
# Default 2000.0
ProffieOSInImageDuration=0.0
# Pstoff image duration
# Default 2000.0
ProffieOSPstoffImageDuration=0.0
# -------- Blaster Images -------- #
# Reload image duration
# Default 1000.0
ProffieOSReloadImageDuration=0.0
# Empty image duration
# Default 1000.0
ProffieOSEmptyImageDuration=0.0
# Jam image duration
# Default 1000.0
ProffieOSJamImageDuration=0.0
# Clip In image duration
# Default 1000.0
ProffieOSClipinImageDuration=0.0
# Clip Out image duration
# Default 1000.0
ProffieOSClipoutImageDuration=0.0
# Destruct image duration
# Default 10000.0
ProffieOSDestructImageDuration=0.0