Сторінка 21 з 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

Додано: 10 вересня 2020, 05:11
schmitty782
Thanks, it works!

Re: MiBandWFTool

Додано: 10 вересня 2020, 23:21
green_biri
lvpokka I am interested on using your tool but several engines (virustotal. com/gui/file/4d33f61a09d2d48db850bf7a2d2160563fb0f2128a24274696bbb7c3dba1eb96/detection) report a trojan within WFPreview.exe and WatchFace.exe in v2.1.6. Is there any good reason for it or is it just a false positive?

Re: MiBandWFTool

Додано: 11 вересня 2020, 06:26
lvpokka
Probably previewer is marked because of Browse button. Anyway 7/70 is not a good score for virus program... Code is the same as mi band 4 app

Re: MiBandWFTool

Додано: 18 вересня 2020, 14:31
franluciani
Bug report: the comands TopCenter and BottomCenter to align numbers doesn't work properly, allways align as i put Center. I don't know if this problem from the tool or MiBand5 but doesn't work.
Also the comand TopRight and BottomRight move the text in y-y when the number increase one digit (for example when the steps goes from 99 to 100, the text goes down or up). With TopLeft and BottomLeft the align works well.

Re: MiBandWFTool

Додано: 18 вересня 2020, 17:29
franluciani
Other bug: in Pallet Mode the weather doesn't working (Temp current, day, night, wind). Everything displays ok on the gif but when i install the WF nothing it's displayed

Re: MiBandWFTool

Додано: 18 вересня 2020, 22:21
lvpokka
Sorry but its all Miband5 band bugs... need to deal with it some how

Re: MiBandWFTool

Додано: 19 вересня 2020, 23:18
ugrcn06
i am getting an error
Spoiler
Зображення

Re: MiBandWFTool

Додано: 19 вересня 2020, 23:48
lvpokka
Download, unzip, don't move any files... i cant read Turkish but there is a normal error test which is not connected with my program

Re: MiBandWFTool

Додано: 24 вересня 2020, 19:44
theasis
Would someone help me out i spent 3 hours making an watchface that is 455kb and it wont make bin file out of it. How do I make it smaller?

Re: MiBandWFTool

Додано: 24 вересня 2020, 23:13
theasis
I am very interested to mix 2 gifs into one watchface one as intro : https://amazfitwatchfaces.com/mi-band-4/view/6291
And the other one as it gets into the screen with watch itself: https://amazfitwatchfaces.com/mi-band-4/view/9677
I don't know if its even possible and if it is idk how to format the code then?
Now I cant seem to find a solution for this or anyone that says its possible... if it is... i politely ask whoever knows how to do it to contact me via instagram dm: @markovucic.exe
Thanks in advance!!!

Re: MiBandWFTool

Додано: 26 вересня 2020, 03:35
abofaris014
I have installed MiBandWFTool_2.1.6.zip

and I unzipped it

But it doesn't work!

note: I have windows 10 64bit.

Re: MiBandWFTool

Додано: 26 вересня 2020, 07:16
abcd840322
theasis писав: 24 вересня 2020, 19:44
Would someone help me out i spent 3 hours making an watchface that is 455kb and it wont make bin file out of it. How do I make it smaller?
Set "UsePaletteMode" value="1" in file WatchFace.exe.config

Re: MiBandWFTool

Додано: 26 вересня 2020, 07:18
abcd840322
abofaris014 писав: 26 вересня 2020, 03:35
I have installed MiBandWFTool_2.1.6.zip

and I unzipped it

But it doesn't work!

note: I have windows 10 64bit.
You can try to drag the bin file directly to the .exe file. It will unzip automatically.

Re: MiBandWFTool

Додано: 28 вересня 2020, 22:14
Janmib5
lvpokka
I downloaded version 2.1.6 for Mi Band 5, but problem with Windows scaling not solved.
I have windows7 scaled to 125% and the preview is not generated correctly.
Only if I return to 100%, the preview is generated correctly.

Thank you for your work ;)

Re: MiBandWFTool

Додано: 30 вересня 2020, 03:18
abofaris014
abcd840322 писав: 26 вересня 2020, 07:18
abofaris014 писав: 26 вересня 2020, 03:35
I have installed MiBandWFTool_2.1.6.zip

and I unzipped it

But it doesn't work!

note: I have windows 10 64bit.
You can try to drag the bin file directly to the .exe file. It will unzip automatically.
Perfect.

Re: MiBandWFTool

Додано: 01 жовтня 2020, 21:23
guaynaa
It works great but I think this has a virus or bug, maybe unintentional.
Aside from windows defender alerts, after using this software my browser started to randomly freeze
Is anyone else experiencing the same?

Re: MiBandWFTool

Додано: 01 жовтня 2020, 22:05
lvpokka
guaynaa писав: 01 жовтня 2020, 21:23
It works great but I think this has a virus or bug, maybe unintentional.
Aside from windows defender alerts, after using this software my browser started to randomly freeze
Is anyone else experiencing the same?
Yes, read this topic

Re: MiBandWFTool

Додано: 06 жовтня 2020, 19:05
Ross85
I modified a watchface. Everything seems to be OK and rendered as I expected on my Mi Band 5.
But, the preview image of my watchface shows a black blank preview in the "Band display" option.
Can somebody help me to identify the reason of this issue?

Link of watchface: /mi-band-5/view/815

Re: MiBandWFTool

Додано: 07 жовтня 2020, 08:59
abcd840322
theasis писав: 24 вересня 2020, 23:13
I am very interested to mix 2 gifs into one watchface one as intro : https://amazfitwatchfaces.com/mi-band-4/view/6291
And the other one as it gets into the screen with watch itself: https://amazfitwatchfaces.com/mi-band-4/view/9677
I don't know if its even possible and if it is idk how to format the code then?
Now I cant seem to find a solution for this or anyone that says its possible... if it is... i politely ask whoever knows how to do it to contact me via instagram dm: @markovucic.exe
Thanks in advance!!!
Copy the intro part of the code in the first watchface to the jason file in the second wathcface. Copy the gif to the file of the second watchface and renumber the pictures. Don't forget to change the code as well according to your picture number.

Re: MiBandWFTool

Додано: 07 жовтня 2020, 12:08
urieleugenio
Ross85 писав: 06 жовтня 2020, 19:05
I modified a watchface. Everything seems to be OK and rendered as I expected on my Mi Band 5.
But, the preview image of my watchface shows a black blank preview in the "Band display" option.
Can somebody help me to identify the reason of this issue?

Link of watchface: /mi-band-5/view/815
Usually, image number 1 is the band display preview, which should be replaced by the preview created by the tool (then you need to pack the BIN file once again).

Re: MiBandWFTool

Додано: 07 жовтня 2020, 15:47
Ross85
urieleugenio писав: 07 жовтня 2020, 12:08
Ross85 писав: 06 жовтня 2020, 19:05
I modified a watchface. Everything seems to be OK and rendered as I expected on my Mi Band 5.
But, the preview image of my watchface shows a black blank preview in the "Band display" option.
Can somebody help me to identify the reason of this issue?

Link of watchface: /mi-band-5/view/815
Usually, image number 1 is the band display preview, which should be replaced by the preview created by the tool (then you need to pack the BIN file once again).
Actually I've found the solution in contribution with @ilidio.martins.
There need to be three "Preview" parameter inside .json file that links to the preview image.
Spoiler

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

    "Preview1": {
      "X": 18,
      "Y": 17,
      "ImageIndex": 93
    },
    "Preview2": {
      "X": 18,
      "Y": 17,
      "ImageIndex": 93
    },
    "Preview3": {
      "X": 18,
      "Y": 17,
      "ImageIndex": 93
    }

Re: MiBandWFTool

Додано: 07 жовтня 2020, 17:43
urieleugenio
Ross85 писав: 07 жовтня 2020, 15:47
Actually I find the solution in contribution with @ilidio.martins.
There need to be three "Preview" parameter inside .json file that links to the preview image.
Yup, one for each language (EN, CN simplified, CN standard), just like with weekdays.

Re: MiBandWFTool

Додано: 09 жовтня 2020, 15:45
Nestdot
I finished making my watch face with this tool, but when I want to compile it it says it is greater than 615kb, it says it is 1093 kb, but in reality is just 511kb, the problem seems to be a gif included in the watchface (it has 30 frames) and when I set it to 10, it can compile it, I'm not really sure why though, here's the log error part, I can't include the pastebin link :/

Re: MiBandWFTool

Додано: 10 жовтня 2020, 14:42
Rky
I created a watchface abd compiled it successfully, evrything looks at its exact place but when I sync it the weather icon moves to the bottom right of the screen on mi band5. What might be the issue?

Re: MiBandWFTool

Додано: 12 жовтня 2020, 03:32
abcd840322
Rky писав: 10 жовтня 2020, 14:42
I created a watchface abd compiled it successfully, evrything looks at its exact place but when I sync it the weather icon moves to the bottom right of the screen on mi band5. What might be the issue?
There are unknown values. Check the existed watch faces with the weather monitoring function, and you can see two unknown values under the weather category in the json file. Set the both values as same as your coordinate of your weather icon.