Super Simple param.sfo parser in C# .NET Framework.
Go to file
Bluzume 0d8b29438d
Update README.md
2020-08-25 06:05:37 +12:00
DataUtils.cs Add files via upload 2020-08-25 05:52:44 +12:00
LICENSE Initial commit 2020-08-25 05:51:40 +12:00
ParamSfo.cs Add files via upload 2020-08-25 05:52:13 +12:00
README.md Update README.md 2020-08-25 06:05:37 +12:00

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"];