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

Can't unpack new gts firmware #6

Open
AsafMah opened this issue Mar 28, 2020 · 0 comments
Open

Can't unpack new gts firmware #6

AsafMah opened this issue Mar 28, 2020 · 0 comments

Comments

@AsafMah
Copy link

AsafMah commented Mar 28, 2020

Hey, I tried the tool on a gts firmware https://wearyour.tech/wp-content/uploads/2020/03/kestrelw_0.0.8.52_ft12.zip
and I get this error:

Unpacking .\kestrelw_myamazfit.ru_v12.ft
fontVersion 12
non-Latin: False
Latin:     False
last_block b'\x85\x88\x05\x00\xfc\xfe\x17\x1b\x1a\x01\x16\xff\x00\x01'
ptr=000000 85 88 05 00 fc fe 17 1b 1a 01 16 ff 00 01 img_data_addr=00000000+0x20 unicode=fefc
w: 23 h:27
dimensione_stimata 0x144
last_img_addr = 58885

pointer; 0x-0000e
Traceback (most recent call last):
  File "fonttool-gtr.py", line 347, in <module>
    unpackFont(args.filename, raw = args.raw, verbose = args.verbose)
  File "fonttool-gtr.py", line 156, in unpackFont
    value = file_content[pos]
IndexError: cannot fit 'int' into an index-sized integer
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