No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
LICENSE.txt improve readme Sep 5, 2017
README.md Update README.md Sep 26, 2017
bipfont.py Fixed bipfont for Linux Feb 10, 2018
dial2img.py Possibility to extract & replace images of the new watchfaces Nov 11, 2017
pngcolor.py pngcolor Sep 19, 2017
res2img.py stop if too much colors 2 Sep 30, 2017
zh-check_translation.py tool to merge translated strings to new fw strings file and tool to c… Sep 4, 2017
zh-cn2cz.txt.0.0.8.74 Update cz lang Sep 5, 2017
zh-cn2cz.txt.0.0.8.88 Update cz language Sep 13, 2017
zh-cn2en.py add instruction to fix missing third party libraries Sep 16, 2017
zh-cn2en.txt.0.0.8.32 improve italian translation (porting from francko76 binary) Sep 5, 2017
zh-cn2en.txt.0.0.8.74 improve en translation Sep 8, 2017
zh-cn2en.txt.0.0.8.88 improve en translation Sep 8, 2017
zh-cn2en.txt.0.0.8.96 zh-cn2en.txt.0.0.8.96 update Sep 14, 2017
zh-cn2fr.0.0.8.96.txt Update zh-cn2fr.0.0.8.96.txt Sep 29, 2017
zh-cn2fr.txt.0.0.8.74 Global review after installation of the fw. file on the watch Sep 12, 2017
zh-cn2it.txt.0.0.8.74 Improve it translation Sep 13, 2017
zh-cn2ja.txt.0.0.8.96 Update zh-cn2ja.txt.0.0.8.96 Nov 12, 2017
zh-cn2pl.txt.0.0.8.74 PL translation update: days of the week Sep 13, 2017
zh-cn2pl.txt.0.0.8.88 PL translation update: days of the week Sep 13, 2017
zh-cn2pl.txt.0.0.8.96 add zh-cn2pl.txt.0.0.8.96 Sep 15, 2017
zh-cn2pt-br.txt.0.0.8.96 Add pt-br (brazilian portuguese) translation Oct 24, 2017
zh-cn2ru.txt.0.0.8.74 Update zh-cn2ru.txt.0.0.8.74 Aug 31, 2017
zh-merge_old2new_trans.py update merge tool Sep 17, 2017

README.md

Amazfit bip tools

This is a suite of tools to make easier to translate and tweak Amazfit bip (A1608) watch.

Usually each tool have its -h flag that allow you to understand better how it works.

Requirements:
Python 2.7.x

res2img.py

small tool to convert amazfit bip resource file to a standard image file.

./res2img.py -h

./res2img.py -u [-a] [-i Mili_chaohu.res]

edit your bmp you will find in a new direcory freshly created

./res2img.py -p [-i Mili_chaohu.res]

repack the res file with new name

if you call it without any parameter actually it will look for "Mili_chaohu.res_3.0.4"

it will generate splitted a number of raw file and for each file a correspondent png file.

*** The bip display has 8 colors only (black, white, red, green, blue, yellow, cyan, magenta) The stock res only uses 0 or 255 as r g b values. If a resource uses transparent we translate this as 254,254,0 in the png If a png uses 254,254,0 as first color we use it as transparent creating that resource ***

zh-cn2en.py

./zh-cn2en.py [-h] [-l en] [-p]

Process zh-cn2en.txt by looking for hex string pattern, connect to google translate and add the english translation to the txt file this tool can be useful for replacing string from chinese to english

zh-check_translation.py

It can help you check the translation (the length of translated strings must be less than or equal to the length of the chinese strings). It prints the line number where the problem occurred

zh-merge_old2new_trans.py

If there will be a new zh-cn2(lang).txt file from next firmware upgrades, the tool can be used to merge your translations from the old "zh" file to the new one