• 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.
Avatar utente
TXK
Messaggi: 299
Iscritto il: 10 apr 2018, 05:15
Località: china
Has thanked: 149 times
Been thanked: 97 times
Contatta:

Messaggio da TXK »

Can you make EXE programs?
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 »

Sure but not right now.

You can generate it by executing auto-py-to-exe, though.
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 »

cool bro,
i have using it today, straight forward. but no animation.
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 »

Yes, you're right.

It's a little trick but you can get animation .gif after unpacking packed_bin again.

i.e

python main.py WATCH_FACE.json # now you've got WATCH_FACE_packed.bin

python main.py WATCH_FACE_packed.bin # in WATCH_FACE_packed/ folder you can see gif file in there
侯侯大神
WF maker
Messaggi: 13
Iscritto il: 24 giu 2019, 08:07
Has thanked: 2 times
Been thanked: 4 times
Contatta:

Messaggio da 侯侯大神 »

Why can't you use your tools to unpack your bin, only unpack the official ones
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 »

I need to get the live editor, easier to locate the dial .png files to X & Y coordinate.
Do you have any guide tool for numbering x 1-360 x y 1-360 grid

AFWAFWAFW
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 »

侯侯大神 ha scritto: 22 ago 2019, 04:13
Why can't you use your tools to unpack your bin, only unpack the official ones
I always use mine to pack/unpack my .bin.

Have you tried latest version of my tool?

Which bin cause issue for you? Can you give me a link for it?
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 »

fx_advanc ha scritto: 22 ago 2019, 08:41
I need to get the live editor, easier to locate the dial .png files to X & Y coordinate.
Do you have any guide tool for numbering x 1-360 x y 1-360 grid

AFWAFWAFW
Hi. I'm using GIMP as a guide tool. :)
侯侯大神
WF maker
Messaggi: 13
Iscritto il: 24 giu 2019, 08:07
Has thanked: 2 times
Been thanked: 4 times
Contatta:

Messaggio da 侯侯大神 »

Thanks for replying, friend, I should not be using the latest version
manelto

Messaggio da manelto »

Is It possible have this tool for GTR amazfit?
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 »

manelto ha scritto: 22 ago 2019, 17:45
Is It possible have this tool for GTR amazfit?
As I don't have a GTR watch, I cannot make the tool for GTR easily. There's one person who forked mine. He've changed the name as amazfit_gtr_tools so you can wait for his work or Amazfit watchfaces tool(posting.php?mode=quote&f=26&p=2400).
Ultima modifica di afwafwafw il 23 ago 2019, 05:21, modificato 1 volta in totale.
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 »

侯侯大神 ha scritto: 22 ago 2019, 11:02
Thanks for replying, friend, I should not be using the latest version
No problem. If you have any issue, let me have .bin for debugging.
manelto

Messaggio da manelto »

afwafwafw ha scritto: 22 ago 2019, 21:54
manelto ha scritto: 22 ago 2019, 17:45
Is It possible have this tool for GTR amazfit?
As I don't have a GTR watch, I cannot make the tool for GTR easily. There's one person who forked mine. He've changed the name as amazfit_gtr_tools so you can wait for his work or Amazfit watchfaces tool(posting.php?mode=quote&f=26&p=2400).
OK! Thank you.
The problem seems to be the resolution (360 vs 454) and the header (header.bin). But maybe there is something else (sure: D).
manelto

Messaggio da manelto »

afwafwafw ha scritto: 22 ago 2019, 21:54
manelto ha scritto: 22 ago 2019, 17:45
Is It possible have this tool for GTR amazfit?
As I don't have a GTR watch, I cannot make the tool for GTR easily. There's one person who forked mine. He've changed the name as amazfit_gtr_tools so you can wait for his work or Amazfit watchfaces tool(posting.php?mode=quote&f=26&p=2400).
viewtopic.php?f=29&t=782&p=2423#p2423
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 »

Does gimp shows the coordinate? what name of the features.
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 »

fx_advanc ha scritto: 24 ago 2019, 14:53
Does gimp shows the coordinate? what name of the features.
https://docs.gimp.org/2.10/en/gimp-conc ... uides.html

Right?
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 »

Can you help me position the dial, thanks [mention]afwafwafw[/mention]
here's the link " https://justbeamit.com/89pag
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 »

here's corrected version for tick.zip

https://drive.google.com/open?id=1xT_ct ... ou1v-q5cXv

Just remember that let "CenterImage.X", "CenterImage.Y" equal to pin position of time hands.

By comparing it with original tick.json, you can see how to set position of hands.
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.
Rispondi

Torna a “Watchfaces tools”

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite