Page 1 of 1

Watch face shows just black [T-rex ultra]

Posted: 23 Feb 2025, 23:08
by Azrizzy
Hi, this is my first time making a watch face
I made an edit to this watch face: https://amazfitwatchfaces.com/t-rex/view/14153
using this editor: viewtopic.php?t=2743
and when I uploaded it onto the app and tried to download it onto my watch, it just shows a completely black screen but provides the correct preview in the settings of the watch

Does anybody know how to fix this? All I did was edit one of the background images keeping the same name and everything, literally changed nothing apart from one image
And I've confirmed that the original watch face works

Help would be really appreciated!

Re: Watch face shows just black [T-rex ultra]

Posted: 24 Feb 2025, 02:27
by asoo
Azrizzy wrote: 23 Feb 2025, 23:08
Hi, this is my first time making a watch face
I made an edit to this watch face: https://amazfitwatchfaces.com/t-rex/view/14153
using this editor: viewtopic.php?t=2743
and when I uploaded it onto the app and tried to download it onto my watch, it just shows a completely black screen but provides the correct preview in the settings of the watch

Does anybody know how to fix this? All I did was edit one of the background images keeping the same name and everything, literally changed nothing apart from one image
And I've confirmed that the original watch face works

Help would be really appreciated!
I suggest you send the file you edited and have the problem so that the person who wants to help you can check it. You should get the right answer.

I can only guess your problem as follows (because there is no file to check)
I am not sure if you edited the image and packed it with sasha's editor or you put it directly into the zip without going through the editor to pack it.

If you did not pack it with the editor and you want to put the edited image directly into the zip, the image must be converted to png in zeppOS format first.
viewtopic.php?p=19042#p19042
This is the only problem that I can guess about the problem that you have.

Re: Watch face shows just black [T-rex ultra]

Posted: 26 Feb 2025, 22:13
by Azrizzy
Ty for the response
I used Sasha's editor to unpack and repack it after editing it and it all seemed to work fine there
I did the convert image to ZeppOS format and tried putting that in there instead but it didn't seem to work

Heres the file after packing:
https://www.dropbox.com/scl/fi/l7yge36n ... e2bpq&dl=0

And here's the folder before packing:
https://www.dropbox.com/scl/fo/zn4kj153 ... gldgg&dl=0

Re: Watch face shows just black [T-rex ultra]

Posted: 27 Feb 2025, 02:07
by asoo
Azrizzy wrote: 26 Feb 2025, 22:13
Spoiler
Ty for the response
I used Sasha's editor to unpack and repack it after editing it and it all seemed to work fine there
I did the convert image to ZeppOS format and tried putting that in there instead but it didn't seem to work

Heres the file after packing:
https://www.dropbox.com/scl/fi/l7yge36n ... e2bpq&dl=0

And here's the folder before packing:
https://www.dropbox.com/scl/fo/zn4kj153 ... gldgg&dl=0
There are two problems that I found from the file you attached:
Spoiler
Image
1. In the background section, the image file bg1.png is specified, but there is no image file in the assets folder.
This section may cause the screen not to display or to display black. Other elements can still work, which I think is not the problem that causes the screen as you mentioned.

Spoiler
Image
2. I found a custom script added in button 1, which from what I saw was a script related to bt on off and the click_color function. In this section, I found that it overlapped with the program's bluetooth alert element. I also found that there was no click_color script in this watch face. This problem will cause the watch face to not work properly or stop working, which will cause the problem you mentioned.

How to solve the problem
1. Select the correct image file for Blackground

2. Delete "button 1" because from what I see, those functions are unlikely to work properly. However, in this section, I will not check the script in button 1.

PS.
The problem is probably caused by unpacking the original file. I have checked it, and found owner uses "user script" and "user function" to create the watchface.
The owner added these scripts to index.js but they are not in the standard syntax on editor. Therefore, when unpacking, the "user script" and "user function" are lost after unpacking, Or it may cause the script after unpacking to be confused or not in the correct format.
Which may cause problems with the unpacked file.

This is the file that I have adjusted the syntax to meet the editor's standards and added the BG. sunset image from your dial. However, I have not edited or checked the script. it will be same original. If there is a problem with the script, please do it yourself.
Download
Image
Infinity_T_rex_ultra.zip
(1.23 MiB) Downloaded 60 times

Re: Watch face shows just black [T-rex ultra]

Posted: 27 Feb 2025, 18:13
by Azrizzy
Thank you so much, it fixed the problem!