Crates.io | wowsunpack |
lib.rs | wowsunpack |
version | 0.4.0 |
source | src |
created_at | 2023-06-03 18:23:21.003202 |
updated_at | 2024-11-10 20:39:41.383249 |
description | Utility for interacting with World of Warships game assets |
homepage | |
repository | https://github.com/landaire/wowsunpack |
max_upload_size | |
id | 881786 |
size | 173,813 |
A utility for unpacking World of Warships game assets.
Head over to the Releases page to grab the latest precompiled binary.
If you wish to install manually (building from crates.io source):
$ cargo install --force wowsunpack
GameParams.data
to JSONPlanned:
Usage: wowsunpack [OPTIONS] <COMMAND>
Commands:
extract Extract files to an output directory
metadata Write meta information about the game assets to the specified output file. This may be useful for diffing contents between builds at a glance. Output data includes file name, size, CRC32, unpacked size, compression info, and a flag indicating if the file is a directory
game-params Special command for directly reading the `content/GameParams.data` file, converting it to JSON, and writing to the specified output file path
help Print this message or the help of the given subcommand(s)
Options:
-p, --pkg-dir <PKG_DIR> Directory where pkg files are located. If not provided, this will default relative to the given idx directory as "../../../../res_packages"
-i, --idx-files <IDX_FILES> .idx file(s) or their containing directory
-h, --help Print help
-V, --version Print version
World of Warships game files are packed in two custom file formats -- .idx
files and .pkg
files. .idx
files contain serialized resource and volume (.pkg) metadata. There exists an official utility provided by the game developer, Wargaming, but has the following drawbacks compared to this utility:
The first two points are the big motivator for development of this utility. Applications like minimap_renderer depend on game assets and reading these assets isn't easily automated with today's tools.