Calculate Size and CRC32

This commit is contained in:
Deterous
2023-10-29 11:36:41 +13:00
parent a73fda571b
commit d7af44a858
2 changed files with 56 additions and 34 deletions
+1 -3
View File
@@ -8,9 +8,7 @@ namespace BuildIRD
static void Main()
{
byte[] discKey = new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
byte[] discID = new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
byte[] discPIC = new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
IRD ird = new IRD("Z:", discKey, discID, discPIC);
IRD ird = new ReIRD("./game.iso", discKey);
ird.Write("./test.ird");
Console.WriteLine(ird.HeaderLength);
}