mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-13 21:31:22 +00:00
539 lines
43 KiB
XML
539 lines
43 KiB
XML
<coreWindows:WindowBase x:Class="MPF.UI.Windows.OptionsWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:core="clr-namespace:MPF.UI"
|
|
xmlns:coreWindows="clr-namespace:MPF.UI.Windows"
|
|
xmlns:viewModels="clr-namespace:MPF.Frontend.ViewModels;assembly=MPF.Frontend"
|
|
mc:Ignorable="d"
|
|
Width="515.132" WindowStyle="None"
|
|
WindowStartupLocation="CenterOwner" ResizeMode="CanMinimize" SizeToContent="Height"
|
|
AllowsTransparency="True" Background="Transparent">
|
|
|
|
<Window.DataContext>
|
|
<viewModels:OptionsViewModel/>
|
|
</Window.DataContext>
|
|
<Window.Resources>
|
|
<core:ElementConverter x:Key="ElementConverter" />
|
|
</Window.Resources>
|
|
|
|
<Border CornerRadius="8" Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" BorderBrush="Gray" BorderThickness="2">
|
|
<StackPanel Orientation="Vertical">
|
|
<Grid Margin="0,2,0,0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="25"/>
|
|
<ColumnDefinition Width="115"/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition Width="50"/>
|
|
<ColumnDefinition Width="5"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Image Grid.Column="0" Source="/Images/Icon.ico" Height="20" Width="20" Margin="1" MouseDown="TitleMouseDown" />
|
|
<Label Grid.Column="1" Grid.ColumnSpan="4" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" MouseDown="TitleMouseDown">
|
|
<Label.Content>
|
|
<TextBlock TextAlignment="Center"><Run FontWeight="Bold" Text="{Binding Path=Title, Mode=OneWay}" /></TextBlock>
|
|
</Label.Content>
|
|
<Label.ContextMenu>
|
|
<ContextMenu Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
|
|
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
|
|
Style="{DynamicResource CustomContextMenuStyle}">
|
|
<MenuItem Header="{DynamicResource MinimizeMenuItemString}" Click="MinimizeButtonClick" Width="185"
|
|
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
|
|
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
|
|
Template="{DynamicResource CustomMenuItemTemplate}"/>
|
|
<MenuItem Header="{DynamicResource CloseMenuItemString}" Click="CloseButtonClick" Width="185"
|
|
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
|
|
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
|
|
Template="{DynamicResource CustomMenuItemTemplate}"/>
|
|
</ContextMenu>
|
|
</Label.ContextMenu>
|
|
</Label>
|
|
<Grid Grid.Column="5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Button x:Name="MinimizeButton" Grid.Column="0" BorderThickness="0" Background="Transparent" Style="{DynamicResource CustomButtonStyle}" Click="MinimizeButtonClick">
|
|
<Path Data="M 0,0 L 10,0" Stroke="{Binding Path=Foreground,RelativeSource={RelativeSource AncestorType={x:Type Button}}}" StrokeThickness="1"/>
|
|
</Button>
|
|
<Button x:Name="CloseButton" Grid.Column="1" BorderThickness="0" Background="Transparent" Style="{DynamicResource CustomButtonStyle}" Click="CloseButtonClick">
|
|
<Path Data="M 0,0 L 12,12 M 0,12 L 12,0" Stroke="{Binding Path=Foreground,RelativeSource={RelativeSource AncestorType={x:Type Button}}}" StrokeThickness="1"/>
|
|
</Button>
|
|
</Grid>
|
|
</Grid>
|
|
|
|
<TabControl Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
|
|
Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
|
|
Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"
|
|
Style="{DynamicResource CustomTabControlStyle}">
|
|
<TabItem Header="{DynamicResource GeneralTabString}" Style="{DynamicResource CustomTabItemStyle}">
|
|
<StackPanel>
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource UserInterfaceGroupBoxString}">
|
|
<UniformGrid Columns="2" Rows="3">
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource EnableDarkModeCheckBoxString}"
|
|
IsChecked="{Binding Options.GUI.Theming.EnableDarkMode}"
|
|
ToolTip="(Experimental) Enable dark mode across the entire application" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource CheckForUpdatesCheckBoxString}"
|
|
IsChecked="{Binding Options.CheckForUpdatesOnStartup}"
|
|
ToolTip="Check for updates when the application starts" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource CopyURLToClipboardCheckBoxString}"
|
|
IsChecked="{Binding Options.GUI.CopyUpdateUrlToClipboard}"
|
|
ToolTip="If an update is found, try to copy the update URL to the clipboard" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource FastUpdateLabelCheckBoxString}"
|
|
IsChecked="{Binding Options.GUI.FastUpdateLabel}"
|
|
ToolTip="Bypasses disc checks to quickly update the output path. Use with caution!" Margin="0,4"
|
|
/>
|
|
|
|
<Label VerticalAlignment="Center" Content="{DynamicResource DefaultUILanguageLabelString}" HorizontalAlignment="Right" />
|
|
<ComboBox x:Name="DefaultInterfaceLanguageComboBox" Height="22" Width="200" HorizontalAlignment="Left"
|
|
ItemsSource="{Binding InterfaceLanguages}" SelectedItem="{Binding Options.GUI.DefaultInterfaceLanguage, Converter={StaticResource ElementConverter}, Mode=TwoWay}"
|
|
Style="{DynamicResource CustomComboBoxStyle}" />
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource DetectionGroupBoxString}">
|
|
<UniformGrid Columns="2" Rows="2">
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource SkipSystemDetectCheckBoxString}"
|
|
IsChecked="{Binding Options.GUI.SkipSystemDetection}"
|
|
ToolTip="Disable trying to guess system (may improve performance at startup)" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource NoFixedDrivesCheckBoxString}"
|
|
IsChecked="{Binding Options.GUI.IgnoreFixedDrives}"
|
|
ToolTip="Ignore hard drives and other fixed drives" Margin="0,4"
|
|
/>
|
|
|
|
<Label VerticalAlignment="Center" Content="{DynamicResource DefaultSystemLabelString}" HorizontalAlignment="Right" />
|
|
<ComboBox x:Name="DefaultSystemComboBox" Height="22" Width="200" HorizontalAlignment="Left"
|
|
ItemsSource="{Binding Systems}" SelectedItem="{Binding Options.Dumping.DefaultSystem, Converter={StaticResource ElementConverter}, Mode=TwoWay}"
|
|
SelectedIndex="0" Style="{DynamicResource CustomComboBoxStyle}">
|
|
<ComboBox.ItemContainerStyle>
|
|
<Style TargetType="{x:Type ComboBoxItem}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding IsHeader}" Value="True">
|
|
<Setter Property="IsEnabled" Value="False"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</ComboBox.ItemContainerStyle>
|
|
</ComboBox>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource LoggingGroupBoxString}">
|
|
<UniformGrid Columns="2" Rows="1">
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource VerboseLoggingCheckBoxString}"
|
|
IsChecked="{Binding Options.VerboseLogging}"
|
|
ToolTip="Display all logging statements" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource AutoOpenLogCheckBoxString}"
|
|
IsChecked="{Binding Options.GUI.OpenLogWindowAtStartup}"
|
|
ToolTip="Open the log panel when the program launches" Margin="0,4"
|
|
/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
</StackPanel>
|
|
</TabItem>
|
|
|
|
<TabItem Header="{DynamicResource PathsTabString}" Style="{DynamicResource CustomTabItemStyle}">
|
|
<Grid Margin="5,5,5,5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="2.0*" />
|
|
<ColumnDefinition Width="3.0*" />
|
|
<ColumnDefinition Width="0.3*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Content="{DynamicResource AaruPathLabelString}" />
|
|
<TextBox x:Name="AaruPathTextBox" Grid.Row="0" Grid.Column="1" Height="22" HorizontalAlignment="Stretch"
|
|
Text="{Binding Options.Dumping.AaruPath}" VerticalContentAlignment="Center" />
|
|
<Button x:Name="AaruPathButton" Grid.Row="0" Grid.Column="2" Height="22" Width="22" Content="..."
|
|
Style="{DynamicResource CustomButtonStyle}" />
|
|
|
|
<Label Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Content="{DynamicResource DiscImageCreatorPathLabelString}" />
|
|
<TextBox x:Name="DiscImageCreatorPathTextBox" Grid.Row="1" Grid.Column="1" Height="22" HorizontalAlignment="Stretch"
|
|
Text="{Binding Options.Dumping.DiscImageCreatorPath}" VerticalContentAlignment="Center" />
|
|
<Button x:Name="DiscImageCreatorPathButton" Grid.Row="1" Grid.Column="2" Height="22" Width="22" Content="..."
|
|
Style="{DynamicResource CustomButtonStyle}" />
|
|
|
|
<Label Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Content="{DynamicResource RedumperPathLabelString}" />
|
|
<TextBox x:Name="RedumperPathTextBox" Grid.Row="2" Grid.Column="1" Height="22" HorizontalAlignment="Stretch"
|
|
Text="{Binding Options.Dumping.RedumperPath}" VerticalContentAlignment="Center" />
|
|
<Button x:Name="RedumperPathButton" Grid.Row="2" Grid.Column="2" Height="22" Width="22" Content="..."
|
|
Style="{DynamicResource CustomButtonStyle}" />
|
|
|
|
<Label Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Content="{DynamicResource DefaultDumpingProgramLabelString}" />
|
|
<ComboBox x:Name="InternalProgramComboBox" Grid.Row="3" Grid.Column="1" Height="22" HorizontalAlignment="Stretch"
|
|
ItemsSource="{Binding InternalPrograms}" SelectedItem="{Binding Options.InternalProgram, Converter={StaticResource ElementConverter}, Mode=TwoWay}"
|
|
Style="{DynamicResource CustomComboBoxStyle}" />
|
|
|
|
<Label Grid.Row="4" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Content="{DynamicResource DefaultOutputPathLabelString}"
|
|
ToolTip="Variables allowed:
 %SYSTEM%	(System name, long)
 %SYS%		(System name, short)
 %MEDIA%	(Media type)
 %PROGRAM%	(Program name, long)
 %PROG%	(Program name, short)
 %LABEL%	(Volume label)
 %DATE%	(Current date)
 %DATETIME%	(Current date and time)" />
|
|
<TextBox x:Name="DefaultOutputPathTextBox" Grid.Row="4" Grid.Column="1" Height="22" HorizontalAlignment="Stretch"
|
|
Text="{Binding Options.Dumping.DefaultOutputPath}" VerticalContentAlignment="Center"
|
|
ToolTip="Variables allowed:
 %SYSTEM%	(System name, long)
 %SYS%		(System name, short)
 %MEDIA%	(Media type)
 %PROGRAM%	(Program name, long)
 %PROG%	(Program name, short)
 %LABEL%	(Volume label)
 %DATE%	(Current date)
 %DATETIME%	(Current date and time)" />
|
|
<Button x:Name="DefaultOutputPathButton" Grid.Row="4" Grid.Column="2" Height="22" Width="22" Content="..."
|
|
Style="{DynamicResource CustomButtonStyle}" />
|
|
</Grid>
|
|
</TabItem>
|
|
|
|
<TabItem Header="{DynamicResource DumpingTabString}" Style="{DynamicResource CustomTabItemStyle}">
|
|
<StackPanel>
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource DumpingGroupBoxString}">
|
|
<UniformGrid Columns="2" Rows="7">
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource ShowDiscInfoCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.MediaInformation.PromptForDiscInformation}"
|
|
ToolTip="Enable showing the media information output after dumping" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource PullAllInformationCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.MediaInformation.PullAllInformation}"
|
|
ToolTip="Instead of pulling a safe subset of data after dumping, enable pulling all comment and content data" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource EnableTabInputCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.MediaInformation.EnableTabsInInputFields}"
|
|
ToolTip="Enable entering tabs in supported input fields instead of tab navigation" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource EnableRedumpCompatibilityCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.MediaInformation.EnableRedumpCompatibility}"
|
|
ToolTip="Enable limiting outputs to only those supported by Redump" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource ShowEjectReminderCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.ShowDiscEjectReminder}"
|
|
ToolTip="Enable showing the disc eject reminder after information is gathered" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource AddPlaceholdersCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.MediaInformation.AddPlaceholders}"
|
|
ToolTip="Enable adding placeholder text in the output for required and optional fields" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource AddFilenameSuffixCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.AddFilenameSuffix}"
|
|
ToolTip="Enable appending the output filename to the generated files" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource OutputSubmissionJSONCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.OutputSubmissionJSON}"
|
|
ToolTip="Enable outputting a compressed JSON version of the submission info" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource IncludeArtifactsCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.IncludeArtifacts}" IsEnabled="{Binding Options.Processing.OutputSubmissionJSON}"
|
|
ToolTip="Include log files in serialized JSON data [NOT RECOMMENDED TO USE]"
|
|
ToolTipService.ShowOnDisabled="True" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource CompressLogFilesCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.CompressLogFiles}"
|
|
ToolTip="Compress output log files to reduce space" Margin="0,4"
|
|
/>
|
|
|
|
<Label VerticalAlignment="Center" Content="{DynamicResource LogCompressionLabelString}" HorizontalAlignment="Right" />
|
|
<ComboBox x:Name="LogCompressionComboBox" Height="22" Width="200" HorizontalAlignment="Left"
|
|
ItemsSource="{Binding LogCompressions}" SelectedItem="{Binding Options.Processing.LogCompression, Converter={StaticResource ElementConverter}, Mode=TwoWay}"
|
|
Style="{DynamicResource CustomComboBoxStyle}" IsEnabled="{Binding Options.Processing.CompressLogFiles}"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource DeleteUnnecessaryFilesCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.DeleteUnnecessaryFiles}"
|
|
ToolTip="Delete unnecesary output files to reduce space" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource CreatePS3IRDAfterDumpingCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.CreateIRDAfterDumping}"
|
|
ToolTip="Automatically creates an IRD file after dumping a PS3 disc" Margin="0,4"
|
|
/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource ProtectionGroupBoxString}">
|
|
<UniformGrid Columns="2" Rows="2">
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource EnableProtectionScanCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.ProtectionScanning.ScanForProtection}"
|
|
ToolTip="Enable automatic checking for copy protection on dumped media" Margin="0,4,0,0"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource ScanArchiveContentsCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.ProtectionScanning.ScanArchivesForProtection}"
|
|
ToolTip="Enable scanning archive contents during protection scanning (may drastically increase scanning time but is more accurate)" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource IncludeDebugInformationCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.ProtectionScanning.IncludeDebugProtectionInformation}"
|
|
ToolTip="Include debug information during protection scans" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource HideDriveLettersCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.ProtectionScanning.HideDriveLetters}"
|
|
ToolTip="Remove drive letters from protection scan output" Margin="0,4"
|
|
/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource DefaultSpeedsGroupBoxString}" Grid.ColumnSpan="2">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="80"/>
|
|
<ColumnDefinition Width="2.0*"/>
|
|
<ColumnDefinition Width="40"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Label Grid.Row="0" Grid.Column="0" Content="{DynamicResource CDLabelString}" />
|
|
<Slider x:Name="DumpSpeedCDSlider" Grid.Row="0" Grid.Column="1" Minimum="0" Maximum="72" IsSnapToTickEnabled="True" TickPlacement="BottomRight"
|
|
Ticks="{Binding Source={x:Static core:Constants.SpeedsForCDAsCollection}}"
|
|
Value="{Binding Options.Dumping.DumpSpeeds.CD}" />
|
|
<TextBox x:Name="DumpSpeedCDTextBox" Grid.Row="0" Grid.Column="2" Width="22" Height="22" TextAlignment="Center" IsReadOnly="True" VerticalAlignment="Center"
|
|
Text="{Binding ElementName=DumpSpeedCDSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" Background="LightGray" Foreground="Gray"/>
|
|
|
|
<Label Grid.Row="1" Grid.Column="0" Content="{DynamicResource DVDLabelString}" />
|
|
<Slider x:Name="DumpSpeedDVDSlider" Grid.Row="1" Grid.Column="1" Minimum="0" Maximum="24" IsSnapToTickEnabled="True" TickPlacement="BottomRight"
|
|
Ticks="{Binding Source={x:Static core:Constants.SpeedsForDVDAsCollection}}"
|
|
Value="{Binding Options.Dumping.DumpSpeeds.DVD}" />
|
|
<TextBox x:Name="DumpSpeedDVDTextBox" Grid.Row="1" Grid.Column="2" Width="22" Height="22" TextAlignment="Center" IsReadOnly="True" VerticalAlignment="Center"
|
|
Text="{Binding ElementName=DumpSpeedDVDSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" Background="LightGray" Foreground="Gray"/>
|
|
|
|
<Label Grid.Row="2" Grid.Column="0" Content="{DynamicResource HDDVDLabelString}" />
|
|
<Slider x:Name="DumpSpeedHDDVDSlider" Grid.Row="2" Grid.Column="1" Minimum="0" Maximum="24" IsSnapToTickEnabled="True" TickPlacement="BottomRight"
|
|
Ticks="{Binding Source={x:Static core:Constants.SpeedsForHDDVDAsCollection}}"
|
|
Value="{Binding Options.Dumping.DumpSpeeds.HDDVD}" />
|
|
<TextBox x:Name="DumpSpeedHDDVDTextBox" Grid.Row="2" Grid.Column="2" Width="22" Height="22" TextAlignment="Center" IsReadOnly="True" VerticalAlignment="Center"
|
|
Text="{Binding ElementName=DumpSpeedHDDVDSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" Background="LightGray" Foreground="Gray"/>
|
|
|
|
<Label Grid.Row="3" Grid.Column="0" Content="{DynamicResource BDLabelString}" />
|
|
<Slider x:Name="DumpSpeedBDSlider" Grid.Row="3" Grid.Column="1" Minimum="0" Maximum="16" IsSnapToTickEnabled="True" TickPlacement="BottomRight"
|
|
Ticks="{Binding Source={x:Static core:Constants.SpeedsForBDAsCollection}}"
|
|
Value="{Binding Options.Dumping.DumpSpeeds.Bluray}" />
|
|
<TextBox x:Name="DumpSpeedBDTextBox" Grid.Row="3" Grid.Column="2" Width="22" Height="22" TextAlignment="Center" IsReadOnly="True" VerticalAlignment="Center"
|
|
Text="{Binding ElementName=DumpSpeedBDSlider, Path=Value, UpdateSourceTrigger=PropertyChanged}" Background="LightGray" Foreground="Gray"/>
|
|
</Grid>
|
|
</GroupBox>
|
|
</StackPanel>
|
|
</TabItem>
|
|
|
|
<TabItem Header="{DynamicResource ProgramsTabString}" Style="{DynamicResource CustomTabItemStyle}">
|
|
<StackPanel>
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource AaruGroupBoxString}">
|
|
<UniformGrid Columns="2" Rows="3">
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource EnableDebugOutputCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.Aaru.EnableDebug}"
|
|
ToolTip="Enable debug output in logs" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource AaruEnableVerboseOutputCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.Aaru.EnableVerbose}"
|
|
ToolTip="Enable verbose output in logs" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource ForceDumpingCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.Aaru.ForceDumping}"
|
|
ToolTip="Enable forcing dump even if there are issues" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource StripPersonalDataCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.Aaru.StripPersonalData}"
|
|
ToolTip="Enable stripping of personally identifiable information from metadata" Margin="0,4,0,0"
|
|
/>
|
|
|
|
<Label Content="{DynamicResource AaruRereadTriesLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
|
<TextBox VerticalAlignment="Center" VerticalContentAlignment="Center" Width="200" HorizontalAlignment="Left"
|
|
Text="{Binding Options.Dumping.Aaru.RereadCount}"
|
|
ToolTip="Specifies how many rereads are attempted for sector and subchannel errors"
|
|
/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource DiscImageCreatorGroupBoxString}">
|
|
<UniformGrid Columns="2" Rows="5">
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource QuietModeCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.DIC.QuietMode}"
|
|
ToolTip="Disable sounds (beeps) during and after operations" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource ParanoidModeCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.DIC.ParanoidMode}"
|
|
ToolTip="Enable pedantic and super-safe flags" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource UseCMIFlagCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.DIC.UseCMIFlag}"
|
|
ToolTip="Enable the CMI flag for supported disc types (DVD/HD-DVD only)" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource MultiSectorReadCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.DIC.MultiSectorRead}"
|
|
ToolTip="Enable the /mr flag for BD drive dumping" Margin="0,4"
|
|
/>
|
|
|
|
<Label Content="{DynamicResource MultiSectorReadValueLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
|
<TextBox VerticalAlignment="Center" VerticalContentAlignment="Center" Width="200" HorizontalAlignment="Left"
|
|
Text="{Binding Options.Dumping.DIC.MultiSectorReadValue}" IsEnabled="{Binding Options.Dumping.DIC.MultiSectorRead}"
|
|
ToolTip="Set the default value for the /mr flag"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
/>
|
|
|
|
<Label Content="{DynamicResource DICCDRereadTriesLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
|
<TextBox VerticalAlignment="Center" VerticalContentAlignment="Center" Width="200" HorizontalAlignment="Left"
|
|
Text="{Binding Options.Dumping.DIC.RereadCount}"
|
|
ToolTip="Specifies how many rereads are attempted on C2 error [CD only]"
|
|
/>
|
|
|
|
<Label Content="{DynamicResource DICDVDRereadTriesLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
|
<TextBox VerticalAlignment="Center" VerticalContentAlignment="Center" Width="200" HorizontalAlignment="Left"
|
|
Text="{Binding Options.Dumping.DIC.DVDRereadCount}"
|
|
ToolTip="Specifies how many rereads are attempted on read error [DVD/HD-DVD/BD only]"
|
|
/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource RedumperGroupBoxString}">
|
|
<UniformGrid Columns="2" Rows="8">
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource RedumperEnableVerboseOutputCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.Redumper.EnableVerbose}"
|
|
ToolTip="Enable verbose output in logs" Margin="0,4"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource EnableRefineSectorModeFlagCheckBoxString}"
|
|
IsChecked="{Binding Options.Dumping.Redumper.RefineSectorMode}"
|
|
ToolTip="Enable the refine sector mode flag by default" Margin="0,4"
|
|
/>
|
|
|
|
<Label Content="{DynamicResource RedumperRereadTriesLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
|
<TextBox VerticalAlignment="Center" VerticalContentAlignment="Center" Width="200" HorizontalAlignment="Left"
|
|
Text="{Binding Options.Dumping.Redumper.RereadCount}"
|
|
ToolTip="Specifies how many rereads are attempted on read error"
|
|
/>
|
|
|
|
<Label Content="{DynamicResource PlextorLeadinRetriesLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
|
<TextBox VerticalAlignment="Center" VerticalContentAlignment="Center" Width="200" HorizontalAlignment="Left"
|
|
Text="{Binding Options.Dumping.Redumper.LeadinRetryCount}"
|
|
ToolTip="Specifies how many retries are attempted for lead-in on Plextor drives"
|
|
ToolTipService.ShowOnDisabled="True"
|
|
/>
|
|
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource NonRedumpOptionsCheckBoxString}" Click="NonRedumpModeClicked"
|
|
IsChecked="{Binding Options.Dumping.Redumper.NonRedumpMode}"
|
|
ToolTip="Enable non-redump options" Margin="0,4"
|
|
/>
|
|
<Label/> <!-- Empty label for padding -->
|
|
|
|
<Label Content="{DynamicResource DefaultReadMethodLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right" />
|
|
<ComboBox x:Name="DefaultRedumperReadMethodComboBox" Height="22" Width="200" HorizontalAlignment="Left"
|
|
ItemsSource="{Binding RedumperReadMethods}" SelectedItem="{Binding Options.Dumping.Redumper.ReadMethod, Converter={StaticResource ElementConverter}, Mode=TwoWay}"
|
|
Style="{DynamicResource CustomComboBoxStyle}" IsEnabled="{Binding Options.Dumping.Redumper.NonRedumpMode}"
|
|
/>
|
|
|
|
<Label Content="{DynamicResource DefaultSectorOrderLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right" />
|
|
<ComboBox x:Name="DefaultRedumperSectorOrderComboBox" Height="22" Width="200" HorizontalAlignment="Left"
|
|
ItemsSource="{Binding RedumperSectorOrders}" SelectedItem="{Binding Options.Dumping.Redumper.SectorOrder, Converter={StaticResource ElementConverter}, Mode=TwoWay}"
|
|
Style="{DynamicResource CustomComboBoxStyle}" IsEnabled="{Binding Options.Dumping.Redumper.NonRedumpMode}"
|
|
/>
|
|
|
|
<Label Content="{DynamicResource DefaultDriveTypeLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right" />
|
|
<ComboBox x:Name="DefaultRedumperDriveTypeComboBox" Height="22" Width="200" HorizontalAlignment="Left"
|
|
ItemsSource="{Binding RedumperDriveTypes}" SelectedItem="{Binding Options.Dumping.Redumper.DriveType, Converter={StaticResource ElementConverter}, Mode=TwoWay}"
|
|
Style="{DynamicResource CustomComboBoxStyle}" IsEnabled="{Binding Options.Dumping.Redumper.NonRedumpMode}"
|
|
/>
|
|
|
|
<Label Content="{DynamicResource DefaultDrivePregapStartLabelString}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
|
|
<TextBox VerticalAlignment="Center" VerticalContentAlignment="Center" Width="200" HorizontalAlignment="Left"
|
|
Text="{Binding Options.Dumping.Redumper.DrivePregapStart}"
|
|
ToolTip="Specifies negative LBA for drive to start reading disc pregap from"
|
|
ToolTipService.ShowOnDisabled="True" IsEnabled="{Binding Options.Dumping.Redumper.NonRedumpMode}"
|
|
/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
</StackPanel>
|
|
</TabItem>
|
|
|
|
<TabItem Header="{DynamicResource LoginInfoTabString}" Style="{DynamicResource CustomTabItemStyle}">
|
|
<StackPanel>
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource RetrievalGroupBoxString}">
|
|
<UniformGrid Columns="1" Rows="1">
|
|
<CheckBox VerticalAlignment="Center" Content="{DynamicResource RetrieveMatchInformationCheckBoxString}"
|
|
IsChecked="{Binding Options.Processing.Login.RetrieveMatchInformation}"
|
|
ToolTip="Attempts to retrieve match information from Redump"
|
|
Margin="0,4"
|
|
/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{DynamicResource RedumpGroupBoxString}">
|
|
<UniformGrid Columns="5">
|
|
<Label VerticalAlignment="Center" HorizontalAlignment="Right" Content="{DynamicResource UsernameLabelString}" />
|
|
<TextBox x:Name="RedumpUsernameTextBox" Height="22" HorizontalAlignment="Stretch"
|
|
Text="{Binding Options.Processing.Login.RedumpUsername}"
|
|
IsEnabled="{Binding Options.Processing.Login.RetrieveMatchInformation}" />
|
|
|
|
<Label VerticalAlignment="Center" HorizontalAlignment="Right" Content="{DynamicResource PasswordLabelString}" />
|
|
<PasswordBox x:Name="RedumpPasswordBox" Height="22" HorizontalAlignment="Stretch" PasswordChar="*"
|
|
IsEnabled="{Binding Options.Processing.Login.RetrieveMatchInformation}"/>
|
|
|
|
<Button x:Name="RedumpLoginTestButton" Height="22" Width="80" Content="{DynamicResource TestLoginButtonString}"
|
|
Style="{DynamicResource CustomButtonStyle}"
|
|
IsEnabled="{Binding Options.Processing.Login.RetrieveMatchInformation}" />
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<Label>
|
|
<Label.Content>
|
|
<TextBlock TextWrapping="Wrap">
|
|
<Run FontWeight="Bold" Foreground="Red" Text="{DynamicResource WarningLabelString}" />
|
|
<Run Text="{DynamicResource OptionsRetrievalWarningString}" />
|
|
</TextBlock>
|
|
</Label.Content>
|
|
</Label>
|
|
</StackPanel>
|
|
</TabItem>
|
|
</TabControl>
|
|
|
|
<!-- Accept / Cancel -->
|
|
<GroupBox Margin="5,5,5,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
|
<GroupBox.Template>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="5">
|
|
<ContentPresenter Content="{TemplateBinding Content}" Margin="{TemplateBinding Padding}" />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</GroupBox.Template>
|
|
<UniformGrid Columns="4" Margin="5,5,5,5" Height="27">
|
|
<Label/> <!-- Empty label for padding -->
|
|
<Button Name="AcceptButton" Height="25" Width="80" IsDefault="True" Content="{DynamicResource AcceptButtonString}"
|
|
Style="{DynamicResource CustomButtonStyle}" />
|
|
<Button Name="CancelButton" Height="25" Width="80" IsCancel="True" Content="{DynamicResource CancelButtonString}"
|
|
Style="{DynamicResource CustomButtonStyle}" />
|
|
<Label/> <!-- Empty label for padding -->
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
</StackPanel>
|
|
</Border>
|
|
</coreWindows:WindowBase>
|