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

Discussion of watch faces for Mi Band 4

Archive closed topics

Moderators: Internal error, Watchmens

User avatar
osmat
Admin
Posts: 278
Joined: 22 Mar 2018, 10:09
Location: Ukraine
Has thanked: 35 times
Been thanked: 73 times
Contact:

Discussion of watch faces for Mi Band 4

Post by osmat »

MiBandWFTool | Amazfit Watchfaces Tool | How to install watchfaces | Ask to do watch faces | Create Instructions

This topic was created in order to discuss
all issues related to the creation and modification of watch faces for
MI Band 4


F.A.Q
oplexz

Post by oplexz »

Hi!

So I was creating a watchface from scratch, and got pretty much everything except for weekday. It shows up in previews, but when I set it via watchface settings, there's just blank space here.

Was wondering if I'm doing something wrong?

Code: Select all

    
    "WeekDay": {
      "X": 5,
      "Y": 21,
      "ImageIndex": 21,
      "ImagesCount": 7
    }
User avatar
lukbe
WF maker
Posts: 18
Joined: 02 Jun 2018, 08:09
Location: Czech
Has thanked: 1 time
Been thanked: 8 times
Contact:

Post by lukbe »

Try this:

"WeekDay": {
"X": 5,
"Y": 21,
"ImageIndex": 7,
"ImagesCount": 21
}

For week day is necessary to have 21 images (7+7+7 -> Chinese + Chinese + your lang). Chinese + Chinese can by any another picture (e.g. numbers).
oplexz

Post by oplexz »

lukbe wrote: 23 Jul 2019, 06:26
For week day is necessary to have 21 images (7+7+7 -> Chinese + Chinese + your lang). Chinese + Chinese can by any another picture (e.g. numbers).
Thanks! I got it working on the bracelet.
User avatar
yinas
WF maker
Posts: 13
Joined: 19 Oct 2018, 13:40
Location: Austria
Has thanked: 6 times
Contact:

Post by yinas »

Hello!
I have the same issue, weekdays are not showing on the actual band.
First tried it with only 7 images, and now I copied these images and assigned them the next indices.
So I have 3 sets of 7 images for weekdays now, and my json shows

"ImageIndex": 21,
"ImagesCount": 21


The generated preview images were already showing the weekday, even when i only had the 7 images available. Now it also still shows up in the generated previews, but not on the band when i activate the new watchface.

Maybe any more suggestions?


--- EDIT

Nevermind, fixed it.
First I used the adapted AmazefitBipTools to pack it,
now I switched to the actual MiBand4 Tools as available here in the forum, and it is fine ;)
pureexe

Post by pureexe »

I want to create watch face that have white background during day and black background during night? is this possible? how can i write json to action like this?
oplexz

Post by oplexz »

yinas wrote: 23 Jul 2019, 12:59
Maybe any more suggestions?
There's one more alternative I found:
First 14 images are chinese weekdays, so eg your weekday images (for instance, English) begin at at 21, you can just subtract 14 from 21 (7) and use 7 as starter index. The preview files will use different images for weekdays, but on your bracelet it will look just fine, because it has skipped the first 14 images, and starter index is 21.

If something is unclear, reply to this message and I'll explain on your particular code :)
oplexz

Post by oplexz »

As far as I know, you can't change background based on time.

There's just one workaround I can think of:
Make a set of images for hours' ones (1 - white background, 0 or 2 - black background, position the numbers accordingly), place them at x: 0, y: 0 and the rest is up to you. I don't really know if it'll actually work out, it's just a thought.
puLse2D
WF maker
Posts: 2
Joined: 10 Jul 2019, 18:44
Contact:

Post by puLse2D »

Hi Guys... this WF want work fine?! Why can someone fix it ?
BVB-LOGO.rar
(488.46 KiB) Downloaded 190 times
thanks a lot
User avatar
yinas
WF maker
Posts: 13
Joined: 19 Oct 2018, 13:40
Location: Austria
Has thanked: 6 times
Contact:

Post by yinas »

oplexz wrote: 23 Jul 2019, 18:35
yinas wrote: 23 Jul 2019, 12:59
Maybe any more suggestions?
There's one more alternative I found:
First 14 images are chinese weekdays, so eg your weekday images (for instance, English) begin at at 21, you can just subtract 14 from 21 (7) and use 7 as starter index. The preview files will use different images for weekdays, but on your bracelet it will look just fine, because it has skipped the first 14 images, and starter index is 21.

If something is unclear, reply to this message and I'll explain on your particular code :)

Sorry but it is not clear...
Just wondering, does this mean I could save on images overall? ie, I would prefer to only include the images I actually need, in this case only 7 different images for weekdays.
Currently I have it working just fine on the actual band, but I am using 21 images, as described in my comment before, with 3 identical sets of 7 images (Monday through Sunday) - which is a waste IMO.

again, this is the code I use:

Code: Select all

"WeekDay": {
      "X": 19,
      "Y": 171,
      "ImageIndex": 21,  // coincidence, my weekday images start at index 0021
      "ImagesCount": 21  // 3 identical sets of 7 images
    }
User avatar
SinE_
WF maker
Posts: 10
Joined: 10 Jul 2019, 19:50
Has thanked: 1 time
Been thanked: 1 time
Contact:

Post by SinE_ »

I have the same issue, the actual temperature is not showed in the main screen. And I can't find the solution :)
lvpokka
Posts: 178
Joined: 07 Jul 2019, 20:22
Location: L1
Has thanked: 19 times
Been thanked: 152 times
Contact:

Post by lvpokka »

there is no solution, it's not supported by MiBand4...
PoleoDeMenta
WF maker
Posts: 5
Joined: 05 Aug 2019, 20:48
Has thanked: 2 times
Contact:

Post by PoleoDeMenta »

Hey!
I wanted to ask you a question about this WF i made...
https://amazfitwatchfaces.com/mi-band-4/view/3254
Apparently it's all correct, but when I sync it to my band, the week day (mon, tue...) doesnt show, even png and gif shows!.

Here's the json data:
"WeekDay": {
"X": 96,
"Y": 164.5,
"ImageIndex": 32,
"ImagesCount": 7
}
},

So please, if someone could help me!!
fprietog
WF maker
Posts: 6
Joined: 01 Jul 2019, 18:46
Has thanked: 10 times
Been thanked: 1 time
Contact:

Post by fprietog »

Have you tried not using decimals for Y coordinate (164 or 165 instead of 164.5)?
lvpokka
Posts: 178
Joined: 07 Jul 2019, 20:22
Location: L1
Has thanked: 19 times
Been thanked: 152 times
Contact:

Post by lvpokka »

weekdays COUNT should be 21!!!! and don`t use decimals...
PoleoDeMenta
WF maker
Posts: 5
Joined: 05 Aug 2019, 20:48
Has thanked: 2 times
Contact:

Post by PoleoDeMenta »

Thanks!
I first tried only without decimals, it didn't work
I then tried changing img count to 21 and then it worked!

Thanks a lot I'll change it on my upload!
User avatar
TXK
Posts: 299
Joined: 10 Apr 2018, 05:15
Location: china
Has thanked: 149 times
Been thanked: 97 times
Contact:

Post by TXK »

yinas wrote: 24 Jul 2019, 20:56
oplexz wrote: 23 Jul 2019, 18:35
yinas wrote: 23 Jul 2019, 12:59
Maybe any more suggestions?
There's one more alternative I found:
First 14 images are chinese weekdays, so eg your weekday images (for instance, English) begin at at 21, you can just subtract 14 from 21 (7) and use 7 as starter index. The preview files will use different images for weekdays, but on your bracelet it will look just fine, because it has skipped the first 14 images, and starter index is 21.

If something is unclear, reply to this message and I'll explain on your particular code :)

Sorry but it is not clear...
Just wondering, does this mean I could save on images overall? ie, I would prefer to only include the images I actually need, in this case only 7 different images for weekdays.
Currently I have it working just fine on the actual band, but I am using 21 images, as described in my comment before, with 3 identical sets of 7 images (Monday through Sunday) - which is a waste IMO.

again, this is the code I use:

Code: Select all

"WeekDay": {
      "X": 19,
      "Y": 171,
      "ImageIndex": 21,  // coincidence, my weekday images start at index 0021
      "ImagesCount": 21  // 3 identical sets of 7 images
    }
(7 + 7 + 7). If you use the third 7, you can replace the first two 7 with a 1X1 pixel image.
It's just my idea, not my practice.
Farhankhosravi

Post by Farhankhosravi »

Hello all...

i made an watchface with a dynamic picture into that... the picture size is 80kb. but when i pack json file with RawImageMode; the bin file's size get 600kb!!!(with good quality); and when i use PaletteImageMode, the bin size get near 300kb... But with low charge icon quality...
So, i need to make my .bin file with PaletteImage Mode, but just make my charge icon with RawImage Mode... is there any way to do that??!?... i like quality of other pictures, just want to change the quality of charge icon :(((...

so... what can i do now?.... i am really need that, please someone help, pleeeaaase... :cry:
Thanks a lot :(...
lazimk
WF maker
Posts: 27
Joined: 27 Jul 2019, 09:30
Location: India
Has thanked: 5 times
Been thanked: 4 times
Contact:

Post by lazimk »

It is mentioned in README file. Add a text file named 'raw.cfg' and just add image indices of those files u need to have in raw mode seperated by coma. Lets say your charge icons are 55 to 62.
Then make a file with content as follows:
55,56,57,58,59,60,61,62
and save it as raw.cfg in the watchface folder.
Drag json file to EXE for palettemode
Last edited by lazimk on 13 Aug 2019, 21:06, edited 1 time in total.
-Laz

*Have a great day*
lazimk
WF maker
Posts: 27
Joined: 27 Jul 2019, 09:30
Location: India
Has thanked: 5 times
Been thanked: 4 times
Contact:

Post by lazimk »

I have a question.
Can we have elements (minute, hour numbers) drawn top of an animated background??
I tried it in v1.3.5. didnt work.
I dont have those files now.
Anyone tried in 1.3.8 ???
-Laz

*Have a great day*
lvpokka
Posts: 178
Joined: 07 Jul 2019, 20:22
Location: L1
Has thanked: 19 times
Been thanked: 152 times
Contact:

Post by lvpokka »

please use only 1.3.8! Its have no bugs and fixed all preview problems...

no it's not possible... they drawing in following order which cannot be changed. Overwrite animation can only last json element HeartProgress
Ramiroquai
Posts: 1
Joined: 14 Aug 2019, 06:02
Contact:

Post by Ramiroquai »

Hi: Sorry for my English. My problem is with gifs. I try to remake one wacth (stich), but when I try in "RawImageMode" my new watch and gif, up the size from 290 to 950 kb and give me error in my band 4. I try with no modifications, but the same watch (Stich) go from 250 kb to 950 kb (the file bin) and withiut modifications. Any help? Many thanks Again sorry for my very bad English.

I used version 1.3.8
lazimk
WF maker
Posts: 27
Joined: 27 Jul 2019, 09:30
Location: India
Has thanked: 5 times
Been thanked: 4 times
Contact:

Post by lazimk »

lvpokka wrote: 13 Aug 2019, 21:46
please use only 1.3.8! Its have no bugs and fixed all preview problems...

no it's not possible... they drawing in following order which cannot be changed. Overwrite animation can only last json element HeartProgress
Hi,
Thanks for the reply.
Nowadays i am using 1.3.8 only. I had designed a watchface.
Its looking perfect it preview. But after syncing it with miband battery bar and status icons are not appearing.
I am not sure if its a bug or problem with files (i am using imagecount 9 for battery). Preview looks fine.
Link : https://amazfitwatchfaces.com/mi-band-4/view/2136
-Laz

*Have a great day*
lazimk
WF maker
Posts: 27
Joined: 27 Jul 2019, 09:30
Location: India
Has thanked: 5 times
Been thanked: 4 times
Contact:

Post by lazimk »

Ok. I have fixed it. I didnt add redundant battery info object.
In preview, Delimiter Image for calorie are not visible
-Laz

*Have a great day*
lvpokka
Posts: 178
Joined: 07 Jul 2019, 20:22
Location: L1
Has thanked: 19 times
Been thanked: 152 times
Contact:

Post by lvpokka »

[mention]lazimk[/mention] its not visible on miband4 also?
Locked

Return to “Closed topics”

Who is online

Users browsing this forum: No registered users and 2 guests