• 米坛社区大会员体系升级,大会员每日专属登录礼品,彰显你的与众不同!
    点击这里查看全新权益,点击这里前往购买!
  • 米坛社区社区作者开启认证通道啦!认证成功后将会享受不一样的特殊权益
    点击这里查看认证公告及其认证方法!
  • Guest,欢迎来到米坛社区。
    米坛社区是大型中文智能穿戴设备交流社区,在这里交流你的极客思想,共同建造我们的智能世界
    为了更加方便的获取支持与帮助,请加入官方QQ群
  • 论坛勋章已经开放申请
    展现你的与众不同,成为坛友的焦点!
    点击这里阅读完帖子内容进行申请。

Amazfit GTR工具 Amazfit GTR/verge/lite 表盘解压打包脚本

kindyear

kindyear

站长
Staff member
坛长
社区作者
认证作者
普通成员
May 5, 2019
1,047
2,119
18
www.kindyear.cn
原作者:afwafwafWw
原链接:https://amazfitwatchfaces.com/forum/viewtopic.php?f=29&t=816&p=2313

项目地址:

本脚本为python脚本,需运行环境如下:
python3(测试成功于 3.7.4)
pillow(测试成功于 6.1.0)

Code:
## 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
 

小皮扣

Guest
原作者:afwafwafWw
原链接:https://amazfitwatchfaces.com/forum/viewtopic.php?f=29&t=816&p=2313

项目地址:

本脚本为python脚本,需运行环境如下:
python3(测试成功于 3.7.4)
pillow(测试成功于 6.1.0)

Code:
## 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
关键是生成的exe 包解会有错,如果使用python命令吧 使用了但是提示命令不对!不是专门搞代码的,也不知道怎么回事
 
kindyear

kindyear

站长
Staff member
坛长
社区作者
认证作者
普通成员
May 5, 2019
1,047
2,119
18
www.kindyear.cn
关键是生成的exe 包解会有错,如果使用python命令吧 使用了但是提示命令不对!不是专门搞代码的,也不知道怎么回事
我不懂python,所以我也无能为力拉~
 

*这是一则由 Google AdSense 自动推荐的广告,与本站无关,不对其真实性与可靠性负责