Super Simple param.sfo parser in C# .NET Framework.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bluzume 0d8b29438d
Update README.md
3 years ago
DataUtils.cs Add files via upload 3 years ago
LICENSE Initial commit 3 years ago
ParamSfo.cs Add files via upload 3 years ago
README.md Update README.md 3 years ago

README.md

Sfo.NET

Super Simple param.sfo parser in C# .NET Framework.

Usage:

  Dictionary<string,object> SfoKeys = Sfo.ReadSfo(File.OpenRead(@"param.sfo"));     

or

  Dictionary<string,object> SfoKeys = Sfo.ReadSfo(File.ReadAlLBytes(@"param.sfo"));  

Reading values:

  UInt32 AttributeMinor = (UInt32)SfoKeys["ATTRIBUTE_MINOR"];           
  Byte[] AccountId = (Byte[])SfoKeys["ACCOUNT_ID"];           
  String TitleId = (String)SfoKeys["TITLE_ID"];