Ww2Ogg.Core
1.0.0
dotnet add package Ww2Ogg.Core --version 1.0.0
NuGet\Install-Package Ww2Ogg.Core -Version 1.0.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="Ww2Ogg.Core" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ww2Ogg.Core" Version="1.0.0" />
<PackageReference Include="Ww2Ogg.Core" />
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 Ww2Ogg.Core --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ww2Ogg.Core, 1.0.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 Ww2Ogg.Core@1.0.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=Ww2Ogg.Core&version=1.0.0
#tool nuget:?package=Ww2Ogg.Core&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ww2ogg-netcore
A .NET port of ww2ogg - converts Wwise RIFF/RIFX Vorbis audio files (.wem) to standard Ogg Vorbis format.
Projects
- Ww2Ogg - Command-line application
- Ww2Ogg.Core - Library for programmatic usage
Installation
Library (NuGet)
dotnet add package Ww2Ogg.Core
Command Line
dotnet build -c Release
Library Usage
using Ww2Ogg.Core;
// Convert a .wem file to .ogg using the default codebook
using var input = File.OpenRead("input.wem");
using var output = File.Create("output.ogg");
var converter = new WwiseRiffVorbis(input, CodebookLibrary.Default);
converter.GenerateOgg(output);
// Optionally validate the output
output.Position = 0;
VorbisValidator.Validate(output);
Codebook Options
// Default packed codebooks
var codebook = CodebookLibrary.Default;
// aoTuV 6.03 codebooks (for files encoded with aoTuV)
var codebook = CodebookLibrary.AoTuV;
// Empty codebook (for files with inline codebooks)
var codebook = new CodebookLibrary();
// Load from file
var codebook = new CodebookLibrary("path/to/packed_codebooks.bin");
Force Packet Format
// Auto-detect (default)
var converter = new WwiseRiffVorbis(input, codebook);
// Force specific format
var converter = new WwiseRiffVorbis(
input,
codebook,
forcePacketFormat: ForcePacketFormat.ModPackets
);
Command Line Usage
ww2ogg <input.wem> [options]
Options:
-o, --output <file> Output file (default: input with .ogg extension)
--pcb <file> Use external packed codebooks file
--inline-codebooks Use inline codebooks from the wem file
--full-setup Output full setup header
--aoTuV Use aoTuV 6.03 codebooks
--mod-packets Force modified packet format
--no-mod-packets Force standard packet format
Examples
# Basic conversion (auto-detects codebook)
ww2ogg music.wem
# Specify output file
ww2ogg music.wem -o soundtrack.ogg
# Use aoTuV codebooks
ww2ogg music.wem --aoTuV
# Use inline codebooks
ww2ogg music.wem --inline-codebooks
Public API Reference
Classes
WwiseRiffVorbis- Main converter classCodebookLibrary- Manages Vorbis codebooksVorbisValidator- Validates Ogg Vorbis output
Enums
ForcePacketFormat-NoForce,ForceModPackets,ForceNoModPackets
Exceptions
WemException- Base exception for all wem-related errorsParseException- Error parsing wem file structureCodebookException- Codebook-related errorsFileOpenException- File not found or cannot be openedInvalidCodebookIdException- Invalid codebook ID in fileSizeMismatchException- Size validation failed
Building
dotnet build
dotnet test
License
This project is licensed under the BSD-3-Clause License - see the LICENSE file for details.
Credits
This is a .NET port of ww2ogg by Adam Gashlin (hcs), which includes code derived from the Xiph.org Foundation's reference Vorbis implementation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. 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.
-
net8.0
- NVorbis (>= 0.10.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.0.0 | 300 | 12/18/2025 |