LibIRD 0.9.3

dotnet add package LibIRD --version 0.9.3                
NuGet\Install-Package LibIRD -Version 0.9.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LibIRD" Version="0.9.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibIRD --version 0.9.3                
#r "nuget: LibIRD, 0.9.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LibIRD as a Cake Addin
#addin nuget:?package=LibIRD&version=0.9.3

// Install LibIRD as a Cake Tool
#tool nuget:?package=LibIRD&version=0.9.3                

How to use the LibIRD library

LibIRD was originally made for creating reproducible, redump-style IRDs when dumping PS3 discs with MPF. If you wish to integrate LibIRD into your own application, the following are some examples.

Reproducible, redump-style IRDs

The standard way of generating a reproducible, redump-style IRD is with a redump ISO file and a redump key file (e.g. http://redump.org/disc/28721/key/):

byte[] discKey = File.ReadAllBytes("./game.key");
IRD ird = new ReIRD("./game.iso", discKey);

Alternatively, the disc key can be extracted from a GetKey log file obtained from a PS3 (or when dumping using ManaGunZ)

IRD ird = new ReIRD("./game.iso", "./game.getkey.log");

Custom IRDs

Functionality is also provided for creating IRDs with a custom disc key, disc ID, and PIC:

byte[] discKey = new byte[16];
byte[] discID = new byte[16];
byte[] PIC = new byte[115];
// Set vars to desired values
IRD ird = new IRD("./game.iso", discKey, discID, discPIC);

As before, a GetKey log file can also be used with an ISO to create a custom IRD, with the disc key, disc ID, and PIC all being extracted from the log file (rather than just the key for redump-style IRDs).

IRD ird = new IRD("./game.iso", "./game.getkey.log");

Finally, an existing IRD file can be read to create an IRD:

IRD ird = IRD.Read("./game.ird")

An IRD can be then be tweaked, its fields printed, and written to a new IRD:

ird.UID = 0x9F1A51D8;
ird.Print();
ird.Write("game2.ird");
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 is compatible.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on LibIRD:

Repository Stars
SabreTools/MPF
Redumper/Aaru/DiscImageCreator GUI in C#
Version Downloads Last updated
0.9.3 705 11/16/2024
0.9.1 4,132 4/11/2024
0.9.0 488 3/13/2024
0.8.0 127 3/12/2024
0.7.1 197 3/7/2024
0.7.0 126 3/6/2024
0.6.0 1,311 2/20/2024
0.5.0 143 2/18/2024