Skip to content

Update redumper, MPF options, SS sanity check#854

Merged
mnadareski merged 12 commits intoSabreTools:masterfrom
Deterous:master
May 30, 2025
Merged

Update redumper, MPF options, SS sanity check#854
mnadareski merged 12 commits intoSabreTools:masterfrom
Deterous:master

Conversation

@Deterous
Copy link
Member

  • Updates redumper to build 597 (New: Drive detection rework, XGD3 SS repairing)
    • Adds new redumper flags (ListRecommendedDrives, ListAllDrives, Rings)
    • Remove BE_CDDA as a read method
    • Redumper flags reordering
  • Improve redumper options
    • Simplify MPF's retries and plextor leadin retries options
    • Adds a DriveType option to MPF (extends Generic drive option to include PLEXTOR and LG_ASU* types)
  • Extra SS sanity check to prevent bad SS files from being created/hashed (.security file is still kept)

/// <summary>
/// Drive type option
/// </summary>
public enum DriveType
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Please keep the enums in alphabetical order

using Xunit;
using RedumperReadMethod = MPF.ExecutionContexts.Redumper.ReadMethod;
using RedumperSectorOrder = MPF.ExecutionContexts.Redumper.SectorOrder;
using RedumperDriveType = MPF.ExecutionContexts.Redumper.DriveType;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Alphabetical using mappings please

using RedumperReadMethod = MPF.ExecutionContexts.Redumper.ReadMethod;
using RedumperSectorOrder = MPF.ExecutionContexts.Redumper.SectorOrder;

using RedumperDriveType = MPF.ExecutionContexts.Redumper.DriveType;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Same here.

/// </summary>
/// <param name="order">RedumperDriveType value to convert</param>
/// <returns>String representing the value, if possible</returns>
public static string LongName(this RedumperDriveType? type)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Same for both methods here

using MPF.Frontend.ComboBoxItems;
using RedumperReadMethod = MPF.ExecutionContexts.Redumper.ReadMethod;
using RedumperSectorOrder = MPF.ExecutionContexts.Redumper.SectorOrder;
using RedumperDriveType = MPF.ExecutionContexts.Redumper.DriveType;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: You guessed it...

Comment on lines +435 to +436
<Label/>
<!-- Empty label for padding -->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This formatting got messed up at some point, but the comment should be on the same line as the empty label.

@mnadareski mnadareski merged commit 6260f1a into SabreTools:master May 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants