#total-war #modding

rpfm_lib

This crate contains the basic functionality for interacting with Total War files

55 stable releases

4.7.4 Jan 11, 2026
4.7.0 Dec 7, 2025
4.5.4 Jul 25, 2025
4.3.14 Feb 2, 2025
3.99.119 Mar 4, 2023

#330 in Games


Used in 2 crates

MIT license

2.5MB
38K SLoC

Overview

This crate provides utilities to read/write multiple types of files used by Creative Assembly (CA) in Total War Games since Empire: Total War.

For information about an specific file type (support, docs, specs,...), please check their modules under the files module.

TODO: Write some examples.


Rusted PackFile Manager - Lib

Rusted PackFile Manager - Lib, is a crate with functionality for manipulating different kind of files used by Total War games, and it's the backbone of the RPFM Project. It also manages Game-Specific logic, and Schemas. The file types it can edit are:

  • Anim Fragments.
  • Anim Packs.
  • Anim Tables.
  • Audio (only MP3).
  • DB Tables.
  • ESF Binaries.
  • Matched Combat Table.
  • Packs (obviously).
  • Portrait Settings (only v4).
  • Unit Variant (form Empire, Napoleon and Shogun 2).
  • Video.

For info on how to use it, check the docs, or RPFM's use of them in their repo.

become_a_patron_button

Dependencies

~38–52MB
~1M SLoC