mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Tab normalizing
This commit is contained in:
@@ -25,9 +25,9 @@ namespace SabreTools
|
||||
private static string _noIntroPattern = @"^(.*?) \((\d{8}-\d{6})_CM\)\.dat$";
|
||||
private static string _noIntroNumberedPattern = @"(.*? - .*?) \(\d.*?_CM\).dat";
|
||||
private static string _noIntroSpecialPattern = @"(.*? - .*?) \((\d{8})\)\.dat";
|
||||
private static string _nonGoodPattern = @"^(NonGood.*?)( .*?)?.xml";
|
||||
private static string _nonGoodSpecialPattern = @"^(NonGood.*?)( .*)?.dat";
|
||||
private static string _redumpPattern = @"^(.*?) \((\d{8} \d{2}-\d{2}-\d{2})\)\.dat$";
|
||||
private static string _nonGoodPattern = @"^(NonGood.*?)( .*?)?.xml";
|
||||
private static string _nonGoodSpecialPattern = @"^(NonGood.*?)( .*)?.dat";
|
||||
private static string _redumpPattern = @"^(.*?) \((\d{8} \d{2}-\d{2}-\d{2})\)\.dat$";
|
||||
private static string _redumpBiosPattern = @"^(.*?) \(\d+\) \((\d{4}-\d{2}-\d{2})\)\.dat$";
|
||||
private static string _tosecPattern = @"^(.*?) - .* \(TOSEC-v(\d{4}-\d{2}-\d{2})_CM\)\.dat$";
|
||||
private static string _tosecSpecialPatternA = @"^(.*? - .*?) - .* \(TOSEC-v(\d{4}-\d{2}-\d{2})_CM\)\.dat$";
|
||||
@@ -104,12 +104,12 @@ namespace SabreTools
|
||||
fileinfo = Regex.Match(filename, _nonGoodPattern).Groups;
|
||||
type = DatType.NonGood;
|
||||
}
|
||||
else if (Regex.IsMatch(filename, _nonGoodSpecialPattern))
|
||||
{
|
||||
fileinfo = Regex.Match(filename, _nonGoodSpecialPattern).Groups;
|
||||
type = DatType.NonGood;
|
||||
}
|
||||
else if (Regex.IsMatch(filename, _maybeIntroPattern))
|
||||
else if (Regex.IsMatch(filename, _nonGoodSpecialPattern))
|
||||
{
|
||||
fileinfo = Regex.Match(filename, _nonGoodSpecialPattern).Groups;
|
||||
type = DatType.NonGood;
|
||||
}
|
||||
else if (Regex.IsMatch(filename, _maybeIntroPattern))
|
||||
{
|
||||
fileinfo = Regex.Match(filename, _maybeIntroPattern).Groups;
|
||||
type = DatType.MaybeIntro;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<mapping from="NonGoodGen" to="Sega - Mega Drive, Genesis" />
|
||||
<mapping from="NonGoodGG" to="Sega - Game Gear" />
|
||||
<mapping from="NonGoodINTV" to="Mattel - Intellivision" />
|
||||
<mapping from="NonGoodJag" to="Atari - Jaguar" />
|
||||
<mapping from="NonGoodJag" to="Atari - Jaguar" />
|
||||
<mapping from="NonGoodJAG" to="Atari - Jaguar" />
|
||||
<mapping from="NonGoodLynx" to="Atari - Lynx" />
|
||||
<mapping from="NonGoodMini" to="Nintendo - Pokemon Mini" />
|
||||
@@ -24,7 +24,7 @@
|
||||
<mapping from="NonGoodN64" to="Nintendo - Nintendo 64" />
|
||||
<mapping from="NonGoodNDS" to="Nintendo - Nintendo DS" />
|
||||
<mapping from="NonGoodNES" to="Nintendo - Nintendo Entertainment System" />
|
||||
<mapping from="NonGoodNES CHINESE" to="Nintendo - Nintendo Entertainment System" />
|
||||
<mapping from="NonGoodNES CHINESE" to="Nintendo - Nintendo Entertainment System" />
|
||||
<!-- <mapping from="NonGoodNGPX" to="SNK - Neo Geo Pocket Color" /> -->
|
||||
<mapping from="NonGoodNGP" to="SNK - Neo Geo Pocket" />
|
||||
<mapping from="NonGoodNGPC" to="SNK - Neo Geo Pocket Color" />
|
||||
|
||||
Reference in New Issue
Block a user