Skip to main content

A VROMFs and Binary BLK Reader

Project description

WtFileUtils

A module with a set of file utils for extracting and viewing various warthunder file file types

for people finding this on PyPi (and on github aswell I guess) this is very much still a wip, not all planned files exist nor are some of them built for module-like use

Usage

BLKs: the blk unpacking class is blk/BlkParser.py/BlkDecoder, as long you pass the blk bin data, the it should work. current it only supports extraction to JSON like data (a python_dict) using the .to_dict() method

vromfs: the unpacking class is WtFileUtils/vromfs/VROMFs.py/VROMFs. call .get_directory() on the VROMFs object ot get a FSDirectory to then access the various files in the vromfs through indexing

Credits

alot of the code here was reverse engineered from the efforts of the people over at https://github.com/Warthunder-Open-Source-Foundation

Without their efforts, I would have had to attempt to reverse engineer Gaijins source code over at https://github.com/GaijinEntertainment/DagorEngine , which does not sound like a fun time, so thank you to them for their hard work

Notes

if you are looking for a blk / VROMFs unpacker, this is not the place to be. While this project can do so, it is MUCH slower than other options

for a easy-to-use unpacker go look over at https://github.com/Warthunder-Open-Source-Foundation/wt_ext_cli

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wtfileutils-0.1.2.tar.gz (4.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wtfileutils-0.1.2-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file wtfileutils-0.1.2.tar.gz.

File metadata

  • Download URL: wtfileutils-0.1.2.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for wtfileutils-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2139afb7c853484fcc10a4d19f8872131d7c8255d9076f360db1732f3fc869d8
MD5 babbb9edc6f880ac17fe0b776c4f2deb
BLAKE2b-256 07da5360f9d3dbe702c0b033c2ab56347509a1a8f05c3114b8e19e1aa153dc6d

See more details on using hashes here.

File details

Details for the file wtfileutils-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wtfileutils-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for wtfileutils-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 04f4fcea599637a6ad0ed3763a37024d8383fcbf32452c99f1c2a5bc4f432a54
MD5 03cae42b641c8ba293434be0944f499d
BLAKE2b-256 5df336043d42c817e7581ac8470f0dfc1cd9acf1a8c14a057650b9067d7478ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page