text
stringlengths
0
834k
if ""%%a"" == ""--help"" (
call set ""%%~1=1""
) else (
call set ""%%~1=%%~2""
)
shift
)
cls
echo _, __ __,
echo / ^| ^) (
echo /--^| _ _ _ _ __, -/ `. _ _ _ ,__ _
echo _/ ^|_/ (_/ / / /_(_/(_ ___/ (___^)(/_/ (_/ ^|/ (/_/ (_
echo.
echo.
echo _ _ _ __ ,
echo ( / ^) ^) / ( / / / _/_
echo / / / __ __/ ( / / ,_ __/ __, / __ _
echo / / (_(_^)(_/_/_^)_ (_,/__/^|_^)_(_/_(_/(_(__(_^)/ (_
echo /^|
echo (/
echo.
echo.
echo This Will Install/Update Arma3 Server Mods.
echo.
echo Start with --help to show the help messages.
echo.
if ""%--help%"" == ""1"" goto :help
echo.
echo Configure the Required Paths to Continue:
if ""%--mods%"" == """" (
set /p ""--mods=Path of the mods list: ""
echo.
)
if ""%--steam%"" == """" (
set /p ""--steam=Path of the steam cmd folder: ""
echo.
)
if ""%--server%"" == """" (
set /p ""--server=Path of the arma 3 server folder: ""
echo.
)
echo.
echo Done.
echo.
echo Configure the Steam Account to Continue:
echo ""%--pass%""
if ""%--user%"" == """" (
set /p ""--user=Username: ""
echo.
)
if ""%--pass%"" == """" (
set /p ""--pass=Pass: ""
echo.
)
echo.
echo Done
echo.
echo Loading mods from list
if not exist %--mods% (
echo.
echo Could not find mods list file in '%--mods%'!
echo.
pause
goto :eof
)
set ""i=0""
for /f %%A in (%--mods%) do (
set ""_id=%%A""
if not ""!_id:~0,2!"" == ""--"" (
:: echo !_id!
set ""Mods[!i!]=!_id!""
set /a ""i+=1""
)
)
echo.
echo Done
echo.
echo Downloading and Updating Mods
echo.