Page 1 of 1

Convert request [GTR 4]

Posted: 12 Jun 2024, 21:31
by AWfan
Hello fellas, wondering if someone could port this nice T-Rex 2 watchface (I tried myself but sucks at scripting) to GTR 4.
Sasha's editor works pretty good but some elements results on overlapping (ie: altitude/HRS/sunset/sunrise/etc)
IMPORTANT: Permission given from the original creator https://amazfitwatchfaces.com/ucp/786346
Just give proper credit if published (following site rules, of course).
Thanks!

Cbf Sporty
Spoiler

Re: Convert request [GTR 4]

Posted: 13 Jun 2024, 04:15
by asoo
AWfan wrote: 12 Jun 2024, 21:31
Spoiler
Hello fellas, wondering if someone could port this nice T-Rex 2 watchface (I tried myself but sucks at scripting) to GTR 4.
Sasha's editor works pretty good but some elements results on overlapping (ie: altitude/HRS/sunset/sunrise/etc)
IMPORTANT: Permission given from the original creator https://amazfitwatchfaces.com/ucp/786346
Just give proper credit if published (following site rules, of course).
Thanks!

Cbf Sporty
Spoiler
Download
Pack by use Editor Version Beta
CBF_Sporty_v10_ALT_pol_full_aod_GTR_4.zip
(571.3 KiB) Downloaded 67 times
Pack by use Editor Version 10.4 :
CBF_Sporty_v10_ALT_pol_full_aod_GTR_4_104.zip
(558.73 KiB) Downloaded 94 times
ENG:
CBF_Sporty_v10_ALT_ENG_full_aod_GTR_4_104.zip
(558.73 KiB) Downloaded 122 times

Re: Convert request [GTR 4]

Posted: 13 Jun 2024, 12:56
by AWfan
asoo wrote: 13 Jun 2024, 04:15
Spoiler
AWfan wrote: 12 Jun 2024, 21:31
Hello fellas, wondering if someone could port this nice T-Rex 2 watchface (I tried myself but sucks at scripting) to GTR 4.
Sasha's editor works pretty good but some elements results on overlapping (ie: altitude/HRS/sunset/sunrise/etc)
IMPORTANT: Permission given from the original creator https://amazfitwatchfaces.com/ucp/786346
Just give proper credit if published (following site rules, of course).
Thanks!

Cbf Sporty
Spoiler
Download
Pack by use Editor Version Beta
CBF_Sporty_v10_ALT_pol_full_aod_GTR_4.zip

Pack by use Editor Version 10.4 :
CBF_Sporty_v10_ALT_pol_full_aod_GTR_4_104.zip
Thank you very much!
Cheers!

PS: Both versions working ok, props for both Sasha & You!

Re: Convert request [GTR 4]

Posted: 13 Jun 2024, 14:40
by mrbutthead
@asoo Can I please have an English version?
Spoiler
Image

Re: Convert request [GTR 4]

Posted: 14 Jun 2024, 01:43
by asoo
mrbutthead wrote: 13 Jun 2024, 14:40
@asoo Can I please have an English version?
Spoiler
Image
viewtopic.php?p=18387#p18387

Re: Convert request [GTR 4]

Posted: 14 Jun 2024, 09:13
by mrbutthead
@asoo thanks man

Re: Convert request [GTR 4]

Posted: 01 Aug 2024, 21:44
by mrbutthead
@asoo I like this author's work. Perhaps there are instructions on how you ported it for GTR4? It’s just inconvenient for me to constantly ask on the forum to port

Re: Convert request [GTR 4]

Posted: 02 Aug 2024, 01:30
by asoo
mrbutthead wrote: 01 Aug 2024, 21:44
@asoo I like this author's work. Perhaps there are instructions on how you ported it for GTR4? It’s just inconvenient for me to constantly ask on the forum to port
I'm not sure about your question.

If I understand correctly, you want to port this user's work because you like his work, right? If so, from what I've seen, his work generally uses custom scripts. If you want to port his work, you must be know about writing javascript.
Using an editor program to convert alone won't do.
Because the script he wrote is not in a format that the program editor can use immediately. You have to modify the variable values ​​to use it with a device with a different screen size than the original.
The editor may only be able to resize the image and built basic scripts that the program can understand for you. And you may need some image editing knowledge to resize the image to fit your device.

However, this user writes good javascript that is easy to understand.
If you want to port his work. I would recommend that you study about writing javascript and, most importantly, don't forget to ask for permission from the owner of the work before modifying his work.

Editing work that uses custom scripts
You have to look in the index.js file to see what additional scripts the creator has written to create options that are not in the base editor. Then you can port it correctly. And of course, those scripts are in javascript format. So if you want to port, you will inevitably need to have some knowledge of javascript.

Re: Convert request [GTR 4]

Posted: 02 Aug 2024, 08:04
by mrbutthead
@asoo Thanks for the detailed explanation. Unfortunately I don't know JavaScript. The author is not against his work being ported.

Re: Convert request [GTR 4]

Posted: 02 Aug 2024, 16:15
by taw_bip
mrbutthead wrote: 02 Aug 2024, 08:04
@asoo Thanks for the detailed explanation. Unfortunately I don't know JavaScript. The author is not against his work being ported.
There are a lot of AI tools that can help interpret and write Javascript like Gemini, Copilot and Claude.