dvpl_converter

command module
v0.0.0-...-ec3f0d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2023 License: MIT Imports: 1 Imported by: 0

README

DVPL Converter

This is a CLI program that converts files to and from the WG WoTB DVPL format.

Demo

The following text is a summary of references from maddoxkkm repository & archive

About DVPL

.dvpl is a new file format that is first seen used in the World of Tanks Blitz Client for Chinese Server, and now it's used on all known clients, except files that are contained within Android apks.

DVPL Specification:

  • Starts with stream of Byte data, can be compressed or uncompressed.
  • The last 20 bytes in DVPL files are in the following format:
    • UINT32LE input size in Byte
    • UINT32LE compressed block size in Byte
    • UINT32LE compressed block crc32
    • UINT32LE compression Type
      • 0: no compression (format used in all uncompressed .dvpl files from SmartDLC)
      • 1: LZ4 (not observed but handled by this decompressor)
      • 2: LZ4_HC (format used in all compressed .dvpl files from SmartDLC)
      • 3: RFC1951 (not implemented in this decompressor since it's not observed)
    • 32-bit Magic Number represents "DVPL" literals in utf8 encoding, encoded in big-Endian.

Usage

  • Download the program from the release page
  • (Optional) Place the program in the same directory as the files you want to convert
  • Run the program from cmd/terminal with the following commands
    • Interactive: ./dvpl_converter
    • Convert file to DVPL: ./dvpl_converter encrypt
    • Convert DVPL to file: ./dvpl_converter decrypt

You can run dvpl_converter --help for more details about commands and flags

Build Requirments

  • go >= 1.19

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis
common

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL