mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 06:45:11 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
68 lines
1.8 KiB
C#
68 lines
1.8 KiB
C#
// TODO: Add more constants from the wiki
|
|
namespace SabreTools.Data.Models.PlayStation3
|
|
{
|
|
/// <see href="https://psdevwiki.com/ps3/PS3_DISC.SFB"/>
|
|
public static class Constants
|
|
{
|
|
/// <summary>
|
|
/// Identifying bytes for SFO file
|
|
/// </summary>
|
|
public const uint SFOMagic = 0x00505346;
|
|
|
|
/// <summary>
|
|
/// Identifying bytes for SFB file
|
|
/// </summary>
|
|
public const uint SFBMagic = 0x2E534642;
|
|
|
|
#region Hybrid Flags
|
|
|
|
/// <summary>
|
|
/// Not dependant of other disc files, enables a network connection to PSN store
|
|
/// </summary>
|
|
public const char FlagDiscBenefits = 'S';
|
|
|
|
/// <summary>
|
|
/// dev_bdvd/PS3_CONTENT/THEMEDIR/PARAM.SFO
|
|
/// </summary>
|
|
public const char FlagThemes = 'T';
|
|
|
|
/// <summary>
|
|
/// dev_bdvd/PS3_CONTENT/VIDEODIR/PARAM.SFO
|
|
/// </summary>
|
|
public const char FlagVideo = 'V';
|
|
|
|
/// <summary>
|
|
/// friends? (unknown yet, usually combined with g/p?)
|
|
/// </summary>
|
|
public const char FlagFriends = 'f';
|
|
|
|
/// <summary>
|
|
/// dev_bdvd/PS3_GAME/USRDIR/PARAM.SFO
|
|
/// dev_bdvd/PS3_EXTRA/PARAM.SFO
|
|
/// </summary>
|
|
public const char FlagGameExtras = 'g';
|
|
|
|
/// <summary>
|
|
/// music?
|
|
/// </summary>
|
|
public const char FlagMusic = 'm';
|
|
|
|
/// <summary>
|
|
/// photo? (unknown yet, used with v, fv,..)
|
|
/// </summary>
|
|
public const char FlagPhoto = 'p';
|
|
|
|
/// <summary>
|
|
/// dev_bdvd/PS3_UPDATE/PS3UPDAT.PUP
|
|
/// </summary>
|
|
public const char FlagFirmwareUpdate = 'u';
|
|
|
|
/// <summary>
|
|
/// dev_bdvd/PS3_VPRM/PARAM.SFO
|
|
/// </summary>
|
|
public const char FlagMovie = 'v';
|
|
|
|
#endregion
|
|
}
|
|
}
|