mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Add PS5 console to list
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
- Update to DIC version 20210202
|
||||
- Add VCD detection
|
||||
- Fix UI not updating properly on drive change
|
||||
- Add Xbox Series and PS5 to supported systems
|
||||
|
||||
### 1.18 (2020-11-10)
|
||||
- Add more information extraction and generation for Aaru
|
||||
|
||||
@@ -1689,6 +1689,10 @@ namespace MPF.Aaru
|
||||
case KnownSystem.SonyPlayStation4:
|
||||
info.VersionAndEditions.Version = GetPlayStation4Version(drive?.Letter) ?? "";
|
||||
break;
|
||||
|
||||
case KnownSystem.SonyPlayStation5:
|
||||
info.VersionAndEditions.Version = GetPlayStation5Version(drive?.Letter) ?? "";
|
||||
break;
|
||||
}
|
||||
|
||||
// Fill in any artifacts that exist, Base64-encoded
|
||||
|
||||
@@ -456,6 +456,10 @@ namespace MPF.DD
|
||||
case KnownSystem.SonyPlayStation4:
|
||||
info.VersionAndEditions.Version = GetPlayStation4Version(drive?.Letter) ?? "";
|
||||
break;
|
||||
|
||||
case KnownSystem.SonyPlayStation5:
|
||||
info.VersionAndEditions.Version = GetPlayStation5Version(drive?.Letter) ?? "";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -717,6 +717,17 @@ namespace MPF.Data
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the version from a PlayStation 5 disc, if possible
|
||||
/// </summary>
|
||||
/// <param name="driveLetter">Drive letter to use to check</param>
|
||||
/// <returns>Game version if possible, null on error</returns>
|
||||
protected static string GetPlayStation5Version(char? driveLetter)
|
||||
{
|
||||
// TODO: Implement PS5 version finding
|
||||
return null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Category Extraction
|
||||
|
||||
@@ -505,4 +505,7 @@ namespace MPF.Data
|
||||
PowerStateSettable = 5,
|
||||
PowerCyclingSupported = 6,
|
||||
TimedPowerOnSupported = 7,
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -2221,6 +2221,10 @@ namespace MPF.DiscImageCreator
|
||||
case KnownSystem.SonyPlayStation4:
|
||||
info.VersionAndEditions.Version = GetPlayStation4Version(drive?.Letter) ?? "";
|
||||
break;
|
||||
|
||||
case KnownSystem.SonyPlayStation5:
|
||||
info.VersionAndEditions.Version = GetPlayStation5Version(drive?.Letter) ?? "";
|
||||
break;
|
||||
}
|
||||
|
||||
// Fill in any artifacts that exist, Base64-encoded
|
||||
|
||||
@@ -186,6 +186,8 @@ namespace MPF.Utilities
|
||||
return KnownSystem.SonyPlayStation3;
|
||||
case RedumpSystem.SonyPlayStation4:
|
||||
return KnownSystem.SonyPlayStation4;
|
||||
case RedumpSystem.SonyPlayStation5:
|
||||
return KnownSystem.SonyPlayStation5;
|
||||
case RedumpSystem.SonyPlayStationPortable:
|
||||
return KnownSystem.SonyPlayStationPortable;
|
||||
case RedumpSystem.TABAustriaQuizard:
|
||||
@@ -431,6 +433,8 @@ namespace MPF.Utilities
|
||||
return RedumpSystem.SonyPlayStation3;
|
||||
case KnownSystem.SonyPlayStation4:
|
||||
return RedumpSystem.SonyPlayStation4;
|
||||
case KnownSystem.SonyPlayStation5:
|
||||
return RedumpSystem.SonyPlayStation5;
|
||||
case KnownSystem.SonyPlayStationPortable:
|
||||
return RedumpSystem.SonyPlayStationPortable;
|
||||
case KnownSystem.TABAustriaQuizard:
|
||||
@@ -574,6 +578,8 @@ namespace MPF.Utilities
|
||||
return "Sony PlayStation 3";
|
||||
case KnownSystem.SonyPlayStation4:
|
||||
return "Sony PlayStation 4";
|
||||
case KnownSystem.SonyPlayStation5:
|
||||
return "Sony PlayStation 5";
|
||||
case KnownSystem.SonyPlayStationPortable:
|
||||
return "Sony PlayStation Portable";
|
||||
case KnownSystem.TandyMemorexVisualInformationSystem:
|
||||
@@ -982,6 +988,8 @@ namespace MPF.Utilities
|
||||
return "ps3";
|
||||
case KnownSystem.SonyPlayStation4:
|
||||
return "ps4";
|
||||
case KnownSystem.SonyPlayStation5:
|
||||
return "ps5";
|
||||
case KnownSystem.SonyPlayStationPortable:
|
||||
return "psp";
|
||||
case KnownSystem.TandyMemorexVisualInformationSystem:
|
||||
@@ -1585,6 +1593,14 @@ namespace MPF.Utilities
|
||||
case "sonyplaystation4":
|
||||
case "sony playstation 4":
|
||||
return KnownSystem.SonyPlayStation4;
|
||||
case "ps5":
|
||||
case "playstation5":
|
||||
case "playstation 5":
|
||||
case "sonyps5":
|
||||
case "sony ps5":
|
||||
case "sonyplaystation5":
|
||||
case "sony playstation 5":
|
||||
return KnownSystem.SonyPlayStation5;
|
||||
case "psp":
|
||||
case "playstationportable":
|
||||
case "playstation portable":
|
||||
|
||||
@@ -207,6 +207,11 @@ namespace MPF.Utilities
|
||||
types.Add(MediaType.BluRay);
|
||||
break;
|
||||
|
||||
// https://en.wikipedia.org/wiki/PlayStation_5
|
||||
case KnownSystem.SonyPlayStation5:
|
||||
types.Add(MediaType.BluRay);
|
||||
break;
|
||||
|
||||
// https://en.wikipedia.org/wiki/PlayStation_Portable
|
||||
case KnownSystem.SonyPlayStationPortable:
|
||||
types.Add(MediaType.UMD);
|
||||
@@ -952,6 +957,12 @@ namespace MPF.Utilities
|
||||
return KnownSystem.SonyPlayStation4;
|
||||
}
|
||||
|
||||
// Sony PlayStation 5
|
||||
if (drive.VolumeLabel.Equals("PS5VOLUME", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return KnownSystem.SonyPlayStation5;
|
||||
}
|
||||
|
||||
// V.Tech V.Flash / V.Smile Pro
|
||||
if (File.Exists(Path.Combine(drivePath, "0SYSTEM")))
|
||||
{
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
RedumpSystem.SegaRingEdge2,
|
||||
RedumpSystem.SonyPlayStation3,
|
||||
RedumpSystem.SonyPlayStation4,
|
||||
//RedumpSystem.SonyPlayStation5,
|
||||
RedumpSystem.VideoCD,
|
||||
};
|
||||
|
||||
@@ -164,6 +165,7 @@
|
||||
RedumpSystem.SonyPlayStation2,
|
||||
RedumpSystem.SonyPlayStation3,
|
||||
RedumpSystem.SonyPlayStation4,
|
||||
//RedumpSystem.SonyPlayStation5,
|
||||
RedumpSystem.SonyPlayStationPortable,
|
||||
RedumpSystem.TABAustriaQuizard,
|
||||
RedumpSystem.TomyKissSite,
|
||||
@@ -1202,6 +1204,8 @@
|
||||
return "Sony PlayStation 3";
|
||||
case RedumpSystem.SonyPlayStation4:
|
||||
return "Sony PlayStation 4";
|
||||
case RedumpSystem.SonyPlayStation5:
|
||||
return "Sony PlayStation 5";
|
||||
case RedumpSystem.SonyPlayStationPortable:
|
||||
return "Sony PlayStation Portable";
|
||||
case RedumpSystem.TABAustriaQuizard:
|
||||
@@ -1377,6 +1381,8 @@
|
||||
return "ps3";
|
||||
case RedumpSystem.SonyPlayStation4:
|
||||
return "ps4";
|
||||
case RedumpSystem.SonyPlayStation5:
|
||||
return "ps5";
|
||||
case RedumpSystem.SonyPlayStationPortable:
|
||||
return "psp";
|
||||
case RedumpSystem.TABAustriaQuizard:
|
||||
@@ -1883,6 +1889,14 @@
|
||||
case "sonyplaystation4":
|
||||
case "sony playstation 4":
|
||||
return RedumpSystem.SonyPlayStation4;
|
||||
case "ps5":
|
||||
case "playstation5":
|
||||
case "playstation 5":
|
||||
case "sonyps5":
|
||||
case "sony ps5":
|
||||
case "sonyplaystation5":
|
||||
case "sony playstation 5":
|
||||
return RedumpSystem.SonyPlayStation5;
|
||||
case "psp":
|
||||
case "playstationportable":
|
||||
case "playstation portable":
|
||||
|
||||
Reference in New Issue
Block a user