Voxta.Packaging.PgEdition
1.11.0-beta.5
Prefix Reserved
dotnet add package Voxta.Packaging.PgEdition --version 1.11.0-beta.5
NuGet\Install-Package Voxta.Packaging.PgEdition -Version 1.11.0-beta.5
<PackageReference Include="Voxta.Packaging.PgEdition" Version="1.11.0-beta.5" />
<PackageVersion Include="Voxta.Packaging.PgEdition" Version="1.11.0-beta.5" />
<PackageReference Include="Voxta.Packaging.PgEdition" />
paket add Voxta.Packaging.PgEdition --version 1.11.0-beta.5
#r "nuget: Voxta.Packaging.PgEdition, 1.11.0-beta.5"
#:package Voxta.Packaging.PgEdition@1.11.0-beta.5
#addin nuget:?package=Voxta.Packaging.PgEdition&version=1.11.0-beta.5&prerelease
#tool nuget:?package=Voxta.Packaging.PgEdition&version=1.11.0-beta.5&prerelease
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 ofexplicitorexplicitLevelis refused. - Readmes — sections between
and.PgReadme.RemoveMarkersgives 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. TheDefaultfolder must stay PG. - Emotes (Voxta UI) — rows marked
explicit, and their{Emote}_{State}pictures and VRM animations. Horny is explicit unless its row saysexplicit: "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 anyActions,EventsorContextslist. - Scripts — lines between
// #if explicitand// #endif(or the// #elseside of// #if !explicit).PgScript.Applygives a script as a chat at either level runs it. - Files — named
nsfw_…oradult_…, 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 | Versions 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. |
-
net10.0
- Scriban (>= 7.5.0)
- Voxta.Packaging (>= 1.11.0-beta.5)
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 |