m-vave-tankG-codec
Dependency-free Python encoder, decoder and command-line tool for the 21-byte .tkg preset file, with a byte-by-byte description of the format.
by Mekuze

- Distribution
- Build from source yourself
- License notes
- No LICENSE file in the repository. The README's project tree lists one, but none is committed.
- Source
- github.com https://github.com/Mekuze44/m-vave-tankG-codec
- research
- converter
- python
- cli
- presets
Description
A single Python module that turns a Tank-G preset into a small object and back. The README tabulates what each of the 21 bytes holds: the on or off state of the four effect sections, noise gate, amp type, gain and the three tone controls, volume, the modulation, delay and reverb knobs, the cabinet slot and the footswitch LED colour. It explains that the three effect knobs store a position on one continuous control rather than a type and a value, and that the editor shows those values one higher than the stored byte. The author says some limits, such as the upper range of bass, are still being worked out. The command line decodes a .tkg file to a list of fields or encodes one from key=value arguments. The README is in Portuguese. It is a reverse-engineering reference more than an editor.
Install notes
Needs Python 3.10 or newer and nothing else. Clone the repository and run python tankg_codec.py decode preset.tkg, or import TKGPreset from the module.
Version history
| Version | Date | Notes |
|---|---|---|
| main @ ac3a322 | 2026-10-03 | No tagged releases; this is the latest commit. |