-
- 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.
Amazfit watchfaces Tool
Moderators: Internal error, Watchmens
-
pallbearer
[mention]manelto[/mention] why not use the avialable github-fork of "amazfit_verge_lite_tools" from "ghbhaha" for the gtr, for your work. => ghbhaha/amazfit_gtr_tools
kr, pallbearer
ps: sorry i'm prohibited from posting links
kr, pallbearer
ps: sorry i'm prohibited from posting links
-
manelto
A mí me sale completo.koolgao wrote: 26 Aug 2019, 11:14Y que tengo que hacer para lo del gif este ultimo que has puesto aquí ya lo tengo hecho pero el gif we sigue saliendo medio relojmanelto wrote: 25 Aug 2019, 20:45Una cosa es el gif que se crea a modo de previsualización y otra el bin que instalas en el reloj.koolgao wrote: 25 Aug 2019, 17:54
una pregunta esto para que vale? hay algo para que se vea bien el gif que crea? ya q no me sale el reloj entero
El bin funciona correctamente sin necesidad de este cambio ni del que ha descrito w0mba más arriba.
Pero para que el gif y las otras imágenes que se generan a modo de previews estén completos necesitas el cambio descrito por w0mbat. Y para centrar las agujas de los relojes y otras imágenes en la esfera tienes que hacer el cambio que he modificado.
Tienes este código en el fichero previewGenerator.py de la carpeta ...\watchFaceParser? Originalmente, en lugar de los valores 454 había 464.
Code: Select all
def createFrame(watchFace, resources, state):
from PIL import Image, ImageDraw
graphics = Image.new('RGBA', (454, 454))
watchFace.draw3(graphics, resources, state)
return graphics-
manelto
I haven't a github user.pallbearer wrote: 26 Aug 2019, 12:42@manelto why not use the avialable github-fork of "amazfit_verge_lite_tools" from "ghbhaha" for the gtr, for your work. => ghbhaha/amazfit_gtr_tools
kr, pallbearer
ps: sorry i'm prohibited from posting links
-
pallbearer
[mention]manelto[/mention]
no i meant that there is already a tools version for the gtr watch from "ghbhaha" that is avialable on github as a fork from the tools "afwafwafw" posted.
-
The Matrix
On my Verge Lite StepsProgress doesn't work at all. The animated gif is displaying correctly the circle but in the watch isn't displayed.
-
manelto
I find nothing better than the afwafwafw program with the changes described here. It works and it is easy to use.pallbearer wrote: 26 Aug 2019, 13:36@manelto
no i meant that there is already a tools version for the gtr watch from "ghbhaha" that is avialable on github as a fork from the tools "afwafwafw" posted.
-
The Matrix
In my watchface, I'm trying to display date in format MMDD instead of DDMM.
To do that, I'm using this code:
instead of this code
But when I use the code that displays the month and day separated, the month and day are displayed at the same position and the digits are overlapped (see image).
Isn't possible to use the "Separate" modifier?
(Is there a way to obtain a list of the available modifiers?)
To do that, I'm using this code:
Code: Select all
"Date": {
"MonthAndDay": {
"Separate": {
"Day": {
"TopLeftX": 233,
"TopLeftY": 79,
"BottomRightX": 254,
"BottomRightY": 94,
"Alignment": "TopLeft",
"Spacing": 1,
"ImageIndex": 13,
"ImagesCount": 10
},
"Month": {
"TopLeftX": 264,
"TopLeftY": 79,
"BottomRightX": 285,
"BottomRightY": 94,
"Alignment": "TopLeft",
"Spacing": 1,
"ImageIndex": 13,
"ImagesCount": 10
}
},
"TwoDigitsMonth": true,
"TwoDigitsDay": true
},
Code: Select all
"Date": {
"MonthAndDay": {
"OneLine": {
"Number": {
"TopLeftX": 233,
"TopLeftY": 79,
"BottomRightX": 285,
"BottomRightY": 94,
"Alignment": "BottomLeft",
"Spacing": 1,
"ImageIndex": 13,
"ImagesCount": 10
},
"DelimiterImageIndex": 32
},
"TwoDigitsMonth": true,
"TwoDigitsDay": true
},
Isn't possible to use the "Separate" modifier?
(Is there a way to obtain a list of the available modifiers?)
- Attachments
-
- IMG_20190826_194723.jpg (61.03 KiB) Viewed 397715 times
-
Red Art Studio
- WF maker
- Posts: 2
- Joined: 11 Jul 2019, 01:44
- Contact:
-
manelto
A text editor for json (I use Notepad++) and a program for create/modify png (GIMP, photoshop, paintnet,...).
some watch face not show weekday. check .json and png also correct. Anyone know where the problem?
You have to repeat 3 times the images, and count 21 in the .jsonhall wrote: 27 Aug 2019, 10:02some watch face not show weekday. check .json and png also correct. Anyone know where the problem?
Like 7+7+7. It is something related to the multi language support.
-
afwafwafw
- Posts: 32
- Joined: 21 Feb 2019, 02:55
- Location: on earth
- Has thanked: 6 times
- Been thanked: 14 times
- Contact:
Hi guys, I think I've made GTR support on my tool.(thanks manelto)
Take a look and let me know if there's errors.
https://github.com/ghtalpo/py_amazfit_tools
Take a look and let me know if there's errors.
https://github.com/ghtalpo/py_amazfit_tools
[mention]garrote[/mention] You are the one
-
Red Art Studio
- WF maker
- Posts: 2
- Joined: 11 Jul 2019, 01:44
- Contact:
So just change 7 to 21 right? Weird tho why this happen
In the .json it should be like this:
Code: Select all
"WeekDay": {
"X": 200,
"Y": 288,
"ImageIndex": 33,
"ImagesCount": 21
}Sorry for the delay!
Hi afwafwafw, just tested your amazing tool!afwafwafw wrote: 27 Aug 2019, 16:04Hi guys, I think I've made GTR support on my tool.(thanks manelto)
Take a look and let me know if there's errors.
2 fix needed:
1. in Activity>>Distance there is 2 digits before separator (example: 00.02 kilometers instead og 0.02) this is no needed IMHO. Anyway this create problems with left alignment which seems too far to the left, as if one of the two "zeroes" did not respect the minimum distance to the left.
2. Left alignment not working correctly, It seems that the center alignment is used instead of the left. There is a lot of gap left if you understand what I mean.
If you make a fix I will be happy to test it! Thank you!
-
w0mbat
- WF maker
- Posts: 9
- Joined: 13 Jul 2019, 15:37
- Location: France
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
I confirm!devoice wrote: 28 Aug 2019, 07:541. in Activity>>Distance there is 2 digits before separator (example: 00.02 kilometers instead og 0.02) this is no needed IMHO. Anyway this create problems with left alignment which seems too far to the left, as if one of the two "zeroes" did not respect the minimum distance to the left.
Afwafwafw, thanks for the work.
You have 2 others modifications
viewtopic.php?f=29&t=782&start=60#p2461
viewtopic.php?f=29&t=782&start=60#p2446
-
afwafwafw
- Posts: 32
- Joined: 21 Feb 2019, 02:55
- Location: on earth
- Has thanked: 6 times
- Been thanked: 14 times
- Contact:
It's already in there...w0mbat wrote: 28 Aug 2019, 08:29I confirm!devoice wrote: 28 Aug 2019, 07:541. in Activity>>Distance there is 2 digits before separator (example: 00.02 kilometers instead og 0.02) this is no needed IMHO. Anyway this create problems with left alignment which seems too far to the left, as if one of the two "zeroes" did not respect the minimum distance to the left.
Afwafwafw, thanks for the work.
You have 2 others modifications
viewtopic.php?f=29&t=782&start=60#p2461
viewtopic.php?f=29&t=782&start=60#p2446
-
afwafwafw
- Posts: 32
- Joined: 21 Feb 2019, 02:55
- Location: on earth
- Has thanked: 6 times
- Been thanked: 14 times
- Contact:
Can you show me some pictures?devoice wrote: 28 Aug 2019, 07:54Hi afwafwafw, just tested your amazing tool!afwafwafw wrote: 27 Aug 2019, 16:04Hi guys, I think I've made GTR support on my tool.(thanks manelto)
Take a look and let me know if there's errors.
2 fix needed:
1. in Activity>>Distance there is 2 digits before separator (example: 00.02 kilometers instead og 0.02) this is no needed IMHO. Anyway this create problems with left alignment which seems too far to the left, as if one of the two "zeroes" did not respect the minimum distance to the left.
2. Left alignment not working correctly, It seems that the center alignment is used instead of the left. There is a lot of gap left if you understand what I mean.
If you make a fix I will be happy to test it! Thank you!
If you mentioned about preview images, it's my fault.
But for the resulting watchface in the real watch, that's not my fault. It's watch maker's responsibility. (If i'm not wrong).
Thank you for reply!afwafwafw wrote: 28 Aug 2019, 09:20Can you show me some pictures?devoice wrote: 28 Aug 2019, 07:54Hi afwafwafw, just tested your amazing tool!afwafwafw wrote: 27 Aug 2019, 16:04Hi guys, I think I've made GTR support on my tool.(thanks manelto)
Take a look and let me know if there's errors.
2 fix needed:
1. in Activity>>Distance there is 2 digits before separator (example: 00.02 kilometers instead og 0.02) this is no needed IMHO. Anyway this create problems with left alignment which seems too far to the left, as if one of the two "zeroes" did not respect the minimum distance to the left.
2. Left alignment not working correctly, It seems that the center alignment is used instead of the left. There is a lot of gap left if you understand what I mean.
If you make a fix I will be happy to test it! Thank you!
If you mentioned about preview images, it's my fault.
But for the resulting watchface in the real watch, that's not my fault. It's watch maker's responsibility. (If i'm not wrong).
As for the positioning error I found a workaround, I'm still trying to figure out if it was my fault, maybe yes. Anyway my first watch face for GTR is out with name "Retro Terminal" on download section.
For the 2 digits before the separator, I have no control over this, so I believe these are settings when packaging the .bin file in your script. I think it would be nicer to start from a situation with a digit before the separator: "0.00" not 2 "00.00" like now
-
w0mbat
- WF maker
- Posts: 9
- Joined: 13 Jul 2019, 15:37
- Location: France
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Ok my bad, when i checked after you first post it wasn'tafwafwafw wrote: 28 Aug 2019, 09:18It's already in there...w0mbat wrote: 28 Aug 2019, 08:29I confirm!devoice wrote: 28 Aug 2019, 07:541. in Activity>>Distance there is 2 digits before separator (example: 00.02 kilometers instead og 0.02) this is no needed IMHO. Anyway this create problems with left alignment which seems too far to the left, as if one of the two "zeroes" did not respect the minimum distance to the left.
Afwafwafw, thanks for the work.
You have 2 others modifications
viewtopic.php?f=29&t=782&start=60#p2461
viewtopic.php?f=29&t=782&start=60#p2446![]()
-
afwafwafw
- Posts: 32
- Joined: 21 Feb 2019, 02:55
- Location: on earth
- Has thanked: 6 times
- Been thanked: 14 times
- Contact:
I'll check it out for "Retro Terminal" watchface.devoice wrote: 28 Aug 2019, 09:30Thank you for reply!afwafwafw wrote: 28 Aug 2019, 09:20Can you show me some pictures?devoice wrote: 28 Aug 2019, 07:54
Hi afwafwafw, just tested your amazing tool!
2 fix needed:
1. in Activity>>Distance there is 2 digits before separator (example: 00.02 kilometers instead og 0.02) this is no needed IMHO. Anyway this create problems with left alignment which seems too far to the left, as if one of the two "zeroes" did not respect the minimum distance to the left.
2. Left alignment not working correctly, It seems that the center alignment is used instead of the left. There is a lot of gap left if you understand what I mean.
If you make a fix I will be happy to test it! Thank you!
If you mentioned about preview images, it's my fault.
But for the resulting watchface in the real watch, that's not my fault. It's watch maker's responsibility. (If i'm not wrong).
As for the positioning error I found a workaround, I'm still trying to figure out if it was my fault, maybe yes. Anyway my first watch face for GTR is out with name "Retro Terminal" on download section.
For the 2 digits before the separator, I have no control over this, so I believe these are settings when packaging the .bin file in your script. I think it would be nicer to start from a situation with a digit before the separator: "0.00" not 2 "00.00" like now
For the 2 digits issue, I don't think I have a control in there too. I'm trying to blame watch maker - huami and/or xiaomi, not watchface makers.
anyway, I'll take a look this also.
The strange thing is that in the PNG images and in the GIF generated after the packaging there are not 2 digits before the separator (like 0.01 or 1.24), while there are in the watch face...This made me think that the problem was in the settings of your scriptafwafwafw wrote: 28 Aug 2019, 10:04I'll check it out for "Retro Terminal" watchface.
For the 2 digits issue, I don't think I have a control in there too. I'm trying to blame watch maker - huami and/or xiaomi, not watchface makers.
anyway, I'll take a look this also.
You guys are doing some great work, I am looking into using this myself, hopefully some genuine watch faces pop up soon or maybe I'll create a Daytona!
Who is online
Users browsing this forum: No registered users and 1 guest