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

TGActionException opening tef files #500

Open
rschader opened this issue Aug 28, 2024 · 8 comments
Open

TGActionException opening tef files #500

rschader opened this issue Aug 28, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@rschader
Copy link

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
Copy link
Author

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
Copy link
Collaborator

guiv42 commented Aug 28, 2024

@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 guiv42 added the bug Something isn't working label Aug 28, 2024
@guiv42
Copy link
Collaborator

guiv42 commented Sep 18, 2024

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
Copy link
Owner

helge17 commented Sep 18, 2024

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

@ffio1
Copy link
Contributor

ffio1 commented Dec 9, 2024

I'm working on a change to add TablEdit v3 support. Will post an update in a few days, hopefully with a PR.

ffio1 added a commit to ffio1/tuxguitar that referenced this issue Dec 14, 2024
To address helge17#599 , also will be used as part of helge17#500 to support TEF v3.
@guiv42
Copy link
Collaborator

guiv42 commented Dec 23, 2024

I have good news.
After some discussions with TablEdit editor, I do have a personal access to a description of tef v3 file format. I cannot share it publicly, but I have an explicit authorization to use it for an implementation of tef v3 decoding in TuxGuitar.

@ffio1 : what is the current status of #600? Did you go any further in the implementation?
Do you want me to take the lead on this feature?

@ffio1
Copy link
Contributor

ffio1 commented Dec 23, 2024

@guiv42 I haven't had time to make some of the changes you suggested for #600. Since you were able to get access to a description of the format, it may be best for you to take the lead on this as it will likely result in a better import flow than what I was able to find with just tinkering around with the files.

@guiv42
Copy link
Collaborator

guiv42 commented Dec 25, 2024

@ffio1 OK I'll do this in the coming weeks, starting from your implementation. I had a quick look, it seems you've done all the difficult part. What I can probably improve is mainly the decoding of song header, and identification of file format from file content. Thanks a lot for your contribution.

@guiv42 guiv42 self-assigned this Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants