Page 1 of 1

Help For Making new Theme

Posted: 12 Jul 2019, 20:41
by Kyldros
Hello everyone, i have tryed to make a new theme, but it's my first time and maybe i want do something that is over my capabilities .
Is a very heavy modded theme for the mi band, and maybe i have done some mistake because i don't know how is possible to do or not. can someone watch my works and tell me what i'm doing wrong?
I have attached all the file that i have used.
Thanks in advance and sorry for my bad english!

Re: Help For Making new Theme

Posted: 12 Jul 2019, 22:57
by lvpokka
Here your using wallpaper as images for AMPM, create resource images 1x1 and use them here

Code: Select all

"DayAmPm": {
      "TopLeftX": 0,
      "TopLeftY": 0,
      "ImageIndexAMCN": 0,
      "ImageIndexPMCN": 0,
      "ImageIndexAMEN": 0,
      "ImageIndexPMEN": 0
    }
Probably will not work with 7 days, please use 21 instead, also with 1x1 images

Code: Select all

    "WeekDay": {
      "X": 40,
      "Y": 70,
      "ImageIndex": 21,
      "ImagesCount": 7
first elemetn Text should be all nulls, its not used

Code: Select all

    "Battery": {
      "Text": {
Not sure but Icon -> ImagesCount should be 9

images 28 ,29 should be used or removed

image 51 should be drawn on background and remove it

All images should be from 0000 -> X with out missing numbers

Re: Help For Making new Theme

Posted: 13 Jul 2019, 07:12
by Kyldros
lvpokka wrote: 12 Jul 2019, 22:57
Here your using wallpaper as images for AMPM, create resource images 1x1 and use them here

Code: Select all

"DayAmPm": {
      "TopLeftX": 0,
      "TopLeftY": 0,
      "ImageIndexAMCN": 0,
      "ImageIndexPMCN": 0,
      "ImageIndexAMEN": 0,
      "ImageIndexPMEN": 0
    }
Probably will not work with 7 days, please use 21 instead, also with 1x1 images

Code: Select all

    "WeekDay": {
      "X": 40,
      "Y": 70,
      "ImageIndex": 21,
      "ImagesCount": 7
first elemetn Text should be all nulls, its not used

Code: Select all

    "Battery": {
      "Text": {
Not sure but Icon -> ImagesCount should be 9

images 28 ,29 should be used or removed

image 51 should be drawn on background and remove it

All images should be from 0000 -> X with out missing numbers
Thank you! I have made the changes that you have suggest, ecept for the 21 days of week. It's seem that now it work better except for 2 things.
First, for some reason the background image that is 120x240 in the preview gif is upscaled and don't work properly and the animation images is upscaled too.
Second, the battery bar is smaller than the original image. There is a sort of maximun dimension?


UPDATE: ok, for some reason the image that i have used does't work, maybe i have done some mistake to the 8bit-rgb color, so i used some images from another theme ad adaped for mine, and all works now. The battery icon can be set to 10 i have tryed and now works fine.
There is only one problem left, the size of te .bin file is more large of 300Kb there is a way to "compress" all?

Re: Help For Making new Theme

Posted: 13 Jul 2019, 21:02
by lvpokka
You can save it in 32 bit to fix image, also use palette version to compress it, and you can exclude and save some images in raw(if palette colors is higher than 250)

Re: Help For Making new Theme

Posted: 14 Jul 2019, 09:24
by Kyldros
ok, thanks! it worked! All problem solved!

Help For Making new Theme

Posted: 29 Jul 2019, 17:45
by DavidTasty
Thanks Scotty435

Now what i need is to know what kind of filtration/ filtration system/s to use. I am hearing about the mineralization tanks and clarifying tanks, can someone please enlighten me, thanks in advance