CallOfFile 2026.9.26.3

dotnet add package CallOfFile --version 2026.9.26.3
                    
NuGet\Install-Package CallOfFile -Version 2026.9.26.3
                    
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="CallOfFile" Version="2026.9.26.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CallOfFile" Version="2026.9.26.3" />
                    
Directory.Packages.props
<PackageReference Include="CallOfFile" />
                    
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 CallOfFile --version 2026.9.26.3
                    
#r "nuget: CallOfFile, 2026.9.26.3"
                    
#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 CallOfFile@2026.9.26.3
                    
#: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=CallOfFile&version=2026.9.26.3
                    
Install as a Cake Addin
#tool nuget:?package=CallOfFile&version=2026.9.26.3
                    
Install as a Cake Tool

CallOfFile

Call of File is a .NET library for reading and writing Call of Duty's XMODEL_EXPORT/XMODEL_BIN/XANIM_EXPORT/XANIM_BIN files.

Call of File currently is only tested on files from Call of Duty 4 and higher.

Using Call of Duty

Install the package from NuGet:

dotnet add package CallOfFile

Releases are versioned by date and build number (yyyy.M.d.build).

Usage

Call of File targets .NET 10.

using var reader = TokenReader.Create("model.xmodel_bin");
using var writer = TokenWriter.Create("model.xmodel_export");

writer.WriteTokens(reader.ReadTokens());

Tokens can also be read in order:

reader.ReadToken<TokenData>("MODEL");
var version = reader.ReadToken<TokenDataUInt>("VERSION").Value;

Or written directly:

writer.WriteSection("MODEL");
writer.WriteUShort("VERSION", 7);
writer.WriteVector3("OFFSET", Vector3.Zero);

CLI

The callfile CLI converts between *_EXPORT and *_BIN files:

callfile <paths> [--to bin|export]

Bug Reporting

A lot of work and testing has gone into Call of File, but if you find a bug, feel free to open an issue with as much information as possible including files used and any other information.

Contributing

Contributions are absolutely welcome, if you'd like to contribute code, then you can fork the repo and make edits, then open a PR, don't worry if you think you're code isn't perfect or well documented, as we can make any edits we feel are necessary to bring it up to scratch!

When contributing, ensure to keep your contributions compatible with the MIT license, this includes any libraries used. Also make sure to keep track of credits for any code you use!

License/Disclaimers

Call of File is based off research done on files provided in Call of Duty: Black Ops III Mod Tools and research done on export2bin itself to gain interoperability with files stored within the Call of Duty: Black Ops III Mod Tools. It is provided AS IS with no warranty.

Call of File is licensed under the MIT License. See the LICENSE file for more information.

Credits

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
2026.9.26.3 82 9/26/2026
2026.9.26.2 213 9/26/2026
2026.9.26.1 85 9/26/2026