Skip to content
BladesawStudiosPublic

About

A C# library for reading and writing Nintendo's AAMP format

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AampSharp

A C# reader and writer for AAMP, the parameter archive format Breath of the Wild uses for actor parameters (.bxml, .baiprog, .bphysics, .bas, .bumii and many more), and Tears of the Kingdom still uses for some of its files.

ParameterIO pio = ParameterIO.FromBinary(bytes);

ParameterObject info = pio.Root.Object("ControllerInfo")!;
info.Set("BaseScale", Parameter.FromVector3(new(2, 2, 2)));

foreach (var (hash, list) in pio.Root.Lists)
    Console.WriteLine(NameTable.BotW.NameOf(hash));

byte[] rebuilt = pio.ToBinary();

NameTable.BotW and NameTable.TotK hold each game's known names. Both are read only; Copy() one to add your own.

Build

dotnet build AampSharp.sln -c Release

Licence

AGPL-3.0-or-later. See license.md.

About

A C# library for reading and writing Nintendo's AAMP format

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages