[WF] Fallout PIP boy - different colors

_mysiak_

Senior Member
Apr 1, 2009
2,243
1,273
183
Based on the amazing work of Mascone - https://amazfitwatchfaces.com/mi-band-4/view/799

Animation works nicely with the latest FW.

I've attached 4 colors, but if you want any other from the chart, just let me know the number. I prepared a script for a quick color change :)

Edit: for higher quality WFs (also bigger in size) see posts below

 

Attachments

Last edited:
  • Like
Reactions: pavoleo and Allhunt

_mysiak_

Senior Member
Apr 1, 2009
2,243
1,273
183
Technical information:

Needed tools:
- imagemagick library https://imagemagick.org/script/download.php (just install)
- watchface tool https://amazfitwatchfaces.com/forum/viewtopic.php?f=29&t=720 (unpack in your working directory with watch faces, choose palette exe for smaller WF.bin files)

Unpack desired watch face (in my case fallout pip boy), rename directory/json file as per the convenience.

I use this script (if there's no parameter passed from the command line, it uses HUE shift by 10). All PNG images in the watch face folder are shifted in color and overwritten. Watch face JSON is renamed for easy identification of the HUE color and repacked.

Edit: for high quality WF it's necessary to use RAW mode, but this generates a huge BIN file. As a workaround, use mixed mode - define RAW files only for small images where it's mostly visible. Create file "raw.cfg" located in the same folder as the json and define image numbers for RAW mode. For this particular watch face I've used "11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89"

My color_change.bat, modify as needed:
Code:
echo off
set /A x = 10
set /A x = %1
echo Copying files..
echo D|Xcopy /E /Y fallout_pipboy_green_animated fallout_pipboy_%x%_animated
echo Recoloring images..
mogrify -define png:format=png32 -modulate 100,100,%x% fallout_pipboy_%x%_animated/*.png
cd fallout_pipboy_%x%_animated
ren fallout_pipboy_en.json fallout_pipboy_en_%x%.json
cd ..
echo Packing watchface..
watchface fallout_pipboy_%x%_animated/fallout_pipboy_en_%x%.json
I couldn't find a way how to rename file located in the different directory, hence those unnecessary "CD" commands.. :)

Description of modulate command http://www.imagemagick.org/Usage/color_mods/#modulate_hue
 
Last edited:
  • Like
Reactions: Allhunt

_mysiak_

Senior Member
Apr 1, 2009
2,243
1,273
183
I've noticed that previously posted watch faces had degraded visual quality of small numbers. Attaching improved versions with bigger file size.

 

Attachments

_mysiak_

Senior Member
Apr 1, 2009
2,243
1,273
183
Hi, could you possibly make a white version please? 175+
I'm looking into a way how to convert images to white color. In the mean time here's the red version (167 is as red as I can get, 175 is a bit tinted).

 

Attachments

  • Like
Reactions: keenan316

jummmbo

New member
Dec 1, 2019
1
0
0
So i found a way to apply that to the band way faster without the need of installing anything. When you download the face, all you gotta do is extract the zip file. after you do that you'll get a .bin file. now you copy that .bin file and paste it in android/data/com.xiaomi.hm.health/watch_skin_local/(new folder with any name).
after that you go on mifit and youll find it there. but not with an image preview. just the size.
 

_mysiak_

Senior Member
Apr 1, 2009
2,243
1,273
183
So i found a way to apply that to the band way faster without the need of installing anything. When you download the face, all you gotta do is extract the zip file. after you do that you'll get a .bin file. now you copy that .bin file and paste it in android/data/com.xiaomi.hm.health/watch_skin_local/(new folder with any name).
after that you go on mifit and youll find it there. but not with an image preview. just the size.
I certainly wouldn't call that way faster or more simple/convenient, but thanks for sharing. Btw. this method is being used since beginning, but was broken for a few versions of Mi Fit. Using N&F is more reliable and simple, especially if you already have the app anyway (I ditched Mi Fit completely, I couldn't bare the fact that it uses more CPU than Android system itself).
 

_mysiak_

Senior Member
Apr 1, 2009
2,243
1,273
183
Hi, can You add polish? or at least some info how to do translations? Best regards
I'll have a look into it in a couple of days, new version will be uploaded here https://amazfitwatchfaces.com/mi-band-4/view/7167

If you want to modify a WF, you will need to decompile it, replace images as needed and recompile it again. Necessary tools can be found here https://amazfitwatchfaces.com/forum/viewforum.php?f=29

Watch faces do not use any strings which could be easily translated/replaced, but separate images for each number, weekdays etc.
 

_mysiak_

Senior Member
Apr 1, 2009
2,243
1,273
183
Hi, can You add polish? or at least some info how to do translations? Best regards
I couldn't find common 3 letter abbreviations for Polish week day names - what is commonly used in Poland?

Very nice. Can you add spanish when you can? LUN - MAR - MIE - JUE - VIE - SAB - DOM
Green Spanish version added, you can download it here https://amazfitwatchfaces.com/mi-band-4/view/7167 (fallout_pipboy_es-dd_mm-100_green-44084-5bdc533d68.bin)