PARAM.SFO parsing

This commit is contained in:
Deterous
2023-10-28 23:57:38 +13:00
parent 026e2c1d85
commit dd9945f3a0
5 changed files with 279 additions and 5 deletions
+25
View File
@@ -0,0 +1,25 @@
using LibIRD;
using System;
using System.IO;
namespace PrintParams
{
internal class Program
{
static void Main()
{
string filename = "./PARAM.SFO";
if (File.Exists(filename))
{
ParamSFO paramSFO = new ParamSFO("./PARAM.SFO");
Console.WriteLine(paramSFO["TITLE_ID"]);
paramSFO.Print();
}
else
{
Console.WriteLine(filename + " not found");
}
}
}
}