Voxta.Packaging.PgEdition 1.11.0-beta.5

Prefix Reserved
This is a prerelease version of Voxta.Packaging.PgEdition.
dotnet add package Voxta.Packaging.PgEdition --version 1.11.0-beta.5
                    
NuGet\Install-Package Voxta.Packaging.PgEdition -Version 1.11.0-beta.5
                    
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="Voxta.Packaging.PgEdition" Version="1.11.0-beta.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Voxta.Packaging.PgEdition" Version="1.11.0-beta.5" />
                    
Directory.Packages.props
<PackageReference Include="Voxta.Packaging.PgEdition" />
                    
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 Voxta.Packaging.PgEdition --version 1.11.0-beta.5
                    
#r "nuget: Voxta.Packaging.PgEdition, 1.11.0-beta.5"
                    
#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 Voxta.Packaging.PgEdition@1.11.0-beta.5
                    
#: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=Voxta.Packaging.PgEdition&version=1.11.0-beta.5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Voxta.Packaging.PgEdition&version=1.11.0-beta.5&prerelease
                    
Install as a Cake Tool

Voxta.Packaging.PgEdition

Builds the PG edition of a .voxpak, so a content hub can offer a safe download of an adult package without the explicit parts ever leaving the server.

await using var source = await VoxPakReader.OpenAsync(input, leaveOpen: false, cancellationToken);
await using var target = new VoxPakBuilder(new VoxPakTempFileProvider());
var report = await PgEditionBuilder.CreateAsync(source, target, cancellationToken);
await using var pg = await target.CompleteAsync(cancellationToken);

What an author marks, and what the PG edition leaves out:

  • Resources — characters, scenarios and memory books whose explicit content is allowed must also carry PgEdition: true, or the package has no PG edition. The PG copy is no longer explicit.
  • Templates — {{ if explicit }}…{{ else }}…{{ end }} and {{ if !explicit }}…{{ end }} keep only what renders when the chat is not explicit. Any other use of explicit or explicitLevel is refused.
  • Readmes — sections between and. PgReadme.RemoveMarkers gives the full readme without the markers, for renderers that escape HTML.
  • Avatar folders (Voxta UI) — rows marked explicit, the avatars in their folders, and emotes that only played in them. The Default folder must stay PG.
  • Emotes (Voxta UI) — rows marked explicit, and their {Emote}_{State} pictures and VRM animations. Horny is explicit unless its row says explicit: "false", and its pictures go unless a row keeps it.
  • Memory book entries — entries with Explicit: true.
  • Actions, events and contexts — entries with Explicit: true, in any Actions, Events or Contexts list.
  • Scripts — lines between // #if explicit and // #endif (or the // #else side of // #if !explicit). PgScript.Apply gives a script as a chat at either level runs it.
  • Files — named nsfw_… or adult_…, or in a folder named so.

Other assets pass through unchanged, collections cannot be explicit, and a package holding chats has no PG edition. When a package cannot have one, PgEditionException.Errors lists every reason and nothing is written. PgEditionBuilder.Check gives the same reasons for one resource's JSON, for an editor.

PgEditionText.ReadAsync lists what a package says in words — its text, templates and scripts, character folder and emote rows, and picture and sound file names — for a last check of a PG edition before it is published.

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
1.11.0-beta.5 74 10/1/2026
1.11.0-beta.3 69 9/30/2026
1.11.0-beta.2 71 9/30/2026