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

generated gpx wont open on guitar pro (android) #17

Open
DeathEvil opened this issue Aug 25, 2014 · 4 comments
Open

generated gpx wont open on guitar pro (android) #17

DeathEvil opened this issue Aug 25, 2014 · 4 comments

Comments

@DeathEvil
Copy link

mobile version of guitar pro is able to open all guitar pro files (gp5, gpx etc) yet for some reason the tabs generated by the program in gpx don't open, while generated in gp5 open no problem. all other gpx tabs open on android so I'm suspecting there is an illegal header or something that prevents it from opening (it says the file is corrupted, but same file opens on desktop guitar pro). Not a big deal since it opens gp5, but worth mentioning.

thanks

@fholger
Copy link
Owner

fholger commented Aug 25, 2014

I might take a look at it, but to be honest I don't expect to be able to fix this in a reasonable amount of effort.
At its core, a gpx file is a sort of compressed container, like a zip file, only it's a ridiculous custom implementation. Currently I don't even compress the container, so that could be the first hurdle. Then, I don't fully understand the format of the uncompressed container, only enough to "fake it" reasonably well. It might be that my fake is good enough to open with GP6, but not with the Android version.
And finally, the gpx container normally contains 5 files, but I only put the main score.gpif file into it. The purpose of the other 4 files is not entirely clear to me, and some of them are in a binary format, so that makes reverse-engineering them tedious. GP6 is fine with those other files missing, but it could be that the mobile version expects them.

Basically, I can try to rule out some of these possibilities, but whether I can fix the remaining ones, we'll see :)

@DeathEvil
Copy link
Author

does the gp5 have a similar structure like gpx? the gp5 works on mobile...
I emailed guitar pro team with a gpx generated by the converter to see if they can figure out why it opens on desktop but not mobile (and hopefully they will release an update)

thanks as usual!

@DeathEvil
Copy link
Author

A quick workaround I just discovered is to open the gpx in desktop, and hit save. Now the file works on mobile and takes much less space (probably does the compression you mentioned)

@fholger
Copy link
Owner

fholger commented Aug 26, 2014

gp5 and gpx are completely different. :)

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

2 participants