- added FMV & XA conversion scripts (BAT for now)

This commit is contained in:
Ilya Shurumov 2021-05-10 20:41:25 +06:00 committed by InspirationByte
parent e934f057dc
commit dace08ce3b
4 changed files with 39 additions and 0 deletions

View 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
View 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

Binary file not shown.

BIN
data/install/jpsxdec.jar Normal file

Binary file not shown.