SETLOCAL
cd /d %DPATH%

%IF% "BGII - S*A" goto :failreq1
%IF% "Baldur*s Gate 2" goto :failreq1
goto :failreq2

:failreq1
%TXT1% | findstr @000 | Call %C% & %TXT% | findstr @656 | Call %C% & %TXT1% | findstr @001 | Call %C% & %TXT% | findstr @654 | Call %C% & %TXT1% | findstr @001 | Call %C% & pause
exit

:failreq2
%IFN% "data\bgee.bif" goto :failreq3
%TXT1% | findstr @000 | Call %C% & %TXT% | findstr @656 | Call %C% & %TXT1% | findstr @001 | Call %C% & %TXT% | findstr @655 | Call %C% & %TXT1% | findstr @001 | Call %C% & pause
exit

:failreq3

%IFN% "%BG1%\data\patch20.bif" goto :failreq4
%TXT1% | findstr @000 | Call %C% & %TXT% | findstr @656 | Call %C% & %TXT1% | findstr @001 | Call %C% & %TXT% | findstr @655 | Call %C% & %TXT1% | findstr @001 | Call %C% & pause
exit

:failreq4
