Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions SabreTools.RedumpLib.Test/Data/ExtensionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ public void Region_ToRegion(Region? region, bool expectNull)
SiteCode.Series,
SiteCode.SSHash,
SiteCode.SSVersion,
SiteCode.SteamAppID,
SiteCode.TitleID,
SiteCode.UniversalHash,
SiteCode.VCD,
Expand Down Expand Up @@ -772,6 +773,8 @@ public void Region_ToRegion(Region? region, bool expectNull)
SiteCode.PlayableDemos,
SiteCode.RollingDemos,
SiteCode.Savegames,
SiteCode.Steam2DepotID,
SiteCode.Steam3DepotID,
SiteCode.TechDemos,
SiteCode.Videos,
];
Expand All @@ -792,6 +795,8 @@ public void Region_ToRegion(Region? region, bool expectNull)
SiteCode.PlayableDemos,
SiteCode.RollingDemos,
SiteCode.Savegames,
SiteCode.Steam2DepotID,
SiteCode.Steam3DepotID,
SiteCode.TechDemos,
SiteCode.Videos,
];
Expand Down
12 changes: 12 additions & 0 deletions SabreTools.RedumpLib/Data/Enumerations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3725,6 +3725,18 @@ public enum SiteCode
[HumanReadable(ShortName = "<b>SS version</b>:", LongName = "<b>SS version</b>:")]
SSVersion,

// This doesn't have a site tag yet
[HumanReadable(ShortName = "<b>Steam AppID</b>:", LongName = "<b>Steam AppID</b>:")]
SteamAppID,

// This doesn't have a site tag yet
[HumanReadable(ShortName = "<b>Steam Depot ID (.sis/.sim/.sid)</b>:", LongName = "<b>Steam Depot ID (.sis/.sim/.sid)</b>:")]
Steam2DepotID,

// This doesn't have a site tag yet
[HumanReadable(ShortName = "<b>Steam Depot ID (.sis/.csm/.csd)</b>:", LongName = "<b>Steam Depot ID (.sis/.csm/.csd)</b>:")]
Steam3DepotID,

[HumanReadable(ShortName = "[T:TID]", LongName = "<b>Taito ID</b>:")]
TaitoID,

Expand Down
5 changes: 5 additions & 0 deletions SabreTools.RedumpLib/Data/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,7 @@ public static bool IsCommentCode(this SiteCode? siteCode)
SiteCode.Series => true,
SiteCode.SSHash => true,
SiteCode.SSVersion => true,
SiteCode.SteamAppID => true,
SiteCode.TitleID => true,
SiteCode.UniversalHash => true,
SiteCode.VCD => true,
Expand Down Expand Up @@ -1342,6 +1343,8 @@ public static bool IsContentCode(this SiteCode? siteCode)
SiteCode.PlayableDemos => true,
SiteCode.RollingDemos => true,
SiteCode.Savegames => true,
SiteCode.Steam2DepotID => true,
SiteCode.Steam3DepotID => true,
SiteCode.TechDemos => true,
SiteCode.Videos => true,
_ => false,
Expand Down Expand Up @@ -1374,6 +1377,8 @@ public static bool IsMultiLine(this SiteCode? siteCode)
SiteCode.PlayableDemos => true,
SiteCode.RollingDemos => true,
SiteCode.Savegames => true,
SiteCode.Steam2DepotID => true,
SiteCode.Steam3DepotID => true,
SiteCode.TechDemos => true,
SiteCode.Videos => true,
_ => false,
Expand Down
4 changes: 4 additions & 0 deletions SabreTools.RedumpLib/Formatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public static class Formatter
SiteCode.Series,
SiteCode.PostgapType,
SiteCode.VCD,

SiteCode.SteamAppID,

// Publisher / Company IDs
SiteCode.AcclaimID,
Expand Down Expand Up @@ -101,6 +103,8 @@ public static class Formatter
// Games
SiteCode.Games,
SiteCode.NetYarozeGames,
SiteCode.Steam2DepotID,
SiteCode.Steam3DepotID,

// Demos
SiteCode.PlayableDemos,
Expand Down