VOOZH about

URL: https://www.nuget.org/packages/SarcLibrary/

⇱ NuGet Gallery | SarcLibrary 3.3.4


ï»ż

👁 Image
SarcLibrary 3.3.4

dotnet add package SarcLibrary --version 3.3.4
 
 
NuGet\Install-Package SarcLibrary -Version 3.3.4
 
 
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="SarcLibrary" Version="3.3.4" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SarcLibrary" Version="3.3.4" />
 
Directory.Packages.props
<PackageReference Include="SarcLibrary" />
 
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 SarcLibrary --version 3.3.4
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SarcLibrary, 3.3.4"
 
 
#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 SarcLibrary@3.3.4
 
 
#: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=SarcLibrary&version=3.3.4
 
Install as a Cake Addin
#tool nuget:?package=SarcLibrary&version=3.3.4
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Sarc Library

Modern SEAD/SEPD archive reader written in managed C#

Usage

Reading a Sarc File

byte[] data = File.ReadAllBytes("content/Pack/Bootup.pack");
Sarc sarc = Sarc.FromBinary(data);

Writing a Sarc File

/* ... */

using MemoryStream ms = new();
sarc.Write(ms);

Benchmarks

Function Elapsed Allocated
Read TitleBG (143MB, LE) 12.12 us 64.62 KB
Read TitleBG (75MB, BE) 12.04 us 64.73 KB
Write TitleBG (143MB, LE) 12.39 ms 12 B
Write TitleBG (75MB, BE) 6.59 ms 1 B
Read TitleBG (Immutable) (143MB, LE) 16.61 ns -
Read TitleBG (Immutable) (75MB, BE) 16.27 ns -

Install

👁 NuGet
👁 NuGet

NuGet
Install-Package SarcLibrary
Build From Source
git clone https://github.com/EPD-Libraries/SarcLibrary.git
dotnet build SarcLibrary

Special thanks to Léo Lam for his extensive research on EPD file formats.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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 (1)

Showing the top 1 NuGet packages that depend on SarcLibrary:

Package Downloads
TotkCommon

Simple primitives library for common TotK operations

GitHub repositories (1)

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

Repository Stars
TotkMods/Totk-ZstdTool
Simple tool for decompressiing .zs files from TotK
Version Downloads Last Updated
3.3.4 683 7/27/2025
3.3.3 253 7/26/2025
3.3.2 286 7/26/2025
3.3.1 277 7/15/2025
3.3.0 373 4/17/2025
3.2.2 352 4/17/2025
3.2.1 327 4/15/2025
3.2.0 734 10/25/2024
3.1.3 1,788 5/1/2024
3.1.2 492 4/6/2024
3.1.1 306 4/5/2024
3.1.0 310 3/15/2024
3.0.4 472 1/26/2024
3.0.3 276 1/19/2024
3.0.2 284 1/16/2024
3.0.1 251 1/16/2024
3.0.0 341 12/13/2023
2.0.2 775 12/31/2022
2.0.1 452 12/30/2022
2.0.0 455 12/22/2022
Loading failed