WiiSharp 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package WiiSharp --version 0.1.0
                    
NuGet\Install-Package WiiSharp -Version 0.1.0
                    
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="WiiSharp" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WiiSharp" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="WiiSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WiiSharp --version 0.1.0
                    
#r "nuget: WiiSharp, 0.1.0"
                    
#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.
#:package WiiSharp@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WiiSharp&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=WiiSharp&version=0.1.0
                    
Install as a Cake Tool

WiiSharp

.NET library for Wii and GameCube file formats.

Not affiliated with or endorsed by Nintendo. Wii and GameCube are trademarks of Nintendo.

Disc layout and partition crypto follow the WiiBrew documentation and the behaviour of nfs2iso2nfs by sabykos, piratesephiroth and FIX94.

Status

Early. What exists: the disc header, partition table, tickets, title-key derivation from a caller-supplied common key, and per-cluster partition data crypto — enough to implement WiiUSharp.Nfs.IPartitionCipher. GameCube discs, WAD files and DOL patching follow.

using WiiSharp;

var commonKey = CommonKey.FromFile("common-key.bin");   // never shipped with this library

using var iso = File.OpenRead("game.iso");
WiiDisc disc = WiiDisc.Read(iso);                       // header + partitions, no data touched
Partition game = disc.DataPartitions[0];
TitleKey key = TitleKey.Derive(commonKey, game.Ticket);

using var plain = File.Create("game.plain.iso");
DataRange range = new DiscCipher(commonKey).Decrypt(iso, plain);   // data partitions decrypted, rest copied

Packages

Package Targets Purpose
WiiSharp net48, net6.0, net8.0, net10.0 Disc images, partitions, tickets, title keys.
dotnet add package WiiSharp

Building

dotnet build WiiSharp.sln
dotnet test WiiSharp.sln

Requires the .NET 10 SDK (global.json). dotnet pack -c Release produces the NuGet package.

License

MIT — see LICENSE.

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net10.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0 117 9/16/2026
0.6.1 89 9/16/2026
0.6.0 91 9/15/2026
0.5.0 91 9/14/2026
0.4.0 91 9/14/2026
0.3.0 93 9/14/2026
0.2.0 87 9/14/2026
0.1.0 88 9/14/2026

0.1.0: initial release.