set nwatowavpath=..\僣乕儖\NWA仺WAV曄姺僣乕儖\nwatowav.exe
if not exist %nwatowavpath% (set nwatowavpath=nwatowav.exe)
if not exist %nwatowavpath% (goto :EOF)

set rewritedir=%1
:MAKEPATH_LOOP
shift
if "%1"=="" goto :NWATOWAV_START
set rewritedir=%rewritedir% %1
goto :MAKEPATH_LOOP

:NWATOWAV_START
%nwatowavpath%   "%rewritedir%BGM001.nwa"  "%rewritedir%BGM001.wav"
%nwatowavpath%   "%rewritedir%BGM002.nwa"  "%rewritedir%BGM002.wav"
%nwatowavpath%   "%rewritedir%BGM003.nwa"  "%rewritedir%BGM003.wav"
%nwatowavpath%   "%rewritedir%BGM004.nwa"  "%rewritedir%BGM004.wav"
%nwatowavpath%   "%rewritedir%BGM005.nwa"  "%rewritedir%BGM005.wav"
%nwatowavpath%   "%rewritedir%BGM006.nwa"  "%rewritedir%BGM006.wav"
%nwatowavpath%   "%rewritedir%BGM007.nwa"  "%rewritedir%BGM007.wav"
%nwatowavpath%   "%rewritedir%BGM008.nwa"  "%rewritedir%BGM008.wav"
%nwatowavpath%   "%rewritedir%BGM009.nwa"  "%rewritedir%BGM009.wav"
%nwatowavpath%   "%rewritedir%BGM010.nwa"  "%rewritedir%BGM010.wav"
%nwatowavpath%   "%rewritedir%BGM011.nwa"  "%rewritedir%BGM011.wav"
%nwatowavpath%   "%rewritedir%BGM012.nwa"  "%rewritedir%BGM012.wav"
%nwatowavpath%   "%rewritedir%BGM013.nwa"  "%rewritedir%BGM013.wav"
%nwatowavpath%   "%rewritedir%BGM014.nwa"  "%rewritedir%BGM014.wav"
%nwatowavpath%   "%rewritedir%BGM015.nwa"  "%rewritedir%BGM015.wav"
%nwatowavpath%   "%rewritedir%BGM016.nwa"  "%rewritedir%BGM016.wav"
%nwatowavpath%   "%rewritedir%BGM017.nwa"  "%rewritedir%BGM017.wav"
%nwatowavpath%   "%rewritedir%BGM018.nwa"  "%rewritedir%BGM018.wav"
%nwatowavpath%   "%rewritedir%BGM019.nwa"  "%rewritedir%BGM019.wav"
%nwatowavpath%   "%rewritedir%BGM020.nwa"  "%rewritedir%BGM020.wav"
%nwatowavpath%   "%rewritedir%BGM021.nwa"  "%rewritedir%BGM021.wav"
%nwatowavpath%   "%rewritedir%BGM022.nwa"  "%rewritedir%BGM022.wav"
%nwatowavpath%   "%rewritedir%BGM023.nwa"  "%rewritedir%BGM023.wav"
%nwatowavpath%   "%rewritedir%BGM024.nwa"  "%rewritedir%BGM024.wav"
%nwatowavpath%   "%rewritedir%BGM025.nwa"  "%rewritedir%BGM025.wav"
%nwatowavpath%   "%rewritedir%BGM026.nwa"  "%rewritedir%BGM026.wav"
%nwatowavpath%   "%rewritedir%BGM027.nwa"  "%rewritedir%BGM027.wav"
%nwatowavpath%   "%rewritedir%BGM028.nwa"  "%rewritedir%BGM028.wav"
%nwatowavpath%   "%rewritedir%BGM029.nwa"  "%rewritedir%BGM029.wav"
%nwatowavpath%   "%rewritedir%BGM030.nwa"  "%rewritedir%BGM030.wav"
%nwatowavpath%   "%rewritedir%BGM031.nwa"  "%rewritedir%BGM031.wav"
%nwatowavpath%   "%rewritedir%BGM032.nwa"  "%rewritedir%BGM032.wav"
%nwatowavpath%   "%rewritedir%BGM033.nwa"  "%rewritedir%BGM033.wav"
%nwatowavpath%   "%rewritedir%BGM034.nwa"  "%rewritedir%BGM034.wav"
%nwatowavpath%   "%rewritedir%BGM035.nwa"  "%rewritedir%BGM035.wav"
%nwatowavpath%   "%rewritedir%BGM036.nwa"  "%rewritedir%BGM036.wav"
%nwatowavpath%   "%rewritedir%BGM037.nwa"  "%rewritedir%BGM037.wav"
%nwatowavpath%   "%rewritedir%BGM038.nwa"  "%rewritedir%BGM038.wav"
%nwatowavpath%   "%rewritedir%BGM039.nwa"  "%rewritedir%BGM039.wav"
%nwatowavpath%   "%rewritedir%BGM040.nwa"  "%rewritedir%BGM040.wav"
%nwatowavpath%   "%rewritedir%BGM041.nwa"  "%rewritedir%BGM041.wav"
%nwatowavpath%   "%rewritedir%BGM042.nwa"  "%rewritedir%BGM042.wav"
%nwatowavpath%   "%rewritedir%BGM043.nwa"  "%rewritedir%BGM043.wav"
%nwatowavpath%   "%rewritedir%BGM044.nwa"  "%rewritedir%BGM044.wav"
%nwatowavpath%   "%rewritedir%BGM045.nwa"  "%rewritedir%BGM045.wav"
%nwatowavpath%   "%rewritedir%BGM046.nwa"  "%rewritedir%BGM046.wav"
%nwatowavpath%   "%rewritedir%BGM047.nwa"  "%rewritedir%BGM047.wav"
%nwatowavpath%   "%rewritedir%BGM048.nwa"  "%rewritedir%BGM048.wav"
%nwatowavpath%   "%rewritedir%BGM049.nwa"  "%rewritedir%BGM049.wav"
%nwatowavpath%   "%rewritedir%BGM050.nwa"  "%rewritedir%BGM050.wav"
%nwatowavpath%   "%rewritedir%BGM051.nwa"  "%rewritedir%BGM051.wav"
%nwatowavpath%   "%rewritedir%BGM052.nwa"  "%rewritedir%BGM052.wav"
%nwatowavpath%   "%rewritedir%BGM053.nwa"  "%rewritedir%BGM053.wav"
%nwatowavpath%   "%rewritedir%BGM054.nwa"  "%rewritedir%BGM054.wav"
%nwatowavpath%   "%rewritedir%BGM055.nwa"  "%rewritedir%BGM055.wav"
%nwatowavpath%   "%rewritedir%BGM056.nwa"  "%rewritedir%BGM056.wav"
%nwatowavpath%   "%rewritedir%BGM057.nwa"  "%rewritedir%BGM057.wav"
