mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 02:12:43 +01:00
- added FMV & XA conversion scripts (BAT for now)
This commit is contained in:
parent
e934f057dc
commit
dace08ce3b
27
data/_convert_cd_fmv_xa.bat
Normal file
27
data/_convert_cd_fmv_xa.bat
Normal file
@ -0,0 +1,27 @@
|
||||
@echo off
|
||||
@cls
|
||||
|
||||
set CD1_PATH=install/Driver2CD1.bin
|
||||
set CD2_PATH=install/Driver2CD2.bin
|
||||
set JPSXDEC_PATH=install/jpsxdec
|
||||
|
||||
rem -- Check if Java is installed --
|
||||
java -version 1>nul 2>nul || (
|
||||
echo Please install Java runtime to continue.
|
||||
pause
|
||||
exit /b 2
|
||||
)
|
||||
|
||||
rem -- Extract CD movies and audios --
|
||||
|
||||
echo "Processing CD1..."
|
||||
call install/conv.bat %CD1_PATH% Driver2temp.idx
|
||||
|
||||
echo "Processing CD2..."
|
||||
call install/conv.bat %CD2_PATH% Driver2temp.idx
|
||||
|
||||
rem del Driver2temp.idx
|
||||
|
||||
echo DONE
|
||||
|
||||
pause
|
12
data/install/conv.bat
Normal file
12
data/install/conv.bat
Normal file
@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
@cls
|
||||
|
||||
echo BUILDING INDEXES
|
||||
java -jar %JPSXDEC_PATH%\jpsxdec.jar -f %1 -x %2
|
||||
|
||||
echo ---- CONVERTING VIDEO ----
|
||||
java -jar %JPSXDEC_PATH%\jpsxdec.jar -x %2 -a video -quality psx -vf avi:mjpg -up Lanczos3
|
||||
|
||||
echo ---- CONVERTING AUDIO ----
|
||||
java -jar %JPSXDEC_PATH%\jpsxdec.jar -x %2 -a audio -quality psx -af wav
|
||||
|
BIN
data/install/jpsxdec-lib.jar
Normal file
BIN
data/install/jpsxdec-lib.jar
Normal file
Binary file not shown.
BIN
data/install/jpsxdec.jar
Normal file
BIN
data/install/jpsxdec.jar
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user