helge17 / tuxguitar

Improve TuxGuitar and provide builds
Other
492 stars 42 forks source link

TGActionException opening tef files #500

Open rschader opened 2 months ago

rschader commented 2 months ago

I have a few tef files I recently downloaded, and when I try to open them, I get an error: org.herac.tuxguitar.action.TGActionException. Some of the other tef files I downloaded from the same site open up fine. Maybe the tef files are corrupt? They were zipped up, no errors in the zip files. I've attached the 2 tef files that cause this error. Crazy.zip I Never Cried.zip

rschader commented 2 months ago

I was able to open the problem files fine using the Tefviewer software, so it must be an issue with Tuxguitar, or maybe something wrong with my computer?

guiv42 commented 2 months ago

@rschader : there is no problem with your computer, I confirm the issue (TuxGuitar 1.6.4, Linux openSuse tumbleweed).

I did a basic binary comparison with some .tef files I have on my machine, structure of these file is quite different. Most probably there are several versions of TablEdit out there, producing different file structures with the same .tef extension (as TuxGuitar does).

The difficult part is that, as far as I know, the tef file format is closed and proprietary.

guiv42 commented 2 months ago

I have contacted TablEdit development team. It is confirmed the .tef file format changed in 2020, so no big surprise if TuxGuitar cannot read the new format. TablEdit team is currently not willing to share the definition of this file format publicly. That is fully understandable for a commercial software. So unless someone has a TablEdit license and some time to reverse-engineer the new format, this issue will not progress.

helge17 commented 2 months ago

According to the TablEdit changelog the file format changed from V.2.78 to V.3.00. Commit ea3af745b116c6ad309082fcdba61fb3a5931f38 adds a "v2" to the documentation.