• Administrator
  •  
    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.

Moderators: asoo, lvpokka, Internal error, Watchmens

Forum rules
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.
afwafwafw
Posts: 32
Joined: 21 Feb 2019, 02:55
Location: on earth
Has thanked: 6 times
Been thanked: 14 times
Contact:

py amazfit tool

Post by 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)

Code: Select all

## 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.
rubiales41
WF maker
Posts: 8
Joined: 08 Dec 2019, 08:03
Has thanked: 5 times
Contact:

Post by rubiales41 »

hello, how is it done, or where can I find the time points and minutes to make analog clocks ?, thank you very much
taw_bip
WF maker
Posts: 130
Joined: 12 Apr 2018, 16:29
Has thanked: 127 times
Been thanked: 19 times
Contact:

Post by taw_bip »

Does anyone have the Verge Lite JSON syntax?
I was looking to try and recreate one of the Bip watchfaces here but have not made much progress:
https://amazfitwatchfaces.com/bip/view/27822
Horatius80

Post by Horatius80 »

taw_bip wrote: 01 Mar 2020, 20:20
Does anyone have the Verge Lite JSON syntax?
I was looking to try and recreate one of the Bip watchfaces here but have not made much progress:
https://amazfitwatchfaces.com/bip/view/27822
I think the Verge-LITE .json syntax is same as GTR47/42, T-Rex, GTS
lgsf
WF maker
Posts: 1
Joined: 27 Feb 2020, 04:13
Location: BH
Contact:

Post by lgsf »

Unfortunately, for most of the new watchfaces that are coming out recently on the GTR section, the tools is useless. I try to unpack many GTR 47mm sources and get all sorts of errors.
Is it being maintained and updated?
User avatar
Maikeldevil
Posts: 64
Joined: 17 Aug 2019, 12:05
Location: unknown
Has thanked: 3 times
Been thanked: 44 times
Contact:

Post by Maikeldevil »

I see in the PY code (Our tool to create our GTR watchfaces) there is worked on child parent base, i also see that the function dayprogress hasnt got its own element yet. I have a problem that i try to get this function dayprogress behind other elements, ideal would be behind the background.

Also in the background there we have a option to set the X and Y for this element but it doesnt work. When image is smaller then 454 x 454 on the gtr its shown in the left upper corner, if we could fix this i can fix my date problem. (rotating date behind clock).

Please help!
Shreyash75
Posts: 1
Joined: 10 Apr 2020, 21:32
Location: India
Contact:

Post by Shreyash75 »

can anybody please make a video on how to make custom watch faces for verge lite on windows because its really hard to understand by reading these posts!
taw_bip
WF maker
Posts: 130
Joined: 12 Apr 2018, 16:29
Has thanked: 127 times
Been thanked: 19 times
Contact:

Post by taw_bip »

Shreyash75 wrote: 10 Apr 2020, 21:50
can anybody please make a video on how to make custom watch faces for verge lite on windows because its really hard to understand by reading these posts!
Jackall Digital has several Mi Band 4 watchface tutorials that show you the basic process that is similar for many of the newer Amazfit watches.
https://www.youtube.com/channel/UCx7v6C ... PsQ/videos

But the easiest way to learn is by doing. Download some watchfaces and load them into SashaCX75's GTR_WatchFace editor. For me, this was the biggest leap forward because the tool is "one stop shopping" -- it unpacks several watchface types (GTR, GTS, Verge Lite) and loads them into the GUI tool, then it packs them when you're done.
viewtopic.php?p=5011#p5011

Make some changes to the JSON file, take notes on how certain features appear on the dial.
You will also need to learn how to use an image editing program like Photoshop or Adobe XD to make the graphics.
I've modified several existing watchfaces to convert them to 12 hour time format and added some icons.
It takes a little while to develop an understanding and a workflow.
Kivan

Post by Kivan »

Well, any news on how to decompile the new gts2/zepp square bins?
I have some bins from my new zepp square, but could not decompile them.

Maybe they are signed? 😱
hugeyangjing
Posts: 2
Joined: 19 Nov 2020, 06:33
Location: 中国
Been thanked: 1 time
Contact:

Post by hugeyangjing »

@afwafwafw Huami GTR2 has been out for a long time, but the website still has no third-party dial. When will GTR2 be supported? Is there any plan to support this model?
B!GBOY
Posts: 2
Joined: 30 Nov 2020, 12:44
Location: DE
Contact:

Post by B!GBOY »

hugeyangjing wrote: 24 Nov 2020, 01:10
@afwafwafw Huami GTR2 has been out for a long time, but the website still has no third-party dial. When will GTR2 be supported? Is there any plan to support this model?
Sadly there doesn't even seem to be someone with the required knowledge who is interested in investing/wasting time on GTR2. I bought the GTR2 because I saw there is a section for it here "GTR/GTR2" before finding out that none of the watchfaces work on GTR2 :(
afwafwafw
Posts: 32
Joined: 21 Feb 2019, 02:55
Location: on earth
Has thanked: 6 times
Been thanked: 14 times
Contact:

Post by afwafwafw »

Sorry guys. I don't own GTS2 and have no interest without real one.
demiurg1
WF maker
Posts: 114
Joined: 23 Feb 2020, 22:49
Location: Poland
Has thanked: 23 times
Been thanked: 17 times
Contact:

Post by demiurg1 »

Does anyone know if the GTR 2 watch faces in the form of BIN files are stored on the smartphone? If so, where?
User avatar
eliasf
Posts: 23
Joined: 29 Jan 2021, 18:10
Location: GR
Has thanked: 5 times
Been thanked: 5 times
Contact:

Post by eliasf »

demiurg1 wrote: 25 Dec 2020, 07:32
Does anyone know if the GTR 2 watch faces in the form of BIN files are stored on the smartphone? If so, where?
Have you found an answer for this question as I wanted the same?

Thanks!
demiurg1
WF maker
Posts: 114
Joined: 23 Feb 2020, 22:49
Location: Poland
Has thanked: 23 times
Been thanked: 17 times
Contact:

Post by demiurg1 »

Yes, I found it myself. I experimented.
Standard dials (provided by the company) are stored in the directory smartphone: This computer \ Galaxy S20 Ultra 5G \ Phone \ Android \ data \ com.huami.watch.hmwatchmanager \ files \ watch_skin_local \ 64.
Watch faces designed by you are not necessarily stored on your smartphone, but you can download them to any (preferably self-created) directory and load them onto your watch using the Android application "Notify for Amazfit".
User avatar
eliasf
Posts: 23
Joined: 29 Jan 2021, 18:10
Location: GR
Has thanked: 5 times
Been thanked: 5 times
Contact:

Post by eliasf »

demiurg1 wrote: 02 Feb 2021, 16:38
Yes, I found it myself. I experimented.
Standard dials (provided by the company) are stored in the directory smartphone: This computer \ Galaxy S20 Ultra 5G \ Phone \ Android \ data \ com.huami.watch.hmwatchmanager \ files \ watch_skin_local \ 64.
Watch faces designed by you are not necessarily stored on your smartphone, but you can download them to any (preferably self-created) directory and load them onto your watch using the Android application "Notify for Amazfit".
Thanks for your answer, agreed I knew about the default Zepp directory, and the way to send TO the watch through Notify.

Still doesn't mean I can reverse the process somehow and get the bin FROM the watch.
For example I uploaded a watchface which has since been deleted and it is now only stored on the watch.

No way to get the .bin back? (to the phone or pc)
demiurg1
WF maker
Posts: 114
Joined: 23 Feb 2020, 22:49
Location: Poland
Has thanked: 23 times
Been thanked: 17 times
Contact:

Post by demiurg1 »

I do not know such a method, so I will not help. If I come up with an idea, I will write it.
demiurg1
WF maker
Posts: 114
Joined: 23 Feb 2020, 22:49
Location: Poland
Has thanked: 23 times
Been thanked: 17 times
Contact:

Post by demiurg1 »

Does anyone know how to make a watch face for GTR 2 so that when loading a BIN file to the watch, its preview appears, not a black watch face?
demiurg1
WF maker
Posts: 114
Joined: 23 Feb 2020, 22:49
Location: Poland
Has thanked: 23 times
Been thanked: 17 times
Contact:

Post by demiurg1 »

I will specify the problem once again.
How to auto-generate GIF for GTR 2?
I do not know if, and possibly how, you can somehow automatically generate an animated GIF file from a watch face design I made. I have all the PNG files, the "json" file, the BIN file, but I only have the watch face as a 306x306 static PNG file and 454x454.
I would like to have a GIF, but I don't really want to "sculpt" such a character.
Does anybody have an idea?
Isaías Santos
Posts: 1
Joined: 28 Jul 2020, 23:45
Location: Pe
Has thanked: 2 times
Contact:

Post by Isaías Santos »

manelto wrote: 22 Aug 2019, 17:45
Is It possible have this tool for GTR amazfit?
afwafwafw
Posts: 32
Joined: 21 Feb 2019, 02:55
Location: on earth
Has thanked: 6 times
Been thanked: 14 times
Contact:

Post by afwafwafw »

Isaías Santos wrote: 27 May 2021, 17:13
manelto wrote: 22 Aug 2019, 17:45
Is It possible have this tool for GTR amazfit?
Maybe? I haven't test it for a while. But it worked for very first time. doesn't work for GTR2 though.
ninsei
Posts: 1
Joined: 17 Feb 2022, 01:26
Location: US
Contact:

Post by ninsei »

Hi. I'm a newbie and have looked around this forum but couldn't find a clear guide to get started modifying a watchface. I'm using and iphone and I have a GTS 3. There's a watchface I want to modify. Is there a walkthru for how to get that watchface from the iphone, onto my Windows machine, then modify the watchface, then upload that watchface to the GTS 3?
lobianco
Posts: 22
Joined: 21 Oct 2021, 11:08
Location: Brasil
Contact:

Post by lobianco »

Hi, all
I'm new, and I'm trying to use this tool to generate a bin for the GTRmini model, can I use this tool?
If yes, what is the correct command?
If not, how do I do it?
Thank you very much
User avatar
asoo
Posts: 2130
Joined: 03 Jan 2019, 01:48
Location: ͼͽ Thailand ͼͽ
Has thanked: 411 times
Been thanked: 2050 times

Post by asoo »

lobianco wrote: 15 Jun 2024, 13:04
Hi, all
I'm new, and I'm trying to use this tool to generate a bin for the GTRmini model, can I use this tool?
If yes, what is the correct command?
If not, how do I do it?
Thank you very much
This is a tool used to pack and unpack and edit watch faces that use ZeppOS as the operating system, which GTRmini is one of them.
viewtopic.php?p=11643#p11643

PS. The format of the watch face using zeppOS will be .zip.
ͼͽ To request please use the interrelated forum in action ͼͽ
Please do not PM to me for requests ported watchface.
lobianco
Posts: 22
Joined: 21 Oct 2021, 11:08
Location: Brasil
Contact:

Post by lobianco »

asoo wrote: 15 Jun 2024, 14:31
Spoiler
lobianco wrote: 15 Jun 2024, 13:04
Hi, all
I'm new, and I'm trying to use this tool to generate a bin for the GTRmini model, can I use this tool?
If yes, what is the correct command?
If not, how do I do it?
Thank you very much
This is a tool used to pack and unpack and edit watch faces that use ZeppOS as the operating system, which GTRmini is one of them.
viewtopic.php?p=11643#p11643

PS. The format of the watch face using zeppOS will be .zip.

Thanks
lobianco
Posts: 22
Joined: 21 Oct 2021, 11:08
Location: Brasil
Contact:

Post by lobianco »

lobianco wrote: 15 Jun 2024, 22:13
asoo wrote: 15 Jun 2024, 14:31
Spoiler
lobianco wrote: 15 Jun 2024, 13:04
Hi, all
I'm new, and I'm trying to use this tool to generate a bin for the GTRmini model, can I use this tool?
If yes, what is the correct command?
If not, how do I do it?
Thank you very much
This is a tool used to pack and unpack and edit watch faces that use ZeppOS as the operating system, which GTRmini is one of them.
viewtopic.php?p=11643#p11643

PS. The format of the watch face using zeppOS will be .zip.

Thanks
Hi asoo,
I used the wonderful Watch Face Editor program (ZeppOS), as you indicated, from SashaCX75, I made a watchface for the GTRmini, it generated a .zip file, how do I install this watchface on the watch?
Post Reply

Return to “Watchfaces tools”

Who is online

Users browsing this forum: Google Adsense [Bot] and 3 guests