{"id":49298304,"url":"https://github.com/mihaistreames/dvpl-converter","last_synced_at":"2026-04-26T05:04:06.224Z","repository":{"id":351832384,"uuid":"1212521311","full_name":"MihaiStreames/dvpl-converter","owner":"MihaiStreames","description":"Encode and decode DVPL-compressed game assets with LZ4/LZ4-HC support, written in Rust.","archived":false,"fork":false,"pushed_at":"2026-04-16T18:28:50.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-16T18:31:21.542Z","etag":null,"topics":["converter","dvpl","lz4","python","script","wotb","wotblitz"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/dvpl-engine","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MihaiStreames.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-16T13:12:22.000Z","updated_at":"2026-04-16T18:28:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/MihaiStreames/dvpl-converter","commit_stats":null,"previous_names":["mihaistreames/dvpl-converter"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/MihaiStreames/dvpl-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MihaiStreames%2Fdvpl-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MihaiStreames%2Fdvpl-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MihaiStreames%2Fdvpl-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MihaiStreames%2Fdvpl-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MihaiStreames","download_url":"https://codeload.github.com/MihaiStreames/dvpl-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MihaiStreames%2Fdvpl-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32286273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"online","status_checked_at":"2026-04-26T02:00:05.962Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["converter","dvpl","lz4","python","script","wotb","wotblitz"],"created_at":"2026-04-26T05:04:02.820Z","updated_at":"2026-04-26T05:04:06.213Z","avatar_url":"https://github.com/MihaiStreames.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dvpl-converter\n\ndvpl-converter encodes and decodes DVPL-compressed World of Tanks Blitz assets with [LZ4 and LZ4-HC](https://lz4.org) support. By default, it decodes, verifies [CRC32](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) integrity, and writes output next to the input file. It ships as a Rust crate (`dvpl-engine`), a Python CLI installable via pip, and a single-file standalone script that only needs `lz4`.\n\n[![crates.io](https://img.shields.io/crates/v/dvpl-engine.svg)](https://crates.io/crates/dvpl-engine)\n[![PyPI](https://img.shields.io/pypi/v/dvpl-converter.svg)](https://pypi.org/project/dvpl-converter)\n[![CI](https://github.com/MihaiStreames/dvpl-converter/actions/workflows/ci.yml/badge.svg)](https://github.com/MihaiStreames/dvpl-converter/actions/workflows/ci.yml)\n[![License](https://img.shields.io/github/license/MihaiStreames/dvpl-converter)](LICENSE)\n\nLicensed under MIT.\n\n## About\n\nOriginally a 180-line script I wrote because I couldn't open Blitz's asset files for a side project. I wanted to learn [maturin](https://www.maturin.rs), so the script became a Rust engine bridged to Python through [PyO3](https://pyo3.rs). Mildly overkill for the job, but it's fast and it was fun to build.\n\n### DVPL format\n\nA `.dvpl` file is a payload followed by a 20-byte footer:\n\n| Field             | Size    | Encoding      |\n| ----------------- | ------- | ------------- |\n| `original_size`   | 4 bytes | little-endian |\n| `compressed_size` | 4 bytes | little-endian |\n| `crc32`           | 4 bytes | little-endian |\n| `compression`     | 4 bytes | little-endian |\n| `magic`           | 4 bytes | `DVPL`        |\n\nCompression types: `0` none, `1` LZ4, `2` LZ4-HC.\n\n## Install\n\n### pip\n\n```sh\npip install dvpl-converter\n```\n\n### cargo\n\n```sh\ncargo add dvpl-engine\n```\n\n### Standalone script (only needs `lz4`)\n\n```sh\npip install lz4\npython standalone.py file.xml.dvpl\n```\n\n## Usage\n\n```sh\ndvpl-converter file.xml.dvpl        # decode (default)\ndvpl-converter -e file.xml          # encode with LZ4-HC\ndvpl-converter *.dvpl               # batch\ndvpl-converter -o out/ *.dvpl      # output directory\n```\n\n| Flag            | Short | Description                                    |\n| --------------- | ----- | ---------------------------------------------- |\n| `--encode`      | `-e`  | Encode to DVPL (default is decode)             |\n| `--compression` | `-c`  | `0` none, `1` LZ4, `2` LZ4-HC (default: `2`)   |\n| `--output-dir`  | `-o`  | Output directory                               |\n\n## Rust API\n\n```rust\nuse dvpl_engine::{decode, encode, COMP_LZ4_HC};\n\nlet blob = encode(b\"hello DVPL\", COMP_LZ4_HC)?;\nlet out = decode(\u0026blob)?;\nassert_eq!(out, b\"hello DVPL\");\n```\n\nFull API on [docs.rs/dvpl-engine](https://docs.rs/dvpl-engine).\n\n## License\n\nMIT. See [LICENSE](LICENSE).\n\n\u003cdiv align=\"center\"\u003e\n  Made with ❤️\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmihaistreames%2Fdvpl-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmihaistreames%2Fdvpl-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmihaistreames%2Fdvpl-converter/lists"}