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.1.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.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wtfileutils-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 30fc924c753d74dfe9649523e6c19cc7a04dc2ca94fb98ab00fa66257a42071d
MD5 6b17ac187044246f406ffe96a02108d1
BLAKE2b-256 521bf4407bfd3ede6f202728223b93c16affd3cb0820a2d21003fd21c962f17f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wtfileutils-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0409b70216b41da70daafe75a2c62c8fce9d03f309a98505d702adaec39ddff
MD5 8f8a0480a6b77cf20a8f3962cf1fedde
BLAKE2b-256 0ba61ff715663ade05c53bb43a23a7296021f480670ba74de7ec27dadf359bf1

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