If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know.
If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.

Watchface unpacking

Topics related to the creation, development, and designing of the watch faces.

Moderadores: asoo, Watchmens

Regras do fórum
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [GTR 3 Pro]
All communication in this branch should only be in English.
SPLESHER
Mensagens: 29
Registrado em: 08 Dez 2020, 12:11
Localização: Poland
Has thanked: 1 time
Contato:

Watchface unpacking

Mensagem por SPLESHER »

Hey,
I wanted to edit another watchface/watchfaces, but I'm struggling with unpacking it.
Sasha's editor doesn't work (says unrecognized structure of watchface),
I tried unpacking it via Zmake program I found on net, but seems like colors are changed a bit, also I can't open json file or bin to see positions for everything for at least recreating it in Sasha's editor because it shows null values
These are watchfaces I'd like to unpack and edit:
https://amazfitwatchfaces.com/gtr/view/39798
https://amazfitwatchfaces.com/gtr/view/36289
Spoiler
Imagem

Imagem
Avatar do usuário
SashaCX75
Mensagens: 829
Registrado em: 26 Out 2019, 15:18
Localização: Ukraine
Has thanked: 15 times
Been thanked: 1044 times
Contato:

Mensagem por SashaCX75 »

The json file opens fine. But there is nothing useful in it. The bin files cannot be opened. That's why you can't edit this watch face.
The only thing you can do is unpack images from it.
SPLESHER
Mensagens: 29
Registrado em: 08 Dez 2020, 12:11
Localização: Poland
Has thanked: 1 time
Contato:

Mensagem por SPLESHER »

SashaCX75 escreveu: 15 Set 2024, 16:35
The json file opens fine. But there is nothing useful in it. The bin files cannot be opened. That's why you can't edit this watch face.
The only thing you can do is unpack images from it.
How do they build these watchfaces then, if there is no positions or smth in json file?
I would recreate this watchface if there would be positions but there aren't any.
What's about image colors after unpacking with zmake? Is there better tool for unpacking them?
Avatar do usuário
SashaCX75
Mensagens: 829
Registrado em: 26 Out 2019, 15:18
Localização: Ukraine
Has thanked: 15 times
Been thanked: 1044 times
Contato:

Mensagem por SashaCX75 »

The json file is just a manifest. It has never had any widget parameters in it. All widgets are in the js file. But sometimes the js file is encoded in bin and then you can't do anything with it.
I don't know for zmake. In my editor if you select the correct model then the images are extracted. Even if you can't recognise the watch face code, the images will still be extracted to the folder.
You can also just copy the watch face images as from the archive and then convert them with this utility
https://www.dropbox.com/scl/fi/nzw0e873 ... bvlpf&dl=0
SPLESHER
Mensagens: 29
Registrado em: 08 Dez 2020, 12:11
Localização: Poland
Has thanked: 1 time
Contato:

Mensagem por SPLESHER »

SashaCX75 escreveu: 16 Set 2024, 18:05
The json file is just a manifest. It has never had any widget parameters in it. All widgets are in the js file. But sometimes the js file is encoded in bin and then you can't do anything with it.
I don't know for zmake. In my editor if you select the correct model then the images are extracted. Even if you can't recognise the watch face code, the images will still be extracted to the folder.
You can also just copy the watch face images as from the archive and then convert them with this utility
https://www.dropbox.com/scl/fi/nzw0e873 ... bvlpf&dl=0
I see, so best way is to just resize preview and make it myself i guess,
One more question, how do they make numbers following pointer or progress bar? Is it some coding or it can be done somehow in your program? You can see it here, with steps, heartrate or battery levels.
Also what's about sleep? I'm blind or I don't see Sleep element :/ https://amazfitwatchfaces.com/gtr/view/39798
Avatar do usuário
SashaCX75
Mensagens: 829
Registrado em: 26 Out 2019, 15:18
Localização: Ukraine
Has thanked: 15 times
Been thanked: 1044 times
Contato:

Mensagem por SashaCX75 »

No, you can't do that in the editor.
You can make a blank for it in the editor. But then you need to add code to the watch face, which will change the angle of data rotation depending on its value.
There is no sleep widget in the editor and is not expected in the near future.
u6gljnuj4l
WF maker
Mensagens: 10
Registrado em: 02 Jul 2019, 01:16
Localização: unknown
Contato:

Mensagem por u6gljnuj4l »

Hi, I’m also working on editing Amazfit watchfaces and facing similar problems with unpacking BIN files. SashaCX75, your tip about extracting images and using a utility is helpful. Could you share how to add code for rotating numbers or progress bars?
Avatar do usuário
SashaCX75
Mensagens: 829
Registrado em: 26 Out 2019, 15:18
Localização: Ukraine
Has thanked: 15 times
Been thanked: 1044 times
Contato:

Mensagem por SashaCX75 »

@u6gljnuj4l
If you need to display data at an angle, see how it is done in the editor. Depending on the model and the data to be displayed, the method may differ.
u6gljnuj4l
WF maker
Mensagens: 10
Registrado em: 02 Jul 2019, 01:16
Localização: unknown
Contato:

Mensagem por u6gljnuj4l »

Thanks for the tip. I'll check the editor for examples.
Responder

Voltar para “Watchfaces discussion”

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante