• 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 663781 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 664806 times
Download
1.0.2
WFB_102_2.png
WFB_102_2.png (97.89 KiB) Viewed 665219 times
Download
1.0.1
WFB_101_2.png
WFB_101_2.png (66.42 KiB) Viewed 666394 times
Download
1.0.0
WFB_100_2.png
WFB_100_2.png (95.65 KiB) Viewed 666670 times
Download
0.9.8
WFB_098_2.png
WFB_098_2.png (83.54 KiB) Viewed 666836 times
Download
0.9.7
WFB_097_2.png
WFB_097_2.png (71.41 KiB) Viewed 667485 times
Download
0.9.6
WFP_096_2.png
WFP_096_2.png (132.52 KiB) Viewed 668477 times
Download
0.9.5
WFB_095_1.png
WFB_095_1.png (57.03 KiB) Viewed 669309 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
elitet007
WF maker
Posts: 1
Joined: 03 Nov 2019, 00:55
Has thanked: 1 time
Contact:

Post by elitet007 »

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.
I can help you if you want, I started make one, but I had thesme problem.
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? A full rewrite.
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

Lienarhba wrote: 14 Aug 2020, 08:26
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 .
I reuploaded it couple of days ago. You should be able to download it now.
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: 14 Aug 2020, 15:45
Can you make a linux version? A full rewrite.
Yes, I can. But no, I won't. :D
MESS WITH THE BEST
DIE LIKE THE REST
guaynaa
Posts: 2
Joined: 29 Aug 2020, 02:08
Location: col
Contact:

Post by guaynaa »

This tool is just what I needed, is it getting an update to work with mi band 5 watchfaces??
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

guaynaa wrote: 30 Aug 2020, 19:29
This tool is just what I needed, is it getting an update to work with mi band 5 watchfaces??
No. At least for now. I don't have a Mi Band 5 hence I won't be able to test the program.
MESS WITH THE BEST
DIE LIKE THE REST
wyusufw
WF maker
Posts: 1
Joined: 16 Dec 2019, 17:00
Been thanked: 1 time
Contact:

Post by wyusufw »

mi band 5 support please
arthurking521
WF maker
Posts: 16
Joined: 22 Aug 2020, 03:52
Location: ch
Has thanked: 7 times
Been thanked: 3 times
Contact:

Post by arthurking521 »

could u pls. modify one tool for mi band 5,thx very much
tigre652
WF maker
Posts: 11
Joined: 12 Oct 2019, 21:39
Contact:

Post by tigre652 »

Hi help me understand why in the watchface that I made at the following link:
https://amazfitwatchfaces.com/mi-band-4/view/16266 (the version with seconds)
part of the display disappears after 1 second as I was told for a miband bug
On the other hand, in this version made by another user, does the management of seconds work correctly?
https://amazfitwatchfaces.com/mi-band-4/view/8211
tigre652
WF maker
Posts: 11
Joined: 12 Oct 2019, 21:39
Contact:

Post by tigre652 »

Ok i have solved, must be enabled ANALOG => second arrow ON
TomoS
WF maker
Posts: 5
Joined: 05 Oct 2020, 07:15
Location: Poland
Has thanked: 1 time
Contact:

Post by TomoS »

Why weekdays works always in chineese instead international when i load images?
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

TomoS wrote: 08 Oct 2020, 08:25
Why weekdays works always in chineese instead international when i load images?
You should read the Recommendations section in the original post.
MESS WITH THE BEST
DIE LIKE THE REST
TomoS
WF maker
Posts: 5
Joined: 05 Oct 2020, 07:15
Location: Poland
Has thanked: 1 time
Contact:

Post by TomoS »

lumenvindex wrote: 08 Oct 2020, 17:52
TomoS wrote: 08 Oct 2020, 08:25
Why weekdays works always in chineese instead international when i load images?
You should read the Recommendations section in the original post.
I read but it doesn't work that way.
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

TomoS wrote: 08 Oct 2020, 19:20
I read but it doesn't work that way.
Nonsence. Choose 21 images for weekdays, then select International and see the international weekdays preview.
MESS WITH THE BEST
DIE LIKE THE REST
TomoS
WF maker
Posts: 5
Joined: 05 Oct 2020, 07:15
Location: Poland
Has thanked: 1 time
Contact:

Post by TomoS »

Why watchface preview after compilling is different than actually on Mi Band?
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

TomoS wrote: 19 Oct 2020, 18:58
Why watchface preview after compilling is different than actually on Mi Band?
How exactly is it different? Anyway, this preview is generated by MiBandWFTool while packing. I will not be able to fix it.
MESS WITH THE BEST
DIE LIKE THE REST
TomoS
WF maker
Posts: 5
Joined: 05 Oct 2020, 07:15
Location: Poland
Has thanked: 1 time
Contact:

Post by TomoS »

lumenvindex wrote: 20 Oct 2020, 03:18
TomoS wrote: 19 Oct 2020, 18:58
Why watchface preview after compilling is different than actually on Mi Band?
How exactly is it different? Anyway, this preview is generated by MiBandWFTool while packing. I will not be able to fix it.
On Mi Band preview is correct but gif file in unpacked WF looks like (status bar)
Image
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

TomoS wrote: 20 Oct 2020, 06:43
but gif file in unpacked WF looks like (status bar)
Check DPI of status bar images. It should be 96.
MESS WITH THE BEST
DIE LIKE THE REST
TomoS
WF maker
Posts: 5
Joined: 05 Oct 2020, 07:15
Location: Poland
Has thanked: 1 time
Contact:

Post by TomoS »

lumenvindex wrote: 20 Oct 2020, 12:43
TomoS wrote: 20 Oct 2020, 06:43
but gif file in unpacked WF looks like (status bar)
Check DPI of status bar images. It should be 96.
Now is perfect. Thanks ;)
german_psycho
Posts: 1
Joined: 24 Oct 2020, 13:22
Location: Germany
Been thanked: 2 times
Contact:

Post by german_psycho »

Are you planning of getting a Mi Band 5?
Would be great to see this tool for the 5 band..

Maybe you should add something like a Donation-Button to your first post..
KiruHoshino
WF maker
Posts: 3
Joined: 26 Aug 2020, 22:57
Location: Hungary
Contact:

Post by KiruHoshino »

#Mi Band 4 - Can you add a weather option?
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

KiruHoshino wrote: 31 Oct 2020, 23:43
#Mi Band 4 - Can you add a weather option?
Mi Band 4 cannot show weather on it's watchface.
MESS WITH THE BEST
DIE LIKE THE REST
KiruHoshino
WF maker
Posts: 3
Joined: 26 Aug 2020, 22:57
Location: Hungary
Contact:

Post by KiruHoshino »

lumenvindex wrote: 01 Nov 2020, 06:22
KiruHoshino wrote: 31 Oct 2020, 23:43
#Mi Band 4 - Can you add a weather option?
Mi Band 4 cannot show weather on it's watchface.
Some Mi Band 4 WF have weather. Why do you think how it is don't support it then?
User avatar
lumenvindex
Posts: 114
Joined: 08 Sep 2019, 19:01
Has thanked: 2 times
Been thanked: 49 times
Contact:

Post by lumenvindex »

KiruHoshino wrote: 01 Nov 2020, 18:36
Some Mi Band 4 WF have weather. Why do you think how it is don't support it then?
Because I tried using such WFs (many times). If you've found a WF that works OK with weather on a real Mi Band 4, show it to me please.
MESS WITH THE BEST
DIE LIKE THE REST
Post Reply

Return to “Watchfaces tools”

Who is online

Users browsing this forum: Google Adsense [Bot], sadc and 1 guest