BfevLibrary 0.9.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BfevLibrary --version 0.9.0
NuGet\Install-Package BfevLibrary -Version 0.9.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="BfevLibrary" Version="0.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BfevLibrary --version 0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BfevLibrary, 0.9.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.
// Install BfevLibrary as a Cake Addin #addin nuget:?package=BfevLibrary&version=0.9.0 // Install BfevLibrary as a Cake Tool #tool nuget:?package=BfevLibrary&version=0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bfev Library
Nintendo Binary cafe Event Flow Libray | Based on evfl by Léo Lam
BfevLibrary has been tested to parse, serialize (json), deserialize (json), and write every BFEV file found in Breath of the Wild byte-perfectly.
Usage
Read from a File Path
BfevFile bfev = new("path/to/file.bfevfl");
Read from a byte[]
SarcFile sarc = new("D:/Botw/Update/content/Events/100enemy.sbeventpack");
BfevFile bfev = new(sarc.Files["EventFlow/100enemy.bfevfl"]);
Read from a Stream
using FileStream fs = File.OpenRead("path/to/file.bfevfl");
BfevFile bfev = new(fs);
Read from JSON
string json = File.ReadAllText("path/to/file.bfevfl.json");
BfevFile bfev = BfevFile.FromJson(json);
Write to a File Path
BfevFile bfev = new("path/to/file.bfevfl");
bfev.ToBinary("path/to/file_out.bfevfl");
Write to a byte[]
BfevFile bfev = new("path/to/file.bfevfl");
byte[] data = bfev.ToBinary();
Write to a Stream
BfevFile bfev = new("path/to/file.bfevfl");
using FileStream fs = File.Create("path/to/file_out.bfevfl");
bfev.ToBinary(fs);
Write to Json
BfevFile bfev = new("path/to/file.bfevfl");
string json = bfev.ToJson(format: true);
Install
NuGet
Install-Package BfevLibrary
Build From Source
git clone https://github.com/NCF-Library/BfevLibrary.git
dotnet build BfevLibrary
Credits
- Arch Leaders: C# Re-Implementation & JSON SerDe
- Léo Lam: Original Python Implementation & General Help
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- No dependencies.
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 |
---|---|---|
0.11.7 | 266 | 3/3/2024 |
0.11.6 | 118 | 2/27/2024 |
0.11.5 | 113 | 2/27/2024 |
0.11.4 | 201 | 1/15/2024 |
0.11.3 | 243 | 7/27/2023 |
0.11.2 | 144 | 7/27/2023 |
0.11.1 | 150 | 7/24/2023 |
0.11.0 | 152 | 5/20/2023 |
0.10.6 | 233 | 3/3/2023 |
0.10.5 | 250 | 2/23/2023 |
0.10.4 | 233 | 2/21/2023 |
0.10.3 | 252 | 2/11/2023 |
0.10.2 | 239 | 2/11/2023 |
0.10.1 | 254 | 2/11/2023 |
0.10.0 | 253 | 2/11/2023 |
0.9.0 | 262 | 12/17/2022 |