@echo off
set q3path=c:\program files\quake iii arena
echo Path is %q3path%.
echo.
echo.
if exist "%q3path%\baseq3\q3config.cfg" (
del "%q3path%\baseq3\q3config.cfg" >NUL
echo baseq3 config removed.
)
if exist "%q3path%\vogon-t1\q3config.cfg" (
del "%q3path%\vogon-t1\q3config.cfg" >NUL
echo t1 config removed.
)
if exist "%q3path%\vogon-t2\q3config.cfg" (
del "%q3path%\vogon-t2\q3config.cfg" >NUL
echo t2 config removed.
)
if exist "%q3path%\vogon-t3\q3config.cfg" (
del "%q3path%\vogon-t3\q3config.cfg" >NUL
echo t3 config removed.
)
if exist "%q3path%\vogon-tx\q3config.cfg" (
del "%q3path%\vogon-tx\q3config.cfg" >NUL
echo tx config removed.
)
echo.
echo.
:lp_edauto
set /p flag_edauto="Would you like to edit the Autoexec.cfg file now (y/n)?"
if %flag_edauto%==y (
start notepad.exe "%q3path%\baseq3\autoexec.cfg"
exit
) else (
if %flag_edauto%==n (
exit
) else (
echo Invalid option. Please enter 'y' or 'n' at the prompt, minus quotes.
goto lp_edauto
)
)#!/bin/bash
Q3DIR="$HOME/Library/Application Support/Quake3"
find "$Q3DIR" -iregex ".*vogon.*/q3config.cfg" -exec rm {};
AbsolutGojira wrote:bash version for mac / linux people
- Code: Select all
#!/bin/bash
Q3DIR="$HOME/Library/Application Support/Quake3"
find "$Q3DIR" -iregex ".*vogon.*/q3config.cfg" -exec rm {};
Stacie wrote:So what does all of this do exactly?
dyn wrote:5.) when server uses special gamedir, like ../Quake III Arena/vogon-t1, it will write and read q3config.cfg from there, overriding all, including command line

del /s /f q3config.cfg default.cfg
copy /y autoexec.cfg baseq3inspectorjimb wrote:Is the server not currently set up to read the config from vogon-t1? I can't seem to get my config to load in correctly even though it was working fine this morning and I didn't change anything.

Users browsing this forum: Ahrefs [Bot], CommonCrawl [Bot] and 0 guests