• 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.
     

MiBandWFTool

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.
lvpokka
Messaggi: 178
Iscritto il: 07 lug 2019, 20:22
Località: L1
Has thanked: 19 times
Been thanked: 152 times
Contatta:

MiBandWFTool

Messaggio da 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]
Ultima modifica di lvpokka il 02 ago 2020, 19:41, modificato 24 volte in totale.
MonsterDruide1

Messaggio da MonsterDruide1 »

[mention]stqcb[/mention]

The problem is as stated by the program, tat your image uses too many colors for palette mode, the palette size has to be decreased. To do so, the simplest way is to convert the images with "too many colors" (the index is named in the error) to an indexed image and then back. Use programs like Photoshop/Gimp or online-tools.
stqcb

Messaggio da stqcb »

[mention]MonsterDruide1[/mention]

Thanks! I was doing some trial and error and managed to get it working in a similar way you described. Except I used the posterize feature to change the image instead.

I still don't understand the part about raw.cfg though. But since I got it working I'll just stick with it.


[mention]lazimk[/mention]
I completely missed your response earlier because of all the new posts since the last time I checked. Thanks for that advice.

Funny thing is. The watch face that I made some adjustments to and am currently using is one of yours. The Samsung Galaxy Active Bloodred WF. I changed the months to show letters instead of numbers. Thanks for the great work creating it.
lvpokka
Messaggi: 178
Iscritto il: 07 lug 2019, 20:22
Località: L1
Has thanked: 19 times
Been thanked: 152 times
Contatta:

Messaggio da lvpokka »

Tomorrow will be new version release.
- Added image Quantization algorithm, it will compress image if it will have too much palette colors.

Hope no one will use Raw wf builder)
infinityio
WF maker
Messaggi: 1
Iscritto il: 11 ago 2019, 15:53
Località: unknown
Contatta:

Messaggio da infinityio »

This is probably a slightly strange one, but I think I have found a bug in the compiler that prevents animations from working as intended - From my experiments, it seems that watch faces with a second hand are unable to run animations and will instead leave them static on the first image in the series. Has anyone else found this an issue or a workaround for it? I have attached a working copy of my watch face where animations do not work as intended
Thanks
Allegati
erle_packed.bin
(117.01 KiB) Scaricato 232 volte
lvpokka
Messaggi: 178
Iscritto il: 07 lug 2019, 20:22
Località: L1
Has thanked: 19 times
Been thanked: 152 times
Contatta:

Messaggio da lvpokka »

speed should be 5 or more, thats my testing. maybe another parameters will affect somehow

btw Seconds now working fine!
lazimk
WF maker
Messaggi: 27
Iscritto il: 27 lug 2019, 09:30
Località: India
Has thanked: 5 times
Been thanked: 4 times
Contatta:

Messaggio da lazimk »

infinityio ha scritto: 06 set 2019, 15:33
This is probably a slightly strange one, but I think I have found a bug in the compiler that prevents animations from working as intended - From my experiments, it seems that watch faces with a second hand are unable to run animations and will instead leave them static on the first image in the series. Has anyone else found this an issue or a workaround for it? I have attached a working copy of my watch face where animations do not work as intended
Thanks
I had read that second hand and animation cannot co-exist in MB4 WF, long ago. i never tried this.
-Laz

*Have a great day*
lazimk
WF maker
Messaggi: 27
Iscritto il: 27 lug 2019, 09:30
Località: India
Has thanked: 5 times
Been thanked: 4 times
Contatta:

Messaggio da lazimk »

[mention]lvpokka[/mention]
Thats great!!
i hope it will fix preview with respect to animation repeat count.

Sad news is Mi is not supporting custom watchfaces in MiFit app. also trying to prevent it by firmware update :( :'(
-Laz

*Have a great day*
lvpokka
Messaggi: 178
Iscritto il: 07 lug 2019, 20:22
Località: L1
Has thanked: 19 times
Been thanked: 152 times
Contatta:

Messaggio da lvpokka »

[mention]lazimk[/mention] its uploading with custom apps like MibandMaster
seconds now working
and yes also implemented for you repeatcount 1))
lazimk
WF maker
Messaggi: 27
Iscritto il: 27 lug 2019, 09:30
Località: India
Has thanked: 5 times
Been thanked: 4 times
Contatta:

Messaggio da lazimk »

[mention]stqcb[/mention]
thanks.
it will be great to see version with month names :)
-Laz

*Have a great day*
lazimk
WF maker
Messaggi: 27
Iscritto il: 27 lug 2019, 09:30
Località: India
Has thanked: 5 times
Been thanked: 4 times
Contatta:

Messaggio da lazimk »

[mention]lvpokka[/mention]
Thanks bro for new update!
Yes we can upload. but i heard some WFs are not working as indented in MiBand with new FW
-Laz

*Have a great day*
lvpokka
Messaggi: 178
Iscritto il: 07 lug 2019, 20:22
Località: L1
Has thanked: 19 times
Been thanked: 152 times
Contatta:

Messaggio da lvpokka »

send them to me) i will check them.
Dario

Messaggio da Dario »

lvpokka ha scritto: 05 set 2019, 18:28
@Dario i have more then 5 testers which is creating watchfaces on daily bases) could you explain where you have bugs in 1.3.9(better than 1.3.8)
I unpacked the .bin file using the "WhatchFace.exe" application (inside the "PaletteImageMode" folder), then I replaced the .png images of the days with the .png images of the days in Italian (created by me with Photoshop ). When I completed the changes I repeated the procedure with the .json file via the "WhatchFace.exe" application (always in the same folder), and it did not return any .bin (new) file: only .log file, the image of the dial, and the gif.
Doing the same procedure with the application, in the "RawImageMode" folder, instead, the new .bin file fails to synchronize with the bracelet.
Dario

Messaggio da Dario »

GIK-Team ha scritto: 05 set 2019, 18:26
Dario ha scritto: 05 set 2019, 17:01
@GIK-Team where is it possible to find version 1.3.8 ?
I have read that it is the best version (I have already tried other versions and other modified programs but they are full of bugs :cry: )...
I wanted to change the days (replacing them with those in Italian) in the bluegreen whatchface of @lazimk ...
Thank You :D
Bye
I will use this version, thank you very much :) !
stqcb

Messaggio da stqcb »

lazimk ha scritto: 06 set 2019, 15:53
@stqcb
thanks.
it will be great to see version with month names :)
[mention]lazimk[/mention], here's the .bin file with the modifications. This is my first try at modifying a file and still don't know exactly what all the json parameters mean so hopefully I did everything right. It seems to be working on my mi band so far.
Allegati
galaxy_active_bloodred_v3_mmdd_modified_packed.bin
(159.34 KiB) Scaricato 200 volte
Ultima modifica di stqcb il 06 set 2019, 16:45, modificato 1 volta in totale.
lvpokka
Messaggi: 178
Iscritto il: 07 lug 2019, 20:22
Località: L1
Has thanked: 19 times
Been thanked: 152 times
Contatta:

Messaggio da lvpokka »

New info,
Animation work BAD with palette mode, please use raw mode for animation
(probably animation and seconds also not working)
Dario

Messaggio da Dario »

GIK-Team ha scritto: 05 set 2019, 18:26
Dario ha scritto: 05 set 2019, 17:01
@GIK-Team where is it possible to find version 1.3.8 ?
I have read that it is the best version (I have already tried other versions and other modified programs but they are full of bugs :cry: )...
I wanted to change the days (replacing them with those in Italian) in the bluegreen whatchface of @lazimk ...
Thank You :D
Bye
I just can't ...
I also reduced the weight of the images of the days but nothing :cry: ...
And then it is strange that the new .bin file weighs twice as much as the old one (more than 400 Kb) ...
How did you get there :o ??!!
Can I send you the images of the days I created, so you can create the .bin file yourself?
Thank You
Bye
[mention]lazimk[/mention]
lazimk
WF maker
Messaggi: 27
Iscritto il: 27 lug 2019, 09:30
Località: India
Has thanked: 5 times
Been thanked: 4 times
Contatta:

Messaggio da lazimk »

[mention]Dario[/mention]
I ll try when i am free after work.
Pm me
-Laz

*Have a great day*
Avatar utente
ilCosmico
WF maker
Messaggi: 9
Iscritto il: 24 ago 2019, 14:57
Has thanked: 2 times
Contatta:

Messaggio da ilCosmico »

Hi guys, after latest firmware update (V1.0.6.12), animations seem to not work anymore :(

Moreover, there is a problem with the WF's upload using the Android app, custom WFs do not appear anymore.

I tried both with my custom WF and some created by other users, like this https://amazfitwatchfaces.com/mi-band-4/view/6045

UPDATE

I found all the answers here: https://www.reddit.com/r/miband/comment ... atchfaces/

"Animations work, just not when they are too slow (animation speed must be at least "4" in the json file)."
Ultima modifica di ilCosmico il 07 set 2019, 13:10, modificato 1 volta in totale.
Avatar utente
Maikeldevil
Messaggi: 64
Iscritto il: 17 ago 2019, 12:05
Località: unknown
Has thanked: 3 times
Been thanked: 44 times
Contatta:

Messaggio da Maikeldevil »

Can anyone tell me how to set speed on an animation? My animation is running to slow:-( any ideas?
Tofuman89
WF maker
Messaggi: 1
Iscritto il: 20 ago 2019, 08:55
Contatta:

Messaggio da Tofuman89 »

On the new firmware, there is a weird behaviour if there is "seconds" variable in the .json file of the WF. The seconds of the watch will be animated for the new firmware but everything else such as the steps, date, weekdays, calories, distance, heart rate will be hidden. For example is in this WF: https://amazfitwatchfaces.com/mi-band-4/view/1853 . My day to day custom WF is now somewhat broken because of this bug. Does anyone have a workaround? Thank you
mysiak
WF maker
Messaggi: 34
Iscritto il: 18 lug 2019, 06:56
Has thanked: 11 times
Been thanked: 5 times
Contatta:

Messaggio da mysiak »

ilCosmico ha scritto: 07 set 2019, 08:48
Hi guys, after latest firmware update (V1.0.6.12), animations seem to not work anymore :(

Moreover, there is a problem with the WF's upload using the Android app, custom WFs do not appear anymore.

I tried both with my custom WF and some created by other users, like this https://amazfitwatchfaces.com/mi-band-4/view/6045

UPDATE

I found all the answers here: (URL removed due to low post count)

"Animations work, just not when they are too slow (animation speed must be at least "4" in the json file)."
This information actually came from this forum :) viewtopic.php?f=62&t=797&start=50

It was suggested to use at least 5, but 4 was working in my attempts.
mysiak
WF maker
Messaggi: 34
Iscritto il: 18 lug 2019, 06:56
Has thanked: 11 times
Been thanked: 5 times
Contatta:

Messaggio da mysiak »

Maikeldevil ha scritto: 07 set 2019, 11:09
Can anyone tell me how to set speed on an animation? My animation is running to slow:-( any ideas?
Unpack watch face, edit json file, find ""Other": { "Animation": { "Speed": 4,}}
lvpokka
Messaggi: 178
Iscritto il: 07 lug 2019, 20:22
Località: L1
Has thanked: 19 times
Been thanked: 152 times
Contatta:

Messaggio da lvpokka »

v1.4.0
https://yadi.sk/d/hZnqJhUsUK6zow
- Added image quantization converter algorithm, it will compress image if it will have too much palette colors.
-- Will not affect RAW images. Added flag (ForceImageCompressor) to config
- If animation RepeatCount is 1, it will repeat only once
- Gif animation frames will be the same as animation image count
-- Added flag (PrettyAnimationPreview) to config
- Added new animation generator, now gif will look clean
- Fixed 8bit image usage, now it will work fine in palette mode
- bugfixes
hammad497

Messaggio da hammad497 »

Is there a way to create a watchface that displays time in words instead of numbers? Like it says "ten" instead of 10. Thanks n advance.
Avatar utente
lumenvindex
Messaggi: 114
Iscritto il: 08 set 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contatta:

Messaggio da lumenvindex »

hammad497 ha scritto: 09 set 2019, 12:33
Is there a way to create a watchface that displays time in words instead of numbers?
Yes, there is. But it will take a lot of space.
Example
Words.gif
Words.gif (44.53 KiB) Visto 21104 volte
MESS WITH THE BEST
DIE LIKE THE REST
Rispondi

Torna a “Watchfaces tools”

Chi c’è in linea

Visitano il forum: Nessuno e 3 ospiti