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

WF_Builder (watchfaces for Mi Band 4)

This forum is designed to discuss and develop tools creating watch faces.

Moderators: asoo, lvpokka, Internal error, Watchmens

Forum rules
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.
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

WF_Builder (watchfaces for Mi Band 4)

Post by lumenvindex »

Translated my Mi Band 4 watchface editor into English. Maybe someone will find it useful. (Works on Windows 7+)

Download WF_Builder 1.0.4
Screenshot
WFB_104_2.png
WFB_104_2.png (88.5 KiB) Viewed 656985 times
Changelog

Code: Select all

1.0.4
Fixed the order of controls for [Tab] switching.
Removed "Pulse norm" parameter.
Added [F9] hotkey for fast switching to/from Selective palette packing.
1.0.3
Numeric values can now be changed with keyboard arrows.
Pulse indicator behaves similar to Mi Band's original behaviour:
- You can choose up to 7 images, 7th image will appear if the Pulse isn't defined (-1);
- First image appears up to 93 bpm. Other images appear on every next 20 bpm.
1.0.2
Fixed raw.cfg generation function. Selective palette mode is now working.
1.0.1
Added feature of choosing where to save preview (F7) in Options dialog.
Added selective palette mode feature (enable in Options to generate raw.cfg during Palette packing).
Program can now be associated with bin and json files (tries to unpack and open a file from command line parameters).
Inputboxes now show previous value.
1.0.0
Added boxes feature for sections with two pairs of coordinates. It's green if X2>X1 and Y2>Y1, otherwise it's red.
Added magnitude feature. Preview can now have double and triple size.
0.9.8
Added a ruler near preview which is replaced to the right upper corner of a window.
Added grid feature - changeable alignment (left/center), color, size. Don't forget to turn it off before saving to PNG.
Fixed some bugs
0.9.7
Added button highlighting: red button means you need to choose files for this section before packing, yellow button means this feature is optional.
Added optional section [PackingOptions] in Lib\WF_Builder.ini (for advanced user who need to change these options).
Switched to Mi Band 4 WF Tool 1.4.1 - added new sections: time separator, steps icon (it's placing depends on alignment), line progress bar of steps (I know, it works really weird for now, but it works the same way on Mi Band).
Images are now drawn by pixels, ignoring DPI (like they do in Mi Band). But Mi Band 4 WF Tool still needs 96 DPI to draw correct gif.
0.9.6
Fixed color saving in Steps indicator (circle).
Optimized redrawing operation during creating/saving/packing watchfaces.
Changed battery icon preview states to match Mi Band 4 behaviour.
WF_builder allows you to change all known parameters of a watchface. It shows how watchface will look like with different data on it. Program uses Mi Band 4 WF Tool for packing\unpacking watchfaces and has it inside Lib subdirectory. Lots of thanks to @lvpokka for this tool.
Previous versions
1.0.3
WFB_103_2.png
WFB_103_2.png (66.52 KiB) Viewed 658010 times
Download
1.0.2
WFB_102_2.png
WFB_102_2.png (97.89 KiB) Viewed 658423 times
Download
1.0.1
WFB_101_2.png
WFB_101_2.png (66.42 KiB) Viewed 659598 times
Download
1.0.0
WFB_100_2.png
WFB_100_2.png (95.65 KiB) Viewed 659874 times
Download
0.9.8
WFB_098_2.png
WFB_098_2.png (83.54 KiB) Viewed 660040 times
Download
0.9.7
WFB_097_2.png
WFB_097_2.png (71.41 KiB) Viewed 660689 times
Download
0.9.6
WFP_096_2.png
WFP_096_2.png (132.52 KiB) Viewed 661681 times
Download
0.9.5
WFB_095_1.png
WFB_095_1.png (57.03 KiB) Viewed 662513 times
Download
Recommendations
Turned section on? First of all choose all images for it (digits, suffixes, delimiters etc.).
You can choose images from any available directory. The only thing that matters is their order (0, 1, 2, 3, etc.). When saving watchface, images will be written into json-config directory.
When saving json, a backup file is created (file.json turns into file.json_HHMMSS.bak, where HHMMSS is the timestamp).
When packing, binary is renamed with suffix _Palette or _Raw, depending on the chosen mode.
There should be 21 images of weekdays (3 sets of 7 days: 2 chineese sets and 1 international set).
If your weekday sets make watchface too heavy, you may replace first 14 images with one transparent pixel images.
Virus?
There are no viruses in my program, but some antiviruses may see a threat because program is written on Autoit script language.
Program doesn't need admin permissions to work - it only needs write permissions to watchface directory.
But still. Use program at your own risk.
Last edited by lumenvindex on 12 Aug 2020, 15:42, edited 13 times in total.
MESS WITH THE BEST
DIE LIKE THE REST
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

anhtu7596 wrote: 26 Jul 2020, 18:26
Please create a tool like this for miband5
Unfortunately I don't have a MiBand5. Cannot develop a program without testing.
MESS WITH THE BEST
DIE LIKE THE REST
Mellifluous
Posts: 4
Joined: 17 Jul 2020, 15:28
Location: New York , US
Has thanked: 4 times
Contact:

Post by Mellifluous »

Thanks really helpful!
Please make a tool for Mi band 5 or NFC version generator.
Thanks.
Scorpion2185
Posts: 4
Joined: 30 Jul 2020, 18:21
Location: Planet Earth
Has thanked: 1 time
Contact:

Post by Scorpion2185 »

Can you make a linux version? It works bad with wine.
anhtu7596
Posts: 2
Joined: 22 Jul 2020, 15:17
Location: Hà Nội
Has thanked: 1 time
Contact:

Post by anhtu7596 »

lumenvindex wrote: 27 Jul 2020, 15:53
anhtu7596 wrote: 26 Jul 2020, 18:26
Please create a tool like this for miband5
Unfortunately I don't have a MiBand5. Cannot develop a program without testing.
I think you should create a link so people donate you 👍🏻
Scorpion2185
Posts: 4
Joined: 30 Jul 2020, 18:21
Location: Planet Earth
Has thanked: 1 time
Contact:

Post by Scorpion2185 »

How can I at least open the .bin files on linux? I should be able to change the background image, right?
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

Scorpion2185 wrote: 30 Jul 2020, 18:24
Can you make a linux version? It works bad with wine.
Unfortunately, It's written on AutoIt, Windows-only.
MESS WITH THE BEST
DIE LIKE THE REST
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

Scorpion2185 wrote: 31 Jul 2020, 17:47
How can I at least open the .bin files on linux? I should be able to change the background image, right?
I think there was a linux version of MiBandWFTool. Try asking here.
MESS WITH THE BEST
DIE LIKE THE REST
jack.y.biton
Posts: 3
Joined: 26 Feb 2020, 22:49
Location: Isral
Has thanked: 1 time
Contact:

Post by jack.y.biton »

Hi friends how can I make them see the months by name and not by number
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

jack.y.biton wrote: 03 Aug 2020, 16:14
Hi friends how can I make them see the months by name and not by number
Download and unpack a watchface with that feature, explore the pictures, pay attention to the options of the Month section. It's easy to understand but it's hard to explain ;)
MESS WITH THE BEST
DIE LIKE THE REST
GodMutant
WF maker
Posts: 3
Joined: 03 Aug 2020, 04:16
Location: Porto Alegre
Been thanked: 1 time
Contact:

Post by GodMutant »

I use the web site virus total this WF_Builder1.0.4.exe is full of virus
i . p o s t i m g . c c / v m 4 k b T b J / v v v . j p g
jack.y.biton
Posts: 3
Joined: 26 Feb 2020, 22:49
Location: Isral
Has thanked: 1 time
Contact:

Post by jack.y.biton »

Did not understand I want to make the months not in number but in letters
jack.y.biton
Posts: 3
Joined: 26 Feb 2020, 22:49
Location: Isral
Has thanked: 1 time
Contact:

Post by jack.y.biton »

lumenvindex wrote: 03 Aug 2020, 18:14
jack.y.biton wrote: 03 Aug 2020, 16:14
Hi friends how can I make them see the months by name and not by number
Download and unpack a watchface with that feature, explore the pictures, pay attention to the options of the Month section. It's easy to understand but it's hard to explain ;)
Did not understand I want to turn the months into letters not numbers
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

GodMutant wrote: 04 Aug 2020, 02:06
I use the web site virus total this WF_Builder1.0.4.exe is full of virus
i . p o s t i m g . c c / v m 4 k b T b J / v v v . j p g
READ the original post.
MESS WITH THE BEST
DIE LIKE THE REST
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

jack.y.biton wrote: 04 Aug 2020, 04:10
Did not understand I want to turn the months into letters not numbers
Mi Band 4 firmware doesn't have this feature. You can only do this by using special trick with numbers pictures. Unpack, explore, get your brain twisted a little.
MESS WITH THE BEST
DIE LIKE THE REST
Adore_able
Posts: 7
Joined: 02 Aug 2020, 13:18
Location: New York , Manhattan
Been thanked: 6 times
Contact:

Post by Adore_able »

Can we turn weather or PAI on Mi band 4 dial ? Those this program enables these . And lastly can we translate language , for example English to Chinese , herbrew ,and Czech
Thank you
Regards
Adore_able
Inspiring great affection and delight
urieleugenio
WF maker
Posts: 34
Joined: 21 Jan 2020, 12:30
Location: Madrid
Has thanked: 6 times
Been thanked: 7 times
Contact:

Post by urieleugenio »

Adore_able wrote: 04 Aug 2020, 11:54
Can we turn weather or PAI on Mi band 4 dial ? Those this program enables these . And lastly can we translate language , for example English to Chinese , herbrew ,and Czech
Thank you
Regards
Adore_able
I had read weather doesn't works on the MB4, I never really tried it. As for PAI, MB4 doesn't have PAI function (or at least mine it didn't until I gave it away a couple weeks ago), so you won't get the data input from the band.

As far as I know, translation is done by creating additional images (for day of the week or any other text image component), one set for each language. I'm not sure how to code for language, though. An easy fix would be to just make a different version for each language, swapping language images, so that you don't need to change the code.
GodMutant
WF maker
Posts: 3
Joined: 03 Aug 2020, 04:16
Location: Porto Alegre
Been thanked: 1 time
Contact:

Post by GodMutant »

Can you share the source code to we compile the software ?
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

GodMutant wrote: 09 Aug 2020, 01:30
Can you share the source code to we compile the software ?
I would like not to share this embarrassing code :|
Why do you want to compile it yourself?
MESS WITH THE BEST
DIE LIKE THE REST
GodMutant
WF maker
Posts: 3
Joined: 03 Aug 2020, 04:16
Location: Porto Alegre
Been thanked: 1 time
Contact:

Post by GodMutant »

I want to make a online BUILDER using html and css and boorstrap so i want to use your code to learn about mi band 4 it is the best way.

All codes are some form of art I would never criticize your code.
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

GodMutant wrote: 10 Aug 2020, 05:42
I want to make a online BUILDER using html and css and boorstrap so i want to use your code to learn about mi band 4 it is the best way.

All codes are some form of art I would never criticize your code.
Answered in PM.
MESS WITH THE BEST
DIE LIKE THE REST
okniwt
Posts: 1
Joined: 12 Aug 2020, 11:01
Location: GER
Contact:

Post by okniwt »

Hey Guys,

i cant download the builder. This Website tells me that the maximum limit of downloads is reached.
Please reup Version 1.0.4
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

okniwt wrote: 12 Aug 2020, 11:05
Hey Guys,

i cant download the builder. This Website tells me that the maximum limit of downloads is reached.
Please reup Version 1.0.4
Done. Thanks for noticing.
MESS WITH THE BEST
DIE LIKE THE REST
Vansh Rathore
Posts: 1
Joined: 11 Aug 2020, 17:07
Location: India
Contact:

Post by Vansh Rathore »

Can we make a mi band 5 watchface for mi band 4 by resizeing it from 16 bit to 8 bit
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

Vansh Rathore wrote: 14 Aug 2020, 05:21
Can we make a mi band 5 watchface for mi band 4 by resizeing it from 16 bit to 8 bit
No. I think 16 and 8 bit is about colours, not size. Watchfaces for Mi Band 5 have different structure.
MESS WITH THE BEST
DIE LIKE THE REST
Lienarhba
Posts: 7
Joined: 12 Aug 2020, 15:08
Location: Ukraine
Has thanked: 1 time
Contact:

Post by Lienarhba »

Hi lumenvindex , this program is really awesome . I have downloaded it a week ago , I was changing the parameters of my watchface . Suddenly , by my silly mistake , this program file was deleted from my windows 7+ .
My all works were reseted . Now I have left about that watchface . So, now I tried to again download the file , it says " the maximum number of downloads has reached" .
Please help me to download it again
Thanks .
Post Reply

Return to “Watchfaces tools”

Who is online

Users browsing this forum: No registered users and 22 guests