Skip to content

Commit 1acf89d

Browse files
committed
Move configurations to config.toml, add linux line endings
1 parent e566019 commit 1acf89d

File tree

7 files changed

+180
-109
lines changed

7 files changed

+180
-109
lines changed

.idea/ChristmasMicScriptRefactor.iml

-12
This file was deleted.

.idea/inspectionProfiles/Project_Default.xml

-6
This file was deleted.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121

2222
- Demo support will be enabled for all servers in TF2
2323

24-
- Please configure all paths and launch options in the script file
24+
- Please configure all paths and launch options in the config.toml file
2525

2626
- Please remove any TF2 mods you have that may overwrite con_logfile (Some huds may do this, mastercomfig does not do this)
2727

2828
- I have used Mp3tag to set artist and title metadata
2929

30-
- I recommend using VLC's built in filters to apply range compression to the audio, low audio volumes sound very bad with Steam's voice
30+
- I recommend using VLC's built in filters to apply range compression to the audio, low audio volumes sound very bad with Steam's voice, also using the equalizer can mitigate compression artifacts
3131

3232
### Binds
3333
- VLCPAUSE

config.toml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[TF2]
2+
# Path to the TF2 binary
3+
TF2Path = 'C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf_win64.exe'
4+
# Path to the TF2 console log output (con_logfile)
5+
ConLogPath = 'C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\console.log'
6+
# The port for TF2 to start its RCON server on
7+
TF2Port = 27015
8+
# Maximum authorization attempts for TF2 RCON before quitting
9+
MaxAuthRetries = 10
10+
# Detect line endings in console.log with LF instead of CRLF, only use this if you play TF2 on the native Linux port.
11+
LinuxLineEndings = false
12+
# Launch arguments to add to TF2 other than those required for this script to work
13+
TF2LaunchArguments = '''
14+
-novid
15+
-nojoy
16+
-nosteamcontroller
17+
-nohltv
18+
-particles 1
19+
-precachefontchars
20+
'''
21+
[VLC]
22+
# Path to VLC Media Player
23+
VLCPath = 'C:\Program Files\VideoLAN\VLC\vlc.exe'
24+
# Path to your Christmas playlist
25+
PlaylistPath = 'E:\Hella Gud Christmas Playlist\christmas.m3u'
26+
# Port for VLC to start its web server on
27+
VLCPort = 9090
28+
[Other]
29+
# Milliseconds between checking console.log and VLC Media Player's status, recommended values range from 100 to 1000
30+
RefreshMilliseconds = 400

deno.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"imports": {
33
"rcon-srcds": "npm:rcon-srcds@2.1.0",
44
"fast-xml-parser": "npm:fast-xml-parser@4.5.0",
5-
"html-entities": "npm:html-entities@2.5.2"
5+
"html-entities": "npm:html-entities@2.5.2",
6+
"@std/toml": "jsr:@std/toml@1.0.2"
67
}
78
}

deno.lock

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)