scripts? (You quoted my entire post)
The code for Custom scripts was stored as text in the settings.txt file.
excerpt from CUETools 2.1.4 settings.txt file.
CustomScript0Name=default
CustomScript0Code=return processor.Go();
CustomScript0Condition0=1
CustomScript0Condition1=0
CustomScript0Conditions=2
CustomScript1Name=only if found
CustomScript1Code=if (processor.ArVerify.AccResult != HttpStatusCode.OK)
= return processor.WriteReport();
=return processor.Go();
CustomScript1Condition0=1
CustomScript1Conditions=1
CustomScript2Name=fix offset
CustomScript2Code=if (processor.ArVerify.AccResult != HttpStatusCode.OK)
= return processor.WriteReport();
=processor.WriteOffset = 0;
=processor.Action = CUEAction.Verify;
=string status = processor.Go();
=uint tracksMatch;
=int bestOffset;
=processor.FindBestOffset(processor.Config.fixOffsetMinimumConfidence, !processor.Config.fixOffsetToNearest, out tracksMatch, out bestOffset);
=if (tracksMatch * 100 < processor.Config.fixOffsetMinimumTracksPercent * processor.TrackCount)
= return status;
=processor.WriteOffset = bestOffset;
=processor.Action = CUEAction.Encode;
=//MessageBox.Show(null, processor.AccurateRipLog, "Done"MessageBoxButtons.OK, MessageBoxIcon.Information);
=return processor.Go();
CustomScript2Condition0=0
CustomScript2Conditions=1
CustomScript3Name=encode if verified
CustomScript3Code=if (processor.ArVerify.AccResult != HttpStatusCode.OK)
= return processor.WriteReport();
=processor.Action = CUEAction.Verify;
=string status = processor.Go();
=uint tracksMatch;
=int bestOffset;
=processor.FindBestOffset(processor.Config.encodeWhenConfidence, false, out tracksMatch, out bestOffset);
=if (tracksMatch * 100 < processor.Config.encodeWhenPercent * processor.TrackCount || (processor.Config.encodeWhenZeroOffset && bestOffset != 0))
= return status;
=processor.Action = CUEAction.Encode;
=return processor.Go();
CustomScript3Condition0=0
CustomScript3Conditions=1
CustomScript4Name=repair
CustomScript4Code=
=processor.UseCUEToolsDB();
=processor.Action = CUEAction.Verify;
=if (processor.CTDB.DBStatus != null)
= return CTDB.DBStatus;
=processor.Go();
=processor.CTDB.DoVerify();
=if (!processor.CTDB.Verify.HasErrors)
= return "nothing to fix";
=if (!processor.CTDB.Verify.CanRecover)
= return "cannot fix";
=processor._useCUEToolsDBFix = true;
=processor.Action = CUEAction.Encode;
=return processor.Go();
CustomScript4Condition0=0
CustomScript4Conditions=1
CustomScripts=5
DefaultVerifyScript=default
DefaultVerifyAndConvertScript=default
but the code moved to the source when the CSScriptLibrary was removed.
There was also an option in the settings to compile a custom script prior to the removal of the CSScriptLibrary.
http://cue.tools/wiki/CUETools_Advanced_Settings:_Scripts
The CSScriptLibrary was removed because it appeared the feature wasn't being used (scripts were not shared).