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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wtfileutils-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 1f2d70f99ba9c83941f5beb7f5f6879341557edda64672a8dbc4cef4b652b534
MD5 4760b964bb0ccf2c01c82f0d82508df0
BLAKE2b-256 a9a913a4ca869e7ad8399f2a4ccfdd8eac29c80dedd6bbe762fd0b3124932450

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wtfileutils-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 24.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5c74840ddc8138a408184db49e451d8d0492ac4b8a4abea3e8a644d6c3e7d11c
MD5 20bbd9ae18dcd9bfd749e491ea6f1f2b
BLAKE2b-256 f5cb638c4b61da326c1adf084c7313513226dd2fd9f13a2bbd9bcdd3af9dd839

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