I do sense a little hostility (maybe a little too agressive word choice) towards me.. hmm, don't know if I'm interpreting your posts wrongly Synthetic Soul.. but I know that I got an unwanted guest feeling at the moment. Let's make it clear; I do not want to argue or raise any bad feelings whatsoever here. I just came here to share because I thought that I had something to give to the REACT development. I'm sorry if I have caused harm. It's sometimes hard to be clear and concise when you want to keep the post size down and at the same time you're trying to describe your problems/whatever understandably.. and of course there's the language barrier too (english is not my mother language).
Well, in any case, I honestly think that you, Synthetic Soul, should (if you want to) take over the REACT development with blessing from Tycho. You've been the real "driver" for a long time now. I really would like to see REACT progress, now the development is at stand still (well almost if you don't count your inputs to your mod).
-------
Ok, I'm posting couple of suggestion/insights and enhancements here:
- Add ini-setting based "Encodedby" setting.
- Add the whole REACT version to "Version" ini-setting and make the variable usable in cfg-files.
- track.cfg: Add "IF @Debug@==1 ECHO ON" command after every (except the first in line 1) "@ECHO OFF" command so that the debug spits out rest of the commands if "Debug=1" option is used.
- After I studied the REACT-image.cfg, I spotted that if you have given a "discname" then the "discnumber" and "totaldiscs" are not not written because there is a GOTO jump after the "discname"?! (GOTO :end_discnumber) I don't know if this is the way it was meant to be but I guess that somebody would like to have both "discname" and "discnumber" / "totaldiscs" tags written?
- using metaflac without glob.exe tool (remember to change the @Tools@ to point to the dir where metaflac is):
IF %add_rg%==1 (
SETLOCAL ENABLEDELAYEDEXPANSION
SET flacfiles=
FOR %%f IN (*.flac) DO SET flacfiles=!flacfiles! "%%f"
"@Tools@\metaflac.exe" %RG_MetaFlac% !flacfiles!
SETLOCAL DISABLEDELAYEDEXPANSION
)
- Get Flac version from the executable. (remember to change the @Tools@ to point to the dir where flac is):
Use %Ver_Flac% where ever you like.
Put the following code after REM ============== Begin Main Script ================== line
REM ** Get flac version
SET Ver_Flac=
FOR /F "delims=" %%i IN ('"@Tools@\flac.exe" --version') DO SET Ver_Flac=%%i
- Use correct last track number in track mode if data track(s) are present in the CD. Makes sure that the post-processing works also.
1. You must have CreateAllCuesheets setting set to 1 in REACT.ini!
2. Change all @track@ and @numtracks@ variables to $track$ and %LastTrackNum%.
3. Put the following code before the TITLE @track@/@numtracks@ - "@album@" line in row 3.
REM ** Read the REAL last AUDIO track number from cuesheet. Number is zero-padded.
SET LastTrackNum=
IF EXIST "@albumfile@.[mg].cue" (
FOR /F "tokens=2 delims= " %%i IN ('FINDSTR /R "TRACK.[0-9][0-9].AUDIO" "@albumfile@.[mg].cue"') DO SET LastTrackNum=%%i
) ELSE (
SET LastTrackNum=@numtracks@
)
- Add tag about EAC and REACT
1. You must have CreateAllCuesheets setting set to 1 in REACT.ini!
2. Add ReactVersion=2.0.ssb16j (custom) line to [UserSettings] section of your REACT.ini. (You have to change it manually everytime you upgrade to new version.)
3. Use %Ripper% variable where ever you like. Example: -T ripper="%Ripper%" in flac file encoding.
4. Put the following code after REM ============== Begin Main Script ================== line
REM ** Get EAC (from cuesheet) & REACT (from REACT.ini) versions
SET EacVer=
IF EXIST "@albumfile@.[mg].cue" (
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /F "tokens=4 delims= " %%i IN ('FINDSTR /R "REM.COMMENT..ExactAudioCopy.*" "@albumfile@.[mg].cue"') DO SET EacVer=%%i
REM ** Remove trailing quote char
SET EacVer=!EacVer:"=!
SETLOCAL DISABLEDELAYEDEXPANSION
)
SET Ripper=EAC %EacVer% / REACT @ReactVersion@
Little OT but.. take your time Synthetic Soul, I hate to see somebody go mad or sad. Take a looooong break and spend more time with your lovely family (yes, I looked at your profile). I can't understand how you've so much time to dedicate to this project. THANKS A MILLION FOR YOUR WORK!
EDIT: Added more instructions to code samples.
EDIT2: Moved one problem description to another post #840.