#totalwar #modding


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

11 stable releases

new 4.0.10 Mar 23, 2023
4.0.9 Mar 21, 2023
3.99.119 Mar 4, 2023

#94 in Games

Download history 37/week @ 2023-02-26 44/week @ 2023-03-05 94/week @ 2023-03-12 120/week @ 2023-03-19

295 downloads per month
Used in 2 crates

MIT license

14K SLoC

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.




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.


~533K SLoC