Code:
Title Compressor
echo off&color e
:start
RD /S /Q TMP DISK_1 DISK_2
cls
echo ################################################################################
echo # Alien Isolation #
echo ################################################################################
echo.
echo.
set GameDir=Y:\Alien Isolation
set Output1=Disk_1
set Output2=Disk_2
set EX=-xunins*
set Popt=--password=
set PASS=12345
set Option=arc a -ep1 -r -ed -ld -w.\TMP
set Method=-msrep+lzma:a2:mfbt4:d256m:fb128:mc1000:lc8
set arc=
set retry=
:data1
set arc=Setup-1.bin
if exist .\%Output1%\%arc% goto data2
%Option% %Method% %Popt%%PASS% %EX% -dp"%choice1%" .\%Output1%\%arc% "%GameDir%" [email protected]
if ERRORLEVEL 1 goto arcfail
:data2
set arc=Setup-2.bin
if exist .\%Output2%\%arc% goto end
%Option% %Method% %Popt%%PASS% %EX% -dp"%choice1%" .\%Output2%\%arc% "%GameDir%" [email protected]
if ERRORLEVEL 1 goto arcfail
:end
RD /S /Q TMP
echo.
echo.
pause
goto EOF
:arcfail
echo.
echo.WARNING: FreeArc returns an error in archive %arc%!
set /p retry=Do you wish to retry [Y/N]:
if /I "%retry%"=="Y" goto %arc:~0,5%
exit
:EOF
Last edited by Dante1995; 06-10-2014 at 14:48.
|