Сторінка 19 з 26

MiBandWFTool

Додано: 08 липня 2019, 12:57
lvpokka
Author
lvpokka

Tool Description
1. The tool is based on a modified version of AmazfitBipTools, thanks to the original open source .
2. The tool supports unpacking, packing of the official watch face bin file.
3. Mi band 4 supports 16,581,375 colors.
4. Mi band 5 supports 15,499,008 colors.

How to
1. Unzip MiBandWFTool_X.X.zip.
2. Download .bin file from catalog or get standard watchface file.
3. Drag the .bin file to WatchFace.exe (in step 1. , get the decompressed file)
(if there is only one log file, the decompression failed).

4. There are two ways to modify the dial.
  • is to modify the corresponding image file and replace it with what we want.
  • is to modify the corresponding json file and modify the position of the image.
5. After all the modifications are completed, drag the modified json into WatchFace.exe in step 1 to get the corresponding bin file
(the file name depends on the name of the bin. If the .bin file is not generated, the package is wrong)

6. Copy the newly generated bin file to the corresponding directory of the mobile phone, and the synchronization will be completed. (This step is not very clear, you can refer to the original tutorial) above, you're done!
History log
What's new
  • added animation support
  • fixed pulse and weather
  • removed color restrictions for images
  • analog clock support
ver1.2
- Added compatibility for Pulse progress bar

ver1.3
- added full support for transparent images
- drawing 20 frames for preview GIF

ver1.3.2
- bug fixes
- added 2 versions, both with transparency but Palette version uses less memory if images are simple.

ver1.3.3
- Added circular/linear step progress on preview

Stable v1.3.6
- locked transparency for palette mode, support only (0 and 255) values
- palette mode fix

Stable v1.3.7
v1.3.7 (cosmetic changes, you can use 1.3.6 if everything suits)
- Fixed GIF preview (Pulse rendering, Step segments, Kilometer drawing, Calories)
- Added the ability to choose which Set of images to use for WeekDays. (Config file WatchFace.exe.config)
- STRONGLY fixed json examples in README.
(to avoid problems, pack 1.3.6 and unpack 1.3.7 for a smooth transition)

Stable v1.3.8
- Removed image order dependency for json (sorting images no longer required)
- Fixed display bugs
Important: the order of the images should be from 0000 to XXXX without gaps.

v1.3.9
- Removed dependence on images order 0000->XXXX
- Calories rendering fixed
- Added ability to change Preview Speed (available from 50ms - 1000ms)
- TimeElement DrawingOrder hardcoded to 1234 (not used by MiBand4)

v1.4.1
- Other bugfixes
- New WF support
- Added new elements (time delimiter / step icon / linear progress )

v2.1.4
- Added support Mi Band 5 wfaces
- Pandafix (new unknown element)
- BugFixes

v2.1.5
- Preview bugfixes
- [WFPreview] Added Copy/Paste/Save ability
- [WFPreview] Added ability to replace watchface header
Mi Band 4 WF Tool
v1.4.2
- Added miles image support
NOTE:
- if your using image for MilesSuffixImageIndex, then KmSuffixImageIndex is required! you can use the same image for it

Mi Band 5 WF Tool
v2.1.6
- Preview bugfixes
- Watchfaces generating with random header identifier
- Fixed problem with Windows scaling, DPI is tied to 96
- [WFPreview] Removed ability to clone watchface header

Mi Band 6 WF Tool
v4.1.0
- Added Lunar calendar
- Bug fixes
- New preview generator, should be pixel perfect (big thx to Johnson070)

MiBandWFTool_4.1.0.zip

MiBandWFTool_2.1.6.zip [alt url] [alt url 2]

MiBandWFTool_1.4.2.zip [alt url] [alt url 2]

Re: MiBandWFTool

Додано: 14 серпня 2020, 10:22
MrMuesLee
Thank you ... your idea kind of solved the problem, open and closing tha app didn't changed anything ... but after a full reboot it started to synced again

sorry that for falsely claiming that there is a bug

Re: MiBandWFTool

Додано: 14 серпня 2020, 14:44
lvpokka
Yes, reboot helps in some cases.

I have BIG PLEASE FOR ALL. Please, do not compare custom with INTERNAL watchfaces because its not a watchface it's a program. You can compare ONLY with custom from Xiaomy MiBand official store. If Xiaomy custom watchface is not working that is problem of MiBand (please restart for double check)

Big thx)

Re: MiBandWFTool

Додано: 14 серпня 2020, 14:48
Lienarhba
Hi, lvpokka , this tool is looks great but , I can't download it . It says that the maximum number of downloads has reached .
Please help.

Re: MiBandWFTool

Додано: 14 серпня 2020, 15:20
lvpokka
have no idea, i can download it here... maybe we need to ask Admin GIK-Team

Re: MiBandWFTool

Додано: 14 серпня 2020, 15:33
Lienarhba
I tried downloading it again and it just worked . Thanks . Best and the greatest tool ever made for Mi band watchfaces . Once again thank you so much lvpokka :D :D :D

Re: MiBandWFTool

Додано: 14 серпня 2020, 17:58
GIK-Team
Lienarhba, we have no limits. If you have any problems, please contact us.

Re: MiBandWFTool

Додано: 15 серпня 2020, 03:08
Lienarhba
GIK-Team писав: 14 серпня 2020, 17:58
@Lienarhba, we have no limits. If you have any problems, please contact us.
I was able to download it .

Re: MiBandWFTool

Додано: 15 серпня 2020, 07:34
23ll
SEDO писав: 13 серпня 2020, 10:40
hello, i am using MiBandWFTool_2.1.4 for Mi Band 5. is there a problem with "shape of heartrate" ? its look like works right in the pc test and compiler animated gif. but wrong working in Mi Band 5.

bin and gif files in attachments.
here is my codes. all images transparent and same size correct position.

"HeartProgress": {
"Linear": {
"StartImageIndex": 94,
"Segments": [
{
"X": 12,
"Y": 192
},
{
"X": 12,
"Y": 192
},
{
"X": 12,
"Y": 192
},
{
"X": 12,
"Y": 192
},
{
"X": 12,
"Y": 192
},
{
"X": 12,
"Y": 192
}
]
}
}
I have the exact same problem, the first heart rate bar triggers at 100 bpm instead of 80 and so on, did you manage to find a workaround?

Re: MiBandWFTool

Додано: 16 серпня 2020, 14:05
lvpokka
abcd840322 писав: 16 серпня 2020, 13:54
Does anyone have the right weather icon sequences with explanations of each weather? I checked 2 watch faces in the ...
Please use different thread for this question, its not the right topic... its not a bug

Re: MiBandWFTool

Додано: 17 серпня 2020, 04:26
diopter
I can't get 2 small animations running at different speeds on the MI Band 5.
Both always run at the slower speed.
If I put both of them on the fast speed, they'll both run fast.
Is this a firmware bug or could it be that MiBandWFTool does not write the parameters correctly into the .bin file?

Re: MiBandWFTool

Додано: 17 серпня 2020, 07:59
lvpokka
diopter писав: 17 серпня 2020, 04:26
...
Is this a firmware bug or could it be that MiBandWFTool does not write the parameters correct into the .bin file?
No idea, you can play with animation parameters as Speed little bit more...
check https://amazfitwatchfaces.com/mi-band-5/view/292

btw if you can proof that statement with comparing stock watchfaces and stock watchface after rebuild with no changes, then this message will looks more qualified ;)

Re: MiBandWFTool

Додано: 17 серпня 2020, 17:43
diopter
There are no stock watchfaces with 2 different animation speeds.

Could you fix the "DelimiterImage" preview bug ?

Зображення Зображення

Re: MiBandWFTool

Додано: 17 серпня 2020, 18:58
lvpokka
diopter писав: 17 серпня 2020, 17:43
1)There are no stock watchfaces with 2 different animation speeds.
2)Could you fix the "DelimiterImage" preview bug ?
1) there is, if element exist, then i took it somewhere
(ex. here, but i cant find bin
Spoiler
76a0ad54bbf3d8b27a6b7d2e448786951591778642020.png
76a0ad54bbf3d8b27a6b7d2e448786951591778642020.png (22.05 Кіб) Переглянуто 38135 разів
2) will be fixed in next build

Re: MiBandWFTool

Додано: 17 серпня 2020, 19:49
diopter
OK, animation speed IS a firmware bug, sorry.

But:

Unpacking stock WF "Aurora Glass":

Код: Виділити все

Trace|12.2.3 'ImageIndex': 63
Trace|12.2.4 'ImagesCount': 6
Debug|Generating previews...
Error|System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei WatchFace.Parser.Models.Elements.Battery.PulseImageSetElement.Draw(Graphics drawer, List`1 images, WatchState state)
   bei WatchFace.Parser.Models.Elements.ContainerElement.Draw(Graphics drawer, List`1 images, WatchState state)
   bei WatchFace.Parser.Models.Elements.ContainerElement.Draw(Graphics drawer, List`1 images, WatchState state)
   bei WatchFace.Parser.PreviewGenerator.CreateFrame(IDrawable watchFace, List`1 resources, WatchState state)
   bei WatchFace.Parser.PreviewGenerator.<CreateAnimation>d__0.MoveNext()
   bei VxevgnPEK1LvCeXIub.WhqXyRnXCUjjFRCmTS.zL7wBH6jh(List`1  , List`1  , String  , String  , Int32  )
   bei VxevgnPEK1LvCeXIub.WhqXyRnXCUjjFRCmTS.XBXnUmtOw(String  )
Debug|Exporting resources to 'D:\MI_Band\_MI\Aurora_Glass\Aurora_Glass'
No GIF created.
Aurora_Glass_static.png:
Spoiler
Зображення

Re: MiBandWFTool

Додано: 17 серпня 2020, 22:00
diopter
MiBandWFTool preview shows not the same alignment as MB5 with "Alignment": "BottomXXXX".
On MB5 then decimal point and the km are bottom aligned, in preview not.
DecimalPointImage is 3x3, KmSuffixImage is 20x12, digits are 9x16
Зображення

Re: MiBandWFTool

Додано: 17 серпня 2020, 22:12
lvpokka
diopter писав: 17 серпня 2020, 19:49
Unpacking stock WF "Aurora Glass":

Код: Виділити все

Trace|12.2.3 'ImageIndex': 63
Trace|12.2.4 'ImagesCount': 6
Debug|Generating previews...
Error|System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
No GIF created.
Please provide bin file, have no issue with it
Spoiler
c5d48abb75725fda5686baf20c7497be_animated.gif
c5d48abb75725fda5686baf20c7497be_animated.gif (414.18 Кіб) Переглянуто 38127 разів
diopter писав: 17 серпня 2020, 22:00
MiBandWFTool preview shows not the same alignment as MB5 with "Alignment": "BottomXXXX".
Also would be nice to have bin, i already saw this problem, thx

Re: MiBandWFTool

Додано: 18 серпня 2020, 00:26
23ll
diopter писав: 13 серпня 2020, 21:45
SEDO is absolutely right, there is a bug, and not only with the heart rate, but with all progress indicators.
The internal MI WFs already show the first progress step (blue for heart rate), while our custom WFs still show nothing.
My workaround is also to put the respective first image on the background.
I am thinking to do like that as well, but I don't like the fact the first indicator will be always on also if heart rate is not recognised :|

Re: MiBandWFTool

Додано: 18 серпня 2020, 01:45
diopter
In Current_Speed you can see the bottom alignment problem. Look on the decimal point.
The km looks OK here, because the km image has the same height as the digits.
The bug occurs only if a prefix/suffix/delimiter image has a height different from the digits height.
Spoiler
Зображення Зображення
Currently I'm working on an "All in One" WF. Can you help me with the tomorrow temperatures and AirQuality/AirQualityIndex?

Re: MiBandWFTool

Додано: 18 серпня 2020, 11:46
rajmund_zarny
hello i'm new to this site

I have a problem with the GIF generator and the screenshot from my project.
it shows the unreal size of some png

I connect link to my project to check where is the problem
https://amazfitwatchfaces.com/search/mi ... rID/325969

Re: MiBandWFTool

Додано: 18 серпня 2020, 12:28
lvpokka
rajmund_zarny писав: 18 серпня 2020, 11:46
it shows the unreal size of some png
DPI of all images should be 96

Re: MiBandWFTool

Додано: 18 серпня 2020, 18:26
rajmund_zarny
lvpokka писав: 18 серпня 2020, 12:28
rajmund_zarny писав: 18 серпня 2020, 11:46
it shows the unreal size of some png
DPI of all images should be 96
Ha
I did't thought about it.
Thanks for help

Re: MiBandWFTool

Додано: 19 серпня 2020, 09:17
diopter
Pulse: NoDataImage is not shown in preview.

Re: MiBandWFTool

Додано: 19 серпня 2020, 12:43
lvpokka
diopter писав: 19 серпня 2020, 09:17
Pulse: NoDataImage is not shown in preview.
fixed for new version

Re: MiBandWFTool

Додано: 19 серпня 2020, 21:54
lvpokka
urieleugenio писав: 19 серпня 2020, 21:51
there's still something wrong with the battery.
I'l revise again tomorrow, to see if I can get it fully functional.
This is not right place for watchfaces, this thread only about bugs.

P.s use only 10 images for battery

Re: MiBandWFTool

Додано: 19 серпня 2020, 23:33
deiG
Thanks for the really really great tool, lvpokka! Is there a json template/example that contains all of the supported tags? For instance, I'd like a PAI progress indicator and I wonder if it is possible.