Credits
Reading a closed format well is only possible because other people did the hard work of documenting it in the open. Thank you to every project below.
Code we use
| Project | Authors | What it does here | Licence |
|---|---|---|---|
OxiGuitar’s plugin SDK (oxiguitar-plugin, oxiguitar-plugin-api, oxiguitar-model, and oxiguitar-plugin-test for the tests) | Mateus Rocha de Paula and the OxiGuitar contributors | The plugin interface and the score model | MIT OR Apache-2.0 for the interface and SDK; GPL-3.0-or-later for the model |
| zip | Mathijs van de Nes, Marli Frost, Ryan Levick, Chris Hennick and contributors | Guitar Pro 7 and 8 archives | MIT |
| zlib-rs | The Trifecta Tech Foundation | Deflate compression, in pure Rust, under zip | Zlib |
| quick-xml | Johann Tuffe, Mingun and contributors | GPIF, the XML inside Guitar Pro 6, 7 and 8 files | MIT |
| serde_json | David Tolnay, Erick Tryzelaar and contributors | Tests and tools | MIT OR Apache-2.0 |
| Rust and its standard library | The Rust Project | Everything else | MIT OR Apache-2.0 |
The readers and writers are our own code.
Projects we learned the formats from
| Project | Authors | What we took | Licence |
|---|---|---|---|
| alphaTab | Danielku15 (CoderLine) and contributors | How Guitar Pro 6’s container is compressed and laid out, what GPIF’s elements mean, and a second reader to check our files against | MPL-2.0 |
| PyGuitarPro | Sviatoslav Abakumov (Perlence) and contributors | The byte layout of Guitar Pro 3 to 5, and a cross-check of our readers | LGPL-3.0 |
| TuxGuitar | Julian Casadesus, helge17 and contributors | Its Guitar Pro readers, to settle what an effect’s bytes mean | LGPL-2.1 |
| MuseScore Studio | Muse Group and contributors | A second program to check that what we write reads as we mean it | GPL-3.0 |
Each was used as documentation and as an independent check. No code from them is in these plugins.
Tools
| Tool | Use |
|---|---|
| cargo-fuzz and libfuzzer-sys | Fuzzing the readers and writers (fuzz/) |
| Node.js and Python | The interoperability checks against alphaTab and MuseScore (scripts/interop/) |
| mdBook | Builds this manual |
| cargo-deny | Checks the licences of everything we build with |
Thanks
To Danielku15 and the alphaTab project, to Perlence and the PyGuitarPro contributors, and to the TuxGuitar team: years of patient reverse engineering, shared with everyone.
Guitar Pro is a trademark of Arobas Music. MuseScore is a trademark of Muse Group. These plugins are not affiliated with either.