Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Adopting Kaitai Struct format #4

Open
MZehren opened this issue Oct 21, 2019 · 0 comments
Open

Improvement: Adopting Kaitai Struct format #4

MZehren opened this issue Oct 21, 2019 · 0 comments

Comments

@MZehren
Copy link

MZehren commented Oct 21, 2019

Hello,

This is an answer to your question @mauricek in Perlence/PyGuitarPro#14 (comment)
which is closed now. I'm a bit late, so I open a new call for improvement here

Since you created multiple projects in different languages with the same goal of parsing GP files, it might be a good idea to write a code independent specification of the structure of those files. I searched a bit and found that the project Kaitai (https://kaitai.io) could answer this need, but it might not be the only one.

I created a small POC by forking kaitai's repository. It's nowhere near finished and I don't have time at the moment to improve it. But it stills show that you can more or less easily parse a GP file using their approach:
https://github.com/MZehren/kaitai_struct_formats/blob/master/media/guitar_pro_5.ksy
Feel free to use this code if it is of any help for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant