mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
73 lines
2.1 KiB
C#
73 lines
2.1 KiB
C#
using System.Collections.Generic;
|
|
|
|
using SabreTools.Library.DatItems;
|
|
|
|
namespace SabreTools.Library.Filtering
|
|
{
|
|
/// <summary>
|
|
/// Represents the cleaning operations that need to be performed on a set of items, usually a DAT
|
|
/// </summary>
|
|
public class Cleaner
|
|
{
|
|
/// <summary>
|
|
/// Clean all names to WoD standards
|
|
/// </summary>
|
|
public bool Clean { get; set; }
|
|
|
|
/// <summary>
|
|
/// Set Machine Description from Machine Name
|
|
/// </summary>
|
|
public bool DescriptionAsName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Dictionary of fields in machine and items to exclude from writing
|
|
/// </summary>
|
|
public List<Field> ExcludeFields { get; set; } = new List<Field>();
|
|
|
|
/// <summary>
|
|
/// Keep machines that don't contain any items
|
|
/// </summary>
|
|
public bool KeepEmptyGames { get; set; }
|
|
|
|
/// <summary>
|
|
/// Enable "One Rom, One Region (1G1R)" mode
|
|
/// </summary>
|
|
public bool OneGamePerRegion { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ordered list of regions for "One Rom, One Region (1G1R)" mode
|
|
/// </summary>
|
|
public List<string> RegionList { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ensure each rom is in their own game
|
|
/// </summary>
|
|
public bool OneRomPerGame { get; set; }
|
|
|
|
/// <summary>
|
|
/// Remove all unicode characters
|
|
/// </summary>
|
|
public bool RemoveUnicode { get; set; }
|
|
|
|
/// <summary>
|
|
/// Include root directory when determing trim sizes
|
|
/// </summary>
|
|
public string Root { get; set; }
|
|
|
|
/// <summary>
|
|
/// Remove scene dates from the beginning of machine names
|
|
/// </summary>
|
|
public bool SceneDateStrip { get; set; }
|
|
|
|
/// <summary>
|
|
/// Change all machine names to "!"
|
|
/// </summary>
|
|
public bool Single { get; set; }
|
|
|
|
/// <summary>
|
|
/// Trim total machine and item name to not exceed NTFS limits
|
|
/// </summary>
|
|
public bool Trim { get; set; }
|
|
}
|
|
}
|