Here is temporary solution (works for most logs):
@echo off
rem crc1632 - [url=http://www.mirkes.de/en/freeware/batch.php]http://www.mirkes.de/en/freeware/batch.php[/url]
set flac="E:\TEST\flac.exe"
set crc1632="E:\TEST\crc1632.exe"
rem takes first parameter as path to log and flac files
cd "%1"
%~d1
for %%f in (*.flac) do (
echo %%f
%flac% -d -c -f --totally-silent --force-raw-format --endian=little --sign=signed "%%f" | %crc1632% /m32
)
IF errorlevel=1 GOTO fail
for %%f in (*.log) do (
rem opens .log in notepad, to open in default app for .log files chage next line to: "%%f"
notepad.exe "%%f"
)
IF errorlevel=1 GOTO fail
GOTO end
:fail
echo.
echo Sth is wrong.
echo.
pause
:end
rem uncomment next line to prevent cmd window from closing
rem pause
Save as .bat and use in foo_run, total commander, windows explorer or any other tool
Could be 100% effective if I would know some way to compile Triza code. Maybe I will make own tool for this in c, for now this must be enough
Edit: small fix - added %~d1 to change drive.
Nice script. I tried it on flac ripped albums and it calculates nicely CRC's but the results aren't identical to the CRC's in the EAC logfile. I suppose the CRC's are different because in EAC I rip with the option "No use of null samples for CRC calculations" marked (EAC Options >> tab Extraction).