KevInc.UbiArt.Texture 0.2.2

dotnet add package KevInc.UbiArt.Texture --version 0.2.2
                    
NuGet\Install-Package KevInc.UbiArt.Texture -Version 0.2.2
                    
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="KevInc.UbiArt.Texture" Version="0.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KevInc.UbiArt.Texture" Version="0.2.2" />
                    
Directory.Packages.props
<PackageReference Include="KevInc.UbiArt.Texture" />
                    
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 KevInc.UbiArt.Texture --version 0.2.2
                    
#r "nuget: KevInc.UbiArt.Texture, 0.2.2"
                    
#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 KevInc.UbiArt.Texture@0.2.2
                    
#: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=KevInc.UbiArt.Texture&version=0.2.2
                    
Install as a Cake Addin
#tool nuget:?package=KevInc.UbiArt.Texture&version=0.2.2
                    
Install as a Cake Tool

KevInc.UbiArt

KevInc.UbiArt provides .NET libraries for UbiArt engine containers and wrappers. The packages intentionally compose the generic KevInc.Audio and KevInc.Texture codecs instead of placing UbiArt-specific wrapper logic in those repositories.

Packages

Package Purpose Key dependencies
KevInc.UbiArt.Ipk IPK archive reading, extraction, packing, CRC, and compression helpers. None
KevInc.UbiArt.FileSystem Layered UbiArt filesystem lookup across cooked folders, uncooked folders, and IPK archives. KevInc.UbiArt.Ipk
KevInc.UbiArt.Raki RAKI audio wrapper parsing, decoding, and NAudio-backed encoding for UbiArt platform audio. NAudio, KevInc.Audio packages
KevInc.UbiArt.Texture TEX texture wrapper detection, ImageSharp decoding, and platform wrapper encoders for UbiArt texture payloads. ImageSharp, KevInc.Texture packages

Install

dotnet add package KevInc.UbiArt.Ipk
dotnet add package KevInc.UbiArt.FileSystem
dotnet add package KevInc.UbiArt.Raki
dotnet add package KevInc.UbiArt.Texture

Examples

Extract an IPK archive:

using KevInc.UbiArt.Ipk;

UbiArtIpkParser parser = new("bundle.ipk", "bundle");
parser.Parse();

Resolve a cooked file from a folder or IPK-backed bundle:

using KevInc.UbiArt.FileSystem;

UbiArtLayeredFileSystem fileSystem = new(new UbiArtLayeredFileSystemOptions
{
    InputPath = "bundle_nx",
    Platform = UbiArtPlatform.NX
});
fileSystem.Initialize();

CookedFile songDesc = fileSystem.GetFilePath("world/maps/song/songdesc.tpl");
using Stream stream = fileSystem.GetFileStream(songDesc);

Decode a RAKI audio stream:

using KevInc.UbiArt.Raki;

await using FileStream input = File.OpenRead("audio.wav.ckd");
RakiAudioHeader header = RakiAudioReader.ReadHeader(input);

Register UbiArt TEX texture decoding with ImageSharp:

using KevInc.UbiArt.Texture;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;

UbiArtTextureImageSharpConfiguration.RegisterTextureFormat();
using Image<Bgra32> image = Image.Load<Bgra32>("texture.tga.ckd");

Build And Test

./run.ps1

Create local NuGet packages:

./run.ps1 -Configuration Release -Pack

Packages are written to artifacts/packages.

Test Coverage

The test suite covers IPK archive round-tripping, layered filesystem lookup, RAKI wrapper parsing and codec dispatch, and UbiArt TEX wrapper detection across supported platform payloads.

Versioning

The repository uses Nerdbank.GitVersioning. Package versions come from version.json and Git metadata.

License

This repository is licensed under GPL-3.0-only unless a package explicitly states otherwise.

Product Compatible and additional computed target framework versions.
.NET 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. 
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

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.2 0 5/21/2026
0.2.1 29 5/21/2026