Clean up terminology

This commit is contained in:
Matt Nadareski
2021-03-20 19:23:59 -07:00
parent cdc4d509ee
commit b6b7a5e7aa
3 changed files with 18 additions and 18 deletions

View File

@@ -144,7 +144,7 @@ namespace BurnOutSharp.PackerType
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
};
if (fileContent.FirstPosition(check, out _))
return "Compact Version 2.0 (16-bit)";
return "Compact 2.0 (16-bit)";
check = new byte[]
{
@@ -158,7 +158,7 @@ namespace BurnOutSharp.PackerType
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
};
if (fileContent.FirstPosition(check, out _))
return "Software Installation Version 2.0 (16-bit)";
return "Software Installation 2.0 (16-bit)";
check = new byte[]
{
@@ -200,7 +200,7 @@ namespace BurnOutSharp.PackerType
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
};
if (fileContent.FirstPosition(check, out _))
return "Compact Version 2.1 RC2 (16-bit)";
return "Compact 2.1 RC2 (16-bit)";
check = new byte[]
{
@@ -214,7 +214,7 @@ namespace BurnOutSharp.PackerType
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
};
if (fileContent.FirstPosition(check, out _))
return "Software Installation Version 2.1 RC2 (16-bit)";
return "Software Installation 2.1 RC2 (16-bit)";
check = new byte[]
{
@@ -256,7 +256,7 @@ namespace BurnOutSharp.PackerType
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,
};
if (fileContent.FirstPosition(check, out _))
return "Compact Version 2.1 (16-bit)";
return "Compact 2.1 (16-bit)";
check = new byte[]
{
@@ -271,7 +271,7 @@ namespace BurnOutSharp.PackerType
};
if (fileContent.FirstPosition(check, out _))
return "Software Installation Version 2.1 (16-bit)";
return "Software Installation 2.1 (16-bit)";
#endregion
@@ -305,7 +305,7 @@ namespace BurnOutSharp.PackerType
0x2E, 0x53, 0x46, 0x58,
};
if (fileContent.FirstPosition(check, out _))
return "Software Installation Version 2.0 (32-bit)";
return "Software Installation 2.0 (32-bit)";
// .............<2E><><EFBFBD>3....<2E>P..............<2E>P..<2E>P..<2E>P..VW95SE.SFX
check = new byte[]
@@ -335,7 +335,7 @@ namespace BurnOutSharp.PackerType
0x2E, 0x53, 0x46, 0x58,
};
if (fileContent.FirstPosition(check, out _))
return "Software Installation Version 2.1 RC2 (32-bit)";
return "Software Installation 2.1 RC2 (32-bit)";
// .............U<><55>3....<2E>P..............<2E>P..<2E>P..<2E>P..VW95SE.SFX
check = new byte[]
@@ -365,7 +365,7 @@ namespace BurnOutSharp.PackerType
0x2E, 0x53, 0x46, 0x58,
};
if (fileContent.FirstPosition(check, out _))
return "Software Installation Version 2.1 (32-bit)";
return "Software Installation 2.1 (32-bit)";
#endregion
@@ -397,11 +397,11 @@ namespace BurnOutSharp.PackerType
0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00,
};
if (fileContent.FirstPosition(check, out _))
return "Software Installation Version 2.2.4003";
return "Software Installation 2.2.4003";
#endregion
return "Unknown Version 2.X";
return "Unknown 2.X";
}
private static string GetV3PlusVersion(string version)
@@ -420,7 +420,7 @@ namespace BurnOutSharp.PackerType
case "4.0.1221.0":
return "4.0.12218";
default:
return $"(Unknown Version - {version})";
return $"(Unknown - {version})";
}
}
}

View File

@@ -15,7 +15,7 @@ namespace BurnOutSharp.ProtectionType
{
string file = files.FirstOrDefault(f => Path.GetFileName(f).Equals("MKBROM.AACS", StringComparison.OrdinalIgnoreCase));
int? version = GetVersion(file);
return version == null ? "AACS (Unknown Version)" : $"AACS Version {version}";
return version == null ? "AACS (Unknown Version)" : $"AACS {version}";
}
// BD-ROM
@@ -23,7 +23,7 @@ namespace BurnOutSharp.ProtectionType
{
string file = files.FirstOrDefault(f => Path.GetFileName(f).Equals("MKB_RO.inf", StringComparison.OrdinalIgnoreCase));
int? version = GetVersion(file);
return version == null ? "AACS (Unknown Version)" : $"AACS Version {version}";
return version == null ? "AACS (Unknown Version)" : $"AACS {version}";
}
return null;
@@ -38,14 +38,14 @@ namespace BurnOutSharp.ProtectionType
if (filename.Equals("MKBROM.AACS", StringComparison.OrdinalIgnoreCase))
{
int? version = GetVersion(path);
return version == null ? "AACS (Unknown Version)" : $"AACS Version {version}";
return version == null ? "AACS (Unknown Version)" : $"AACS {version}";
}
// BD-ROM
if (filename.Equals("MKB_RO.inf", StringComparison.OrdinalIgnoreCase))
{
int? version = GetVersion(path);
return version == null ? "AACS (Unknown Version)" : $"AACS Version {version}";
return version == null ? "AACS (Unknown Version)" : $"AACS {version}";
}
return null;

View File

@@ -15,7 +15,7 @@ namespace BurnOutSharp.ProtectionType
{
string file = files.FirstOrDefault(f => Path.GetFileName(f).Equals("00000.svm", StringComparison.OrdinalIgnoreCase));
string version = GetVersion(file);
return version == null ? "BD+ (Unknown Version)" : $"BD+ Version {version}";
return version == null ? "BD+ (Unknown Version)" : $"BD+ {version}";
}
return null;
@@ -28,7 +28,7 @@ namespace BurnOutSharp.ProtectionType
if (filename.Equals("00000.svm", StringComparison.OrdinalIgnoreCase))
{
string version = GetVersion(path);
return version == null ? "BD+ (Unknown Version)" : $"BD+ Version {version}";
return version == null ? "BD+ (Unknown Version)" : $"BD+ {version}";
}
return null;