• Amministratore
  •  
    Support Ukraine
    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.
     

py amazfit tool

This forum is designed to discuss and develop tools creating watch faces.

Moderatori: asoo, lvpokka, Internal error, Watchmens

Regole del forum
All communication in this branch should only be in English.
To discuss tools that are not in this section, use the “Watchfaces tools (discussion)” forum.
Rispondi
afwafwafw
Messaggi: 32
Iscritto il: 21 feb 2019, 02:55
Località: on earth
Has thanked: 6 times
Been thanked: 14 times
Contatta:

py amazfit tool

Messaggio da afwafwafw »

https://github.com/lolyinseo/py_amazfit ... ee/dev_gtr
https://github.com/ghtalpo/amazfit_verge_lite_tools

what is...
  • can pack/unpack .bin file for amazfit verge lite/gtr(original watchfaces)
what isn't...
  • 100% compatibility with amazfit_bip_tool
  • 100% compatibility with .json structures of bip
requirements
  • python3(tested on 3.7.4)
  • pillow(tested on 6.1.0)

Codice: Seleziona tutto

## usage
* for verge lite
  * see scripts folder
    * to unpack
      * python main.py WATCH_FACE_FILE.bin
    * to pack
      * python main.py WATCH_FACE_FILE.json
    * to convert from extracted GTR watchface(experimental BIP support also)
      * python convert.py EXTRACTED_WATCH_FACE_FOLDER
  * for windows users(experimental) : USE AT YOUR OWN RISK
    * copy & unzip amazfit_verge_lite_tools_WIN32.zip from release/win32
      * to pack
        * drag & drop WATCH_FACE_FILE.json into main/main.exe
      * to unpack
        * drag & drop WATCH_FACE_FILE.bin into main/main.exe
      * to convert from extracted GTR watchface(experimental BIP support also)
        * drag & drop EXTRACTED_WATCH_FACE_FOLDER into convert/convert.exe
* for GTR
  * to unpack
    * python main.py --gtr WATCH_FACE_FILE.bin
  * to pack
    * python main.py --gtr WATCH_FACE_FILE.json
  * for windows users(experimental) : USE AT YOUR OWN RISK
    * copy & unzip amazfit_gtr_tools_WIN32.7z from release/win32
      * to pack
        * drag & drop WATCH_FACE_FILE.json into main_gtr/main.exe
      * to unpack
        * drag & drop WATCH_FACE_FILE.bin into main_gtr/main.exe
It's a python port of Валерий Миронов's AmazfitBipTools(v.1.0.3.1) with some hacks.

Have a fun and feel free to give me some feeback.
fx_advanc
WF maker
Messaggi: 19
Iscritto il: 25 lug 2019, 03:47
Località: Malaysia
Has thanked: 7 times
Been thanked: 3 times
Contatta:

Messaggio da fx_advanc »

yep been trying, i tried to set EMC first,

tick.json i forgot where did i put the original file (i take it from verge).
afwafwafw
Messaggi: 32
Iscritto il: 21 feb 2019, 02:55
Località: on earth
Has thanked: 6 times
Been thanked: 14 times
Contatta:

Messaggio da afwafwafw »

TXK ha scritto: 19 ago 2019, 02:02
Can you make EXE programs?
https://github.com/ghtalpo/amazfit_verg ... ease/win32

see usage/for_windows_users section in readme.md
Ferodo
WF maker
Messaggi: 6
Iscritto il: 01 ago 2019, 02:22
Località: Malaysia
Has thanked: 4 times
Contatta:

Messaggio da Ferodo »

afwafwafw ha scritto: 26 ago 2019, 13:23
TXK ha scritto: 19 ago 2019, 02:02
Can you make EXE programs?
https://github.com/ghtalpo/amazfit_verg ... ease/win32

see usage/for_windows_users section in readme.md
Thank you so much :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
koolgao
WF maker
Messaggi: 16
Iscritto il: 15 apr 2018, 06:25
Has thanked: 2 times

Messaggio da koolgao »

buenos dias compañeros para cuando https://github.com/ghtalpo/amazfit_verg ... ease / win32 este podra empacar las esferas de 42 mm del gtr? para el gtr de 47 va de lujo pero para el de 42 no hace nada
glenan
Messaggi: 10
Iscritto il: 24 ago 2019, 16:35
Località: France
Has thanked: 2 times
Been thanked: 2 times
Contatta:

Messaggio da glenan »

Hello
Is there any tuto how to use Amazfit GTR TOols 32b ?
Thanks.
koolgao
WF maker
Messaggi: 16
Iscritto il: 15 apr 2018, 06:25
Has thanked: 2 times

Messaggio da koolgao »

Veo que este hilo no tiene movimiento no? Nadie sabe cuando sacaran algo para el gtr de 42??
STERH
Messaggi: 2
Iscritto il: 06 set 2018, 18:46
Been thanked: 1 time
Contatta:

Messaggio da STERH »

Hi,
first of all thank you for this great app. I have a gtr 47mm and experimenting with watchfaces with good results so far.
Is there any estimation about the weather???
I've tried copying the weather lines from verge into json but the bin produced does not show anything.

Thank you in advance
Vinassif
WF maker
Messaggi: 3
Iscritto il: 28 apr 2019, 03:53
Contatta:

Messaggio da Vinassif »

anyone can do this faces to verge lite ?? this is to gtr but i want transport to verge lite:

https://amazfitwatchfaces.com/gtr/view/670
https://amazfitwatchfaces.com/gtr/view/543
thanks a lot
glassphone
WF maker
Messaggi: 4
Iscritto il: 30 giu 2019, 23:43
Has thanked: 2 times
Contatta:

Messaggio da glassphone »

I hope developers can continue to improve their tools. I can offer some other ideas, such as decompression or GTR dial decompression with weather.
Allegati
47.zip
(96.94 KiB) Scaricato 444 volte
Bart1981
WF maker
Messaggi: 4
Iscritto il: 13 set 2019, 18:02
Has thanked: 2 times
Contatta:

Messaggio da Bart1981 »

glenan ha scritto: 24 set 2019, 09:21
Hello
Is there any tuto how to use Amazfit GTR TOols 32b ?
Thanks.
I was wondering the exact same thing.
koolgao
WF maker
Messaggi: 16
Iscritto il: 15 apr 2018, 06:25
Has thanked: 2 times

Messaggio da koolgao »

glassphone ha scritto: 29 set 2019, 06:52
I hope developers can continue to improve their tools. I can offer some other ideas, such as decompression or GTR dial decompression with weather.
como has conseguido desempacar esta esfera? me la puedes pasar?
titanzx
WF maker
Messaggi: 6
Iscritto il: 05 set 2019, 13:53
Been thanked: 2 times
Contatta:

Messaggio da titanzx »

glassphone ha scritto: 29 set 2019, 06:52
I hope developers can continue to improve their tools. I can offer some other ideas, such as decompression or GTR dial decompression with weather.
How you can unpacked this WF ?
glenan
Messaggi: 10
Iscritto il: 24 ago 2019, 16:35
Località: France
Has thanked: 2 times
Been thanked: 2 times
Contatta:

Messaggio da glenan »

Bart1981 ha scritto: 29 set 2019, 09:21
glenan ha scritto: 24 set 2019, 09:21
Hello
Is there any tuto how to use Amazfit GTR TOols 32b ?
Thanks.
I was wondering the exact same thing.

I found that (exemple for GTR) :
for windows users(experimental) : USE AT YOUR OWN RISK
* copy & unzip amazfit_gtr_tools_WIN32.7z from release/win32
* to pack
* drag & drop WATCH_FACE_FILE.json into main_gtr/main.exe
* to unpack
* drag & drop WATCH_FACE_FILE.bin into main_gtr/main.exe

You create a directory for each .bin fil you donwload
unpack will create a subdirectory with all neccesary files if bin file is compatible because many of bin files come from modified original watchfaces and don't work.

So you need to find the original bin file

I succeeded for one bin file to add my own logo on it and for the first time, it had no color problem in it.
glassphone
WF maker
Messaggi: 4
Iscritto il: 30 giu 2019, 23:43
Has thanked: 2 times
Contatta:

Messaggio da glassphone »

titanzx ha scritto: 30 set 2019, 10:02
glassphone ha scritto: 29 set 2019, 06:52
I hope developers can continue to improve their tools. I can offer some other ideas, such as decompression or GTR dial decompression with weather.
How you can unpacked this WF ?
decompress this WF then unpack it.
glassphone
WF maker
Messaggi: 4
Iscritto il: 30 giu 2019, 23:43
Has thanked: 2 times
Contatta:

Messaggio da glassphone »

koolgao ha scritto: 29 set 2019, 19:58
glassphone ha scritto: 29 set 2019, 06:52
I hope developers can continue to improve their tools. I can offer some other ideas, such as decompression or GTR dial decompression with weather.
como has conseguido desempacar esta esfera? me la puedes pasar?
Bien.
titanzx
WF maker
Messaggi: 6
Iscritto il: 05 set 2019, 13:53
Been thanked: 2 times
Contatta:

Messaggio da titanzx »

glassphone ha scritto: 01 ott 2019, 09:22
titanzx ha scritto: 30 set 2019, 10:02
glassphone ha scritto: 29 set 2019, 06:52
I hope developers can continue to improve their tools. I can offer some other ideas, such as decompression or GTR dial decompression with weather.
How you can unpacked this WF ?
decompress this WF then unpack it.
Can you send me this unpacked file ?
thanks.
Bart1981
WF maker
Messaggi: 4
Iscritto il: 13 set 2019, 18:02
Has thanked: 2 times
Contatta:

Messaggio da Bart1981 »

glenan ha scritto: 30 set 2019, 13:06
Bart1981 ha scritto: 29 set 2019, 09:21
glenan ha scritto: 24 set 2019, 09:21
Hello
Is there any tuto how to use Amazfit GTR TOols 32b ?
Thanks.
I was wondering the exact same thing.

I found that (exemple for GTR) :
for windows users(experimental) : USE AT YOUR OWN RISK
* copy & unzip amazfit_gtr_tools_WIN32.7z from release/win32
* to pack
* drag & drop WATCH_FACE_FILE.json into main_gtr/main.exe
* to unpack
* drag & drop WATCH_FACE_FILE.bin into main_gtr/main.exe

You create a directory for each .bin fil you donwload
unpack will create a subdirectory with all neccesary files if bin file is compatible because many of bin files come from modified original watchfaces and don't work.

So you need to find the original bin file

I succeeded for one bin file to add my own logo on it and for the first time, it had no color problem in it.
Ok great, with these steps I think I'll be able to get somewhere and make my own adjustments. Thnx!
glenan
Messaggi: 10
Iscritto il: 24 ago 2019, 16:35
Località: France
Has thanked: 2 times
Been thanked: 2 times
Contatta:

Messaggio da glenan »

Hi

If someone knows, I should like to find bin files compatibles with windows amazfit tool because most of them are unusabled because of already modified.

I don't know exactly why some can work and others not.

How can we know it ?
gianpaoloc
WF maker
Messaggi: 1
Iscritto il: 11 ott 2019, 01:47
Contatta:

Messaggio da gianpaoloc »

I was easily able to use the py_amazfit_tool to unpack and repack a watchface downloaded from this site (thanks afwafwafw) but I was not able to do the same with any of the original watchfaces downloaded through the amazfit app.

More precisely, if I take the bin from the android folder where the amazfit app put its own watchfaces and I try to unpack it with the Python tool provided (I use Linux), I get an error about a wrong, unrecognized header. The process works correctly with watchfaces downloaded from this site. Is this normal?
Avatar utente
aYe
Messaggi: 7
Iscritto il: 01 nov 2018, 20:42
Has thanked: 1 time
Been thanked: 1 time
Contatta:

Messaggio da aYe »

Not experienced in python or coding at all, trying to decompile 42mm with main[dot]py & main.exe (cmd, python terminal & drag and drop) and I get the error-
'Reader' object has no attribute '_parameters'
Any ideas?
Allegati
2f54d52d7ec743dce75f803e5d1329ab.bin
Official 42mm Vermillion WF
(229.08 KiB) Scaricato 406 volte
Avatar utente
l1lN1ckl1l
WF maker
Messaggi: 3
Iscritto il: 20 lug 2019, 17:22
Località: Germany
Been thanked: 3 times
Contatta:

Messaggio da l1lN1ckl1l »

This is awesome. What python version do you use, and can I use your code in one of my projects for the MiBand 4?
Nick
el_boda
WF maker
Messaggi: 1
Iscritto il: 03 set 2019, 23:48
Contatta:

Messaggio da el_boda »

glassphone ha scritto: 01 ott 2019, 09:22
titanzx ha scritto: 30 set 2019, 10:02
glassphone ha scritto: 29 set 2019, 06:52
I hope developers can continue to improve their tools. I can offer some other ideas, such as decompression or GTR dial decompression with weather.
How you can unpacked this WF ?
decompress this WF then unpack it.
Could you explain with more detail? when we download a WF it is a bin file and we can unpack with the tools. In what part is the decompression process?
Avatar utente
jimmydimo
Messaggi: 4
Iscritto il: 05 ago 2019, 09:40
Località: Athens
Been thanked: 1 time
Contatta:

Messaggio da jimmydimo »

I installed everything. I get error python: can't open file main py : [Errno 2] No such file or directory
Avatar utente
jimmydimo
Messaggi: 4
Iscritto il: 05 ago 2019, 09:40
Località: Athens
Been thanked: 1 time
Contatta:

Messaggio da jimmydimo »

Well i saw "the experimental : USE AT YOUR OWN RISK" but i just mention it. For me drag&drop extracts the wf but the json file is blank, zero bytes...
Avatar utente
jimmydimo
Messaggi: 4
Iscritto il: 05 ago 2019, 09:40
Località: Athens
Been thanked: 1 time
Contatta:

Messaggio da jimmydimo »

Also some bins wont extract
Rispondi

Torna a “Watchfaces tools”

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite