【BDAV】BDをRipして楽しむスレ Vol.28【AACS】
■ このスレッドは過去ログ倉庫に格納されています
0647cBBBDV1.cmd 改訂版 ^^;
2009/05/16(土) 20:19:37ID:UJ0/OPp3setlocal
set BDAV_DRIVE=
set WORK_DRIVE=
%~d0
cd "%~dp0"
if not "%~1"=="" if exist "%~1" set BDAV_DIR=%~1
if "%BDAV_DIR%"=="" set /p BDAV_DIR="Input Output Stream Directory (ex.c:\mydir[ENTER]) = "
if "%BDAV_DRIVE%"=="" set /p BDAV_DRIVE="Input BD/DVD Drive (ex.f[ENTER]) = "
if exist "%BDAV_DRIVE%:\AACS\MKB_RW.inf" goto blu_ray
if not exist "%BDAV_DRIVE%:\AACS_bd\MKB_RW.inf" goto endprog
if "%WORK_DRIVE%"=="" set /p WORK_DRIVE="Input Work DRIVE (ex.d[ENTER]) = "
if /i "%WORK_DRIVE%"=="%BDAV_DRIVE%" goto endprog
xcopy "%BDAV_DRIVE%:\AACS_bd" "%WORK_DRIVE%:\AACS\" /S /Y
set BDAV_BNLBA=00000000000000000000000000000000
if exist "%WORK_DRIVE%:\AACS\MKB_RW.inf" (goto v1oravcrec) else (goto endprog)
:blu_ray
if exist "bnlba.exe" for /f %%i in ('bnlba %BDAV_DRIVE%') do set BDAV_BNLBA=%%i
set /p BDAV_BNLBA="Input Binding Nonce LBA Extend(ex.16800[ENTER],default:%BDAV_BNLBA%) = "
set WORK_DRIVE=%BDAV_DRIVE%
:v1oravcrec
if exist "CPSKey.cfg" del "CPSKey.cfg"
aacskeys %WORK_DRIVE% w %BDAV_BNLBA%
if not exist "CPSKey.cfg" goto endprog
xcopy "%BDAV_DRIVE%:\BDAV\info.bdav" "%BDAV_DIR%\BDAV\" /Y
xcopy "%BDAV_DRIVE%:\BDAV" "%BDAV_DIR%\BDAV\" /T /Y
if exist "rpls22clr.exe" (for %%f in ("%BDAV_DRIVE%:\BDAV\PLAYLIST\*.rpls") do rpls22clr "%%f" "%BDAV_DIR%\BDAV\PLAYLIST\%%~nxf") else (xcopy "%BDAV_DRIVE%:\BDAV\PLAYLIST" "%BDAV_DIR%\BDAV\PLAYLIST\" /Y)
xcopy "%BDAV_DRIVE%:\BDAV\CLIPINF" "%BDAV_DIR%\BDAV\CLIPINF\" /Y
cBackupBluRay -c %BDAV_DRIVE% "%BDAV_DIR%\BDAV\STREAM"
:endprog
set /p BDAV_END="Input ENTER key for closing DOS Window. "
endlocal
■ このスレッドは過去ログ倉庫に格納されています