- 🌱 I’m currently learning WPF
johnson070 / miband-5-watchface-editor Goto Github PK
View Code? Open in Web Editor NEWA program to help create watch faces for mi band 5 & 6!
License: GNU General Public License v2.0
A program to help create watch faces for mi band 5 & 6!
License: GNU General Public License v2.0
I wanna design a watchface with a progress bar and activity digits at the same line.
But the progress bar is always being the upper layer of the digits.
Is there any way to get the progress bar behind?
No need for screenshots. Just Install Avast and try download ZIP archive. Win32:Malware-gen. It stops 80% people from downloading.
I don't think the animation speed is working well, I set it to 100+ speed it makes the animation slow down, while setting it to -100 just makes the animation run normally, not slow or fast.
Gif is being created for mi band 6 watch faces but not for mi band 5 watch faces. How to create gif for mi band 5 watch faces ?
When I try to add the numeric images on Today Temperature, the app crashes.
This only happens on the separate option. The single line seems to be working.
Attached are the screenshots and below the complete error message I got.
#################################################################
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at .(Weather )
at .()
at nL$\0(nOG,vU9N'h4%UtK(Al$.()
at nL$\0(nOG,vU9N'h4%UtK(Al$.(Object , EventArgs )
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.ComboBox.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at System.Windows.Forms.ComboBox.set_Text(String value)
at nL$\0(nOG,vU9N'h4%UtK(Al$.(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
#################################################################
hi, i had downloaded & tried it, that's good. Here I really want to know how the tool makes json & images become a .bin file. Would u like to opensource the tool.exe or teach me how it works? thx u very much!
Feature:
Select multiple images at once, so we could delete, activate or deactivate all at once.
Trojan:Win32/Zpevdo.B!ctv
Detected by Microsoft Defender Antivirus
Additional context
Even as I wanted to see the source code, it still links to the exe, content unknown, so I cant try to inspect and rebuild the code my self. I tried to look for a way to make own face for my Mi Band 6, this was one of few links, shame the trojan waring, now im very concerned, reading the MS site it may only be cause be some hidden encrypted content in the exe, maybe trying to change the compile settings may be helpfull? is there a source for it?
Actual Date format is limited to yyyy mm dd could you add option to chose format:
ymd , ydm , dmy ... with d=day m=month y=year
In my case i wouldlike order dd mm yyyy
tested using separate day month but year is missing.
Bin file cannot be created despite the correct size and correct settings
Please fix
changing the value of speed on animation doesn't work, speed is the same.
i found that because I was wondering if i could to have a lot of images that change trought time, but i dont see a form to do it so i tried to slow to the maximum an animation to change from an image to the next one in minutes or hours, if anyone knows a way please tell me how, thanks.
Describe the bug
When showing distance without comma the program selects zero digit from a different font, not the one selected for distance. Other digits are fine, only zero is problematic.
No bug when using comma, issue only visible when using integer distance.
(Only tested with Mi band 6.)
I do all the work to create a watchface but when i try to save as bin only create all the png, gif and json files
I already move the program and the folder with the watch face to other computer and have the same problem
When I try to re-edit 'Date' element by double clicking it in the list of used elements in the main window I get following unhandled exception:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at MiBand5WatchFaces.VisualRender.EjucZrCKGP(Date )
at MiBand5WatchFaces.VisualRender.GenWatchface()
at MiBand5WatchFaces.Forms.DateForm.Render(StateWatchface state)
at MiBand5WatchFaces.Forms.DateForm..ctor(WatchFaceLibrary watch, DefaultDictionary`2 Images, StateWatchface state)
at MiBand5WatchFaces.MainForm.eP09VOjSYy(Object , EventArgs )
at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Talk is cheap — if you say there're no viruses then show the source code. Why hiding it? It's a sidekick project, nothing official and i'm usre pure reverse-engineering.
Moreover, opening sources gives others opportunity to contribute.
Uploading only binaries to github is kinda dirty trick.
You've made a great job creating this software, but be kind and also upload source.
after importing the mi band 5 through notify for mi band it doesnt show these items, everything else works fine
https://media.discordapp.net/attachments/700022227353075949/866214394017742908/unknown.png
how it should look
https://media.discordapp.net/attachments/700022227353075949/866215196578152468/PXL_20210718_0109215712.jpg
how it does look
Hello! Please add the ability to configure the date separately (day, month, year) I also ask you to add the ability to configure the day, month, year in one line (example 14.07.2021)- at the moment 2021.07.14. Correct the separator (place it below in one line with the date)
Original Rus
Здравствуйте! Прошу добавить возможность настройки даты разделенно (день, месяц, год) Также прошу добавить возможность настройки день, месяц, год в одну строку (пример 14.07.2021)- в данный момент 2021.07.14. Поправить разделитель (разместить ниже в одну строку с датой)
Describe the bug
A clear and concise description of what the bug is.
Attach .bin file or zip
Attach watchface
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
I edited one dial for MB6, edited images, exported to a BIN file. When you try to install the dial in the bracelet, you get a "bad sync" error.
I tried to open the original, downloaded BIN file and then recompile it into the BIN, without any changes to the dial, but again the same error.
I do not get it. Can anyone check why this is happening?
My watch face can be downloaded here:
https://www.uschovna.cz/en/zasilka/RJVRVDKPEDXPPLF2-XFA/?set_lang=en
Mi Band 6 has been released, I can’t wait to make a watch face
Description of the bug
Hello, I found bug with pasting date or month. I can't paste them by "Unhandled exception has occurred in application". Watchface built from scratch, program is up-to-date.
Zip file
Digital Dial.zip
Additional context
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at bgxp]s^Mpx1SGtpFD/8D5~.s$.(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
.
I can edit and save the date in your GUI application, but when I export the bin to my mobile phone and upload it into my MiBand 6, the date and weekdays are INVISIABLE, while others are shown normally. I have already tried to change languages but did not work either. Plz help me with this problem, thx
Describe the bug
All images in editor are looking bigger, but on watches is ok, so its difficult to edit face. Coords are correct. All images are png 96 dpi
some time when i open a bin
it will get stuck
and the log end with :
Debug|Extracting C:\Users\AW\Desktop\新建文件夹\AWSL UI 配套表盘\0054.png...
Debug|Extracting C:\Users\AW\Desktop\新建文件夹\AWSL UI 配套表盘\0055.png...
Debug|Extracting C:\Users\AW\Desktop\新建文件夹\AWSL UI 配套表盘\0056.png...
Debug|Exporting config...
i think it done but the ”succeed“ do not appear
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Describe the bug
In the editor the heartrate, kcal, pai, etc appear fine, but when synced the numbers are gone, the preview files also appear glitched
How it looks on the watch
How it looks in the editor and how its supposed to look
How the preview file looks
Attach .bin file or zip
Attach watchface
new_packed-529547-d2be7f10fe.zip
I made a watchface that doesnt sync trough the mi fit app and the amazfitwatchfaces app
new_packed.zip
Describe the bug
Wen I add the image they are ereased
<<<<<<< HEAD
Attach bin or zip file
zip
Attach .bin file or zip
zip
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
When I run the application in fullscreen, the rerender button is shown in front of the watchface. It just happens in v 1.0.0.7
Describe the bug
On preview all is good but after download it on mi band 6. Days and name of the day not working
Attach .bin file or zip
WATCHFACE
Screenshots
PICTURE
Additional context
I check .log and at end is
Trace|5.1 'MonthAndDayAndYear'
Trace|5.1.2 'OneLine'
Trace|5.1.2.2 'DelimiterImageIndex': 20
Fatal|System.ArgumentException: Parameter 4 isn't supported for OneLineMonthAndDay
w WatchFace.Parser.Utils.ParametersConverter.Parse[T](List`1 descriptor, String path)
w b7cTu3KRjTjeh8eWdW.IcBS7O1TSZm4p3TgYK.WSZdm4p3T(Reader )
Describe the bug
I have created a watchface from my Mi Fit app and I wanted to edit it. I opened the .bin file and I ended up with a folder and inside it a text file describing the issue. Is it possible to open the watchfaces made in Mi Fit from a wallpaper?
Attach .bin file or zip
Attach [watchface]
bf23c53cf016984412adc2cd23a9458e.zip
Additional context
The Error "code":
Trace|Reading image header... Trace|Image header was read: Trace|Width: 6, Height: 2, RowLength: 18 Trace|BPP: 24, PaletteColors: 0, Transaparency: False Trace|The image doesn't use a palette. Debug|Parsing parameters... Trace|2 'Background' Trace|2.1 'Image' Trace|2.1.1 'X': 0 Trace|2.1.2 'Y': 0 Trace|2.1.3 'ImageIndex': 59 Fatal|System.ArgumentException: Parameter 6 isn't supported for Background at WatchFace.Parser.Utils.ParametersConverter.Parse[T](List
1 descriptor, String path)
at MiCwU0e2dHM3cnc3H8.rC9cSqxd5BNoymSUH5.D5BJNoymS(Reader )`
I also saw some errors about the color palette.
After the update I'm unable to save as bin. I choose to save, but there is no bin file created.
If I use "save as" option, a .json is created instead. If I use the new option "save bin", only the .json is created, and I think it's because the .bin is being saved as .json and overwriting the original .json.
Same for me, every times i modify weather elements : watchface doesn't work anymore
I want to edit this watchface
https://amazfitwatchfaces.com/search/mi-band-6/authorID/19284
for my MiBand 6.
I can load it in the editor, display and edit fine.
I want to add an element "Weather/UV Index" near the wind Icon.
I go to Weather/UV Index/ Add Number and add pictures 0075.png (0) - 0084.png (9).
Simulation "Set watchface state" works as expected.
When I upload to MiBand using NotifyForMi everything works but the Today min/max temperature and the UV index is not displayed anymore.
I tried a lot of different things. It seems always when adding other Weather data the min/max temp dissapiears.
Hi, Thank you for this amazing tool.
I tried to create a wind speed info for my watchface, but I get an error when I try to create the watchface bin.
I generate the wind field using MiBand5WatchFaces from scratch, but I get this error on the log:
Debug|Reading config...
Fatal|********************************************************************************
Fatal|[ERROR]Error converting value "RightTop" to type 'WatchFace.Parser.Models.TextAlignment'. Path 'Weather.Wind.Text.Alignment', line 1, position 2772.
So I believe there's a bug in the coding for creating the wind field.
in the editor the status icons for bluetooth and lock seem to be inverted meaning that when using the set watchface state i set bluetooth to on the off icon is displayed and the same happens for lock.
when uploading bin to mi band 6 the bluetooth icon seems to be working ok but the lock icon is inverted
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.