• 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 657016 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 658041 times
Download
1.0.2
WFB_102_2.png
WFB_102_2.png (97.89 KiB) Viewed 658454 times
Download
1.0.1
WFB_101_2.png
WFB_101_2.png (66.42 KiB) Viewed 659629 times
Download
1.0.0
WFB_100_2.png
WFB_100_2.png (95.65 KiB) Viewed 659905 times
Download
0.9.8
WFB_098_2.png
WFB_098_2.png (83.54 KiB) Viewed 660071 times
Download
0.9.7
WFB_097_2.png
WFB_097_2.png (71.41 KiB) Viewed 660720 times
Download
0.9.6
WFP_096_2.png
WFP_096_2.png (132.52 KiB) Viewed 661712 times
Download
0.9.5
WFB_095_1.png
WFB_095_1.png (57.03 KiB) Viewed 662544 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 »

You've tested them and they work just fine? Any of them?
MESS WITH THE BEST
DIE LIKE THE REST
tari.eledhwen
WF maker
Posts: 1
Joined: 09 Nov 2020, 05:03
Location: Switzerland
Contact:

Post by tari.eledhwen »

Windows 10 does mean, its a worm inside, cant open at all.
Tech72
Posts: 3
Joined: 18 Nov 2020, 06:11
Location: New Zealand
Contact:

Post by Tech72 »

Is there a mi band 5 version and if not can you change the size of the template/viewer
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

Tech72 wrote: 18 Nov 2020, 06:13
Is there a mi band 5 version and if not can you change the size of the template/viewer
There is no mi band 5 version. It's not about the size of the screen. There are many changes in the syntax of .json file.
MESS WITH THE BEST
DIE LIKE THE REST
Tech72
Posts: 3
Joined: 18 Nov 2020, 06:11
Location: New Zealand
Contact:

Post by Tech72 »

lumenvindex wrote: 18 Nov 2020, 10:24
Tech72 wrote: 18 Nov 2020, 06:13
Is there a mi band 5 version and if not can you change the size of the template/viewer
There is no mi band 5 version. It's not about the size of the screen. There are many changes in the syntax of .json file.
Will you be creating one
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

Tech72 wrote: 18 Nov 2020, 18:06
Will you be creating one
No
MESS WITH THE BEST
DIE LIKE THE REST
dheerajmalviya007
Posts: 2
Joined: 29 Sep 2020, 13:03
Location: India
Contact:

Post by dheerajmalviya007 »

Can I use it for mi band 5?
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

dheerajmalviya007 wrote: 24 Nov 2020, 17:09
Can I use it for mi band 5?
No
MESS WITH THE BEST
DIE LIKE THE REST
Sokol1991
WF maker
Posts: 1
Joined: 24 May 2020, 13:38
Location: Москва
Has thanked: 1 time
Contact:

Post by Sokol1991 »

Error when build! "WF_Builder1.0.4"
Attachments
Снимок.PNG
Снимок.PNG (51.77 KiB) Viewed 52943 times
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

Sokol1991 wrote: 08 Jan 2021, 01:44
Error when build! "WF_Builder1.0.4"
Looks like you've enabled one of the Section but didn't choose any image(s) for it. Hence the "Loading image -1".
MESS WITH THE BEST
DIE LIKE THE REST
cygmon0
Posts: 3
Joined: 08 Jan 2021, 16:20
Location: 127.0.0.1
Has thanked: 1 time
Been thanked: 2 times
Contact:

Post by cygmon0 »

If i uncheck the "weeksday" then check it again, it doesn't show the days, even if i added files :(

idk what i did wrong.
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

cygmon0 wrote: 08 Jan 2021, 22:08
If i uncheck the "weeksday" then check it again, it doesn't show the days, even if i added files :(

idk what i did wrong.
You add 21 files, right? Cause if you add only 7 weekday files they show up for Chineese language only.
MESS WITH THE BEST
DIE LIKE THE REST
Kyoutsuvw
Posts: 2
Joined: 05 Feb 2021, 02:24
Location: Markham
Contact:

Post by Kyoutsuvw »

How do i change the size of the hour and minutes?
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

Kyoutsuvw wrote: 08 Feb 2021, 19:35
How do i change the size of the hour and minutes?
Choose a set of pictures with numbers of another size. Mi Band just shows the pictures in the right order, without using any fonts or sizes.
MESS WITH THE BEST
DIE LIKE THE REST
Kyoutsuvw
Posts: 2
Joined: 05 Feb 2021, 02:24
Location: Markham
Contact:

Post by Kyoutsuvw »

lumenvindex wrote: 09 Feb 2021, 02:14
Kyoutsuvw wrote: 08 Feb 2021, 19:35
How do i change the size of the hour and minutes?
Choose a set of pictures with numbers of another size. Mi Band just shows the pictures in the right order, without using any fonts or sizes.
So it depends on the size of the picture, right?
supremedap
WF maker
Posts: 1
Joined: 03 Jun 2021, 03:30
Location: Cabo Frio
Contact:

Post by supremedap »

Hi!! Is there any way of making a Day-Night cycle on the background? And also, my weekday and date only appear for a second, is there a way to fix it? Thanks for your attention.
TR198ME
WF maker
Posts: 1
Joined: 29 Jan 2021, 18:50
Location: Mus
Contact:

Post by TR198ME »

Nice job bro, can you make it android version of that
Post Reply

Return to “Watchfaces tools”

Who is online

Users browsing this forum: No registered users and 17 guests