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.0.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.0.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wtfileutils-0.0.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.0.1.tar.gz
Algorithm Hash digest
SHA256 174ef8414017ae78435d34cf9233543eb6137316fb978a73fbb23399796d6b99
MD5 e42f3a25a39c2906d70bc12a58918282
BLAKE2b-256 8cb4cca1d924fa792a97b2a384d0126ca2178b988d72640e33c02a0f9ccd5568

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wtfileutils-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.2 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87feb12ccc5cf24848c2be3e4d3a943d20f3d0cf35fc350f925498d9a40a2a2f
MD5 01557124fce2183bf217778806448bbb
BLAKE2b-256 bc60d172adf0780569476595eb4a4113e273f979c3177360edc16f2fe66dd81f

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