From fcdd2ad03651aeed4b0fe770ba97aa0eed585901 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 28 Sep 2022 11:23:04 -0700 Subject: [PATCH] Add Redumper constants --- CHANGELIST.md | 1 + MPF.Modules/Redumper/Constants.cs | 50 +++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 MPF.Modules/Redumper/Constants.cs diff --git a/CHANGELIST.md b/CHANGELIST.md index fb7dac00..fed59000 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -117,6 +117,7 @@ - Fix ringcode guide images - Add skeleton for Redumper - Download Redumper with AppVeyor +- Add Redumper constants ### 2.3 (2022-02-05) - Start overhauling Redump information pulling, again diff --git a/MPF.Modules/Redumper/Constants.cs b/MPF.Modules/Redumper/Constants.cs new file mode 100644 index 00000000..8131bba3 --- /dev/null +++ b/MPF.Modules/Redumper/Constants.cs @@ -0,0 +1,50 @@ +namespace MPF.Modules.Redumper +{ + /// + /// Top-level commands for Redumper + /// + public static class CommandStrings + { + public const string NONE = ""; + public const string CD = "cd"; + public const string Dump = "dump"; + public const string Info = "info"; + public const string Protection = "protection"; + public const string Refine = "refine"; + public const string Split = "split"; + } + + /// + /// Dumping flags for Redumper + /// + public static class FlagStrings + { + public const string AudioSilenceThreshold = "--audio-silence-threshold"; + public const string CDiCorrectOffset = "--cdi-correct-offset"; + public const string CDiReadyNormalize = "--cdi-ready-normalize"; + public const string DescrambleNew = "--descramble-new"; + public const string Drive = "--drive"; + public const string ForceOffset = "--force-offset"; + public const string ForceQTOC = "--force-qtoc"; + public const string ForceSplit = "--force-split"; + public const string ForceTOC = "--force-toc"; + public const string HelpLong = "--help"; + public const string HelpShort = "-h"; + public const string ISO9660Trim = "--iso9660-trim"; + public const string ImageName = "--image-name"; + public const string ImagePath = "--image-path"; + public const string LeaveUnchanged = "--leave-unchanged"; + public const string Overwrite = "--overwrite"; + public const string RefineSubchannel = "--refine-subchannel"; + public const string Retries = "--retries"; + public const string RingSize = "--ring-size"; + public const string Skip = "--skip"; + public const string SkipFill = "--skip-fill"; + public const string SkipLeadIn = "--skip-leadin"; + public const string SkipSize = "--skip-size"; + public const string Speed = "--speed"; + public const string StopLBA = "--stop-lba"; + public const string Unsupported = "--unsupported"; + public const string Verbose = "--verbose"; + } +} \ No newline at end of file