Selfboot 45000LBA DATA/DATA Pack v1.4 - All-32bit edition
Sega Dreamcast Development and ResearchThanks for your great work familyGuy.
I'm a little worried with the sfd tools, how do you proceed for downsample the video ?
is it possible to downsample the .sfa sound files ?
I'm a little worried with the sfd tools, how do you proceed for downsample the video ?
is it possible to downsample the .sfa sound files ?
I also made a SDF downsampling script using the KVCD quantization matrix: http://www.mediafire.com/file/clcvhtdvtjhhv7y/SFD_Pack_3.rar
The script itself, a Windows .bat file, is the following:
Code:
@ECHO OFF REM 0:no 1:yes SET %downaudio=0 SET %adxsample=22050 SET %adxchannel=2 REM 0:no 1:yes SET %downvideo=1 REM Keep -r and -b to change, blank to use dafault values (source fps, 200k bitrate) SET %m1vfps= -r 24 SET %m1vbitrate= -b 1500k REM kvcd quantization matrix for optimal quality and compression, thanks atreyu187 for the tip! set %inter_matrix=-intermatrix 16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 set %intra_matrix=-intramatrix 8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79 ECHO. ECHO Demuxing... ECHO. cd in for %%1 in (*.sfd) do ..\demux %%1 ..\out\%%~n1 cd ..\out ren *.m2v *.m1v ren *.m2a *.sfa IF %downvideo%==0 goto AUDIO ECHO. ECHO Downsampling video ... ECHO. mkdir old move *.m1v old >nul cd old FOR %%1 in (*.m?v) do ( cd ..\.. ffmpeg -y -i out\old\%%1 -pass 1 -passlogfile log %m1Vbitrate% %m1vfps% %intra_matrix% %inter_matrix% junk%%~x1 ffmpeg -y -i out\old\%%1 -pass 2 -passlogfile log %m1Vbitrate% %m1vfps% %intra_matrix% %inter_matrix% out\%%1 cd out\old ) cd ..\.. del *.log >nul del junk.* rmdir /s /q out\old :AUDIO IF %downaudio%==0 GOTO END ECHO. ECHO Downsampling audio ... ECHO. cd out mkdir old move *.sfa old >nul cd old copy ..\..\adx2wav.exe adx2wav.exe >nul copy ..\..\sox.exe sox.exe >nul copy ..\..\adxencd.exe ..\adxencd.exe >nul FOR %%1 in (*.sfa) do adx2wav %%1 FOR %%1 in (*.wav) do sox %%1 -r %adxsample% -c %adxchannel% ..\%%1 cd .. FOR %%1 in (*.wav) do adxencd %%1 .\ del old\adx2wav.exe >nul del old\sox.exe >nul del adxencd.exe >nul del *.wav >nul rmdir /s /q old cd .. ECHO. ECHO. ECHO Now please run ADXConverter.exe on the out folder in ADX to SFA mode! ECHO Press a key when done! ECHO. ECHO. pause >nul :END ECHO. ECHO Multiplexing sfd files ... ECHO. copy sfdmux.exe out\sfdmux.exe >nul copy sfdmux.dll out\sfdmux.dll >nul cd out FOR %%1 in (..\in\*.sfd) do sfdmux -A=%%~n1_c0.sfa -V=%%~n1_e0.m1v -S=%%~n1.sfd del *.sfa >nul del *.adx >nul del *.m1v >nul del sfdmux.exe >nul del sfdmux.dll >nul cd .. ECHO. ECHO DONE! ECHO. pause
Great thanks 

what i do like in that sfd downsample tool is the downsample is barely visible.
Original thread: https://assemblergames.com/threads/selfboot-45000lba-data-data-pack-v1-4-all-32bit-edition.41388/