it also can't play sounds from video files. it only extracts them in oma format, which this tool doesn't support.
adding the "IF NOT EXIST "%2" ( lib\windows-x86\HIMDRender.exe -e -i %1 -o %2 )" line fixes that problem then, though it'd be better if the emulator could output those sounds in at3 format too.
and on that topic, it also can't play the sounds from the umd browser, since snd0.at3 isn't even extracted, so it can't be converted to play.
i went and edited my bat a bit to make it support all 3 tools.
not sure currently which tool is better. atrac3plus2wav supports more frequencies and supports oma, it could be a bit better, so i made the bat look for it first.
adding the "IF NOT EXIST "%2" ( lib\windows-x86\HIMDRender.exe -e -i %1 -o %2 )" line fixes that problem then, though it'd be better if the emulator could output those sounds in at3 format too.
and on that topic, it also can't play the sounds from the umd browser, since snd0.at3 isn't even extracted, so it can't be converted to play.
i went and edited my bat a bit to make it support all 3 tools.
Code:
@echo off
if exist lib\windows-x86\atrac3plus2wav.exe goto atrac3plus2wav
if exist lib\windows-x86\at3tool.exe goto at3tool
lib\windows-x86\HIMDRender.exe -e -i %1 -o %2
goto end
:at3tool
lib\windows-x86\at3tool.exe -d -repeat 1 %3 %2
IF NOT EXIST "%2" ( lib\windows-x86\HIMDRender.exe -e -i %1 -o %2 )
goto end
:atrac3plus2wav
set name=%~n1
lib\windows-x86\atrac3plus2wav.exe %1
move %1.wav %2
IF NOT EXIST "%2" ( lib\windows-x86\HIMDRender.exe -e -i %1 -o %2 )
goto end
:end