Tux Guitar

Problems

Subject Drum tracks not exported correctly?



Author Message
InTUXociation
Post: Aug 7th 2009 at 6:13 PM

Hi, great prog, just one little quirk keeping me from using it.
I DLed it, and wanted to start using it instead of Guitar Pro. So, after I started editing current Guitar Pro files, and reloaded them back in Guitar Pro I noticed it ruined the drum track. I mean, Guitar Pro stopped recognizing them as drum tracks, instead they are guitar tracks...
It kinda ruined the file... so I stopped using it, hoping a future version will fix it.
The guitar Pro in question is GP 5.2 with the stupid memory bug, which is one of the reasons why I'm keen to stop using it.


Back to Top
 
InTUXociation
Post: Aug 20th 2009 at 6:55 PM

I guess I really didn't ask a question... my bad,
Is this a known issue? Will it be fixed?


Back to Top
 
Julian
Post: Aug 20th 2009 at 8:52 PM

Yes it's a known issue..
the problem is that we didn't find yet, what GP needs on the file format to understand that "it's a percussion track"
( GP fileformat is not open, and don't have specification so it's not so easy to find how to write a good file ).

So yes, we'll try to fix it.. but i can't tell you when it will be done..


Back to Top
 
Andrey
Post: Nov 12th 2009 at 3:05 PM

I found the problem. Create an empty file with 1 track drums. Called it "This Drums". Save target as drums.gp5. He opened the 16-hex editor. Below is part of the contents of the file.

04D0h | 00 02 02 02 02 00 00 01 08 0A 54 68 69 73 20 44 | .........This D
04E0h | 72 75 6D 73 00 00 00 00 00 00 00 00 00 00 00 00 |rums............

By address 04D8h is byte 08. You need to replace it at 09. It is true only for the GP5.
Translated by google.
PS: From Russia with love:)


Back to Top
 
Andrey
Post: Nov 13th 2009 at 1:36 PM

Download source. I looked the code. I propose to change only 1 line from the file 'GP5OutputStream.java'. A flaw in the 'writeTrack (TGTrack track)'. Row 'writeByte((byte)8);' replace 'writeByte((byte)(8|flags));'.
Correct please. And to lay out a new distribution.
PS: Translated with Google.


Back to Top
 
Julian
Post: Nov 14th 2009 at 3:00 PM

Thanks Andrey, i'll check it.

I must to make sure that the generated file will works with any GP v5.* versions ( v5.00, v5.20, etc )

Did you already checked that ?


Back to Top
 
Andrey
Post: Nov 15th 2009 at 5:12 PM

Checked for GuitarPro v.5.0, GuitarPro v.5.1, GuitarPro v.5.2.


Back to Top
 
Julian
Post: Nov 15th 2009 at 6:52 PM

Ok, thanks Andrey.. I commited this change to SVN version

For who want update the plugin, this prebuilt version works with tuxguitar 1.2:
http://tuxguitar.svn.sourceforge.net/viewvc/tuxguitar/trunk/TuxGuitar/share/plugins/tuxguitar-gtp.jar?revision=768


Back to Top
 
Andrey
Post: Nov 15th 2009 at 11:10 PM

Thanks Julian! :)


Back to Top
 
Lakky
Post: Feb 17th 2012 at 10:38 PM

Hi, I got very big problem i don't know how to solve it.
When I open midi file in Guitar pro 5, and import all tracks, instead drums i hear acoustic piano.
HELP!?!


Back to Top