It is currently December 7th, 2021, 11:27 am

Khaybar by Jelle Dekkers

A package of skins with a "theme" or by a single author
User avatar
JelleDekkers
Posts: 110
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

Khaybar by Jelle Dekkers

Post by JelleDekkers »

Last edited by JelleDekkers on August 3rd, 2021, 10:35 am, edited 4 times in total.
User avatar
death.crafter
Rainmeter Sage
Posts: 1206
Joined: April 24th, 2021, 8:13 pm

Re: Khaybar by Jelle Dekkers

Post by death.crafter »

JelleDekkers wrote: July 26th, 2021, 2:08 pm
LMAO
Screenshot 2021-07-26 232451.png
You do not have the required permissions to view the files attached to this post.
from the Realm of Death
User avatar
death.crafter
Rainmeter Sage
Posts: 1206
Joined: April 24th, 2021, 8:13 pm

Re: Khaybar by Jelle Dekkers

Post by death.crafter »

Khaybar\Items\Music.inc

Code: Select all

[MusicContainer]
.
..
...
..
.

OnUpdateAction=[!SetWindowPosition "(Clamp(#CurrentConfigX#+[MusicContainer:X]+([MusicContainer:W]-#Scale#*#ModuleWidth#)/2, #Padding#, #ScreenAreaWidth#-#Padding#-#Scale#*#ModuleWidth#))" "(#CurrentConfigY#<#ScreenAreaHeight#/2 ? #CurrentConfigY#+#CurrentConfigHeight#+#Scale#*8 : #CurrentConfigY#-#Scale#*8)" "0%" "(#CurrentConfigY#<#ScreenAreaHeight#/2 ? 0 : 100)%" "Khaybar\Modules\Music"] [!WriteKeyValue Variables ArrowTopOrBottom "(#CurrentConfigY#<#ScreenAreaHeight#/2 ? 0 : 1)" "#RootConfigPath#Modules\Music\Music.ini"] [!SetVariable ArrowTopOrBottom "(#CurrentConfigY#<#ScreenAreaHeight#/2 ? 0 : 1)" "Khaybar\Modules\Music"] [!WriteKeyValue Variables ArrowX "((#CurrentConfigX#+[MusicContainer:X]+[MusicContainer:W]/2)-Clamp(#CurrentConfigX#+[MusicContainer:X]+([MusicContainer:W]-#Scale#*#ModuleWidth#)/2, #Padding#, #ScreenAreaWidth#-#Padding#-#Scale#*#ModuleWidth#))" "#RootConfigPath#Modules\Music\Music.ini"] [!SetVariable ArrowX "((#CurrentConfigX#+[MusicContainer:X]+[MusicContainer:W]/2)-Clamp(#CurrentConfigX#+[MusicContainer:X]+([MusicContainer:W]-#Scale#*#ModuleWidth#)/2, #Padding#, #ScreenAreaWidth#-#Padding#-#Scale#*#ModuleWidth#))" "Khaybar\Modules\Music"] [!UpdateMeter * "Khaybar\Modules\Music"] [!UpdateMeter * "Khaybar\Modules\Music"] [!Redraw "Khaybar\Modules\Music"]
]
OnUpdate it barfs errors. Reason obvious.
Same for other modules.
from the Realm of Death
User avatar
JelleDekkers
Posts: 110
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

Re: Khaybar by Jelle Dekkers

Post by JelleDekkers »

death.crafter wrote: July 26th, 2021, 6:36 pm Khaybar\Items\Music.inc

Code: Select all

[MusicContainer]
.
..
...
..
.

OnUpdateAction=[!SetWindowPosition "(Clamp(#CurrentConfigX#+[MusicContainer:X]+([MusicContainer:W]-#Scale#*#ModuleWidth#)/2, #Padding#, #ScreenAreaWidth#-#Padding#-#Scale#*#ModuleWidth#))" "(#CurrentConfigY#<#ScreenAreaHeight#/2 ? #CurrentConfigY#+#CurrentConfigHeight#+#Scale#*8 : #CurrentConfigY#-#Scale#*8)" "0%" "(#CurrentConfigY#<#ScreenAreaHeight#/2 ? 0 : 100)%" "Khaybar\Modules\Music"] [!WriteKeyValue Variables ArrowTopOrBottom "(#CurrentConfigY#<#ScreenAreaHeight#/2 ? 0 : 1)" "#RootConfigPath#Modules\Music\Music.ini"] [!SetVariable ArrowTopOrBottom "(#CurrentConfigY#<#ScreenAreaHeight#/2 ? 0 : 1)" "Khaybar\Modules\Music"] [!WriteKeyValue Variables ArrowX "((#CurrentConfigX#+[MusicContainer:X]+[MusicContainer:W]/2)-Clamp(#CurrentConfigX#+[MusicContainer:X]+([MusicContainer:W]-#Scale#*#ModuleWidth#)/2, #Padding#, #ScreenAreaWidth#-#Padding#-#Scale#*#ModuleWidth#))" "#RootConfigPath#Modules\Music\Music.ini"] [!SetVariable ArrowX "((#CurrentConfigX#+[MusicContainer:X]+[MusicContainer:W]/2)-Clamp(#CurrentConfigX#+[MusicContainer:X]+([MusicContainer:W]-#Scale#*#ModuleWidth#)/2, #Padding#, #ScreenAreaWidth#-#Padding#-#Scale#*#ModuleWidth#))" "Khaybar\Modules\Music"] [!UpdateMeter * "Khaybar\Modules\Music"] [!UpdateMeter * "Khaybar\Modules\Music"] [!Redraw "Khaybar\Modules\Music"]
]
OnUpdate it barfs errors. Reason obvious.
Same for other modules.
This is expected behaviour. I'll try to find a way around it.
User avatar
death.crafter
Rainmeter Sage
Posts: 1206
Joined: April 24th, 2021, 8:13 pm

Re: Khaybar by Jelle Dekkers

Post by death.crafter »

JelleDekkers wrote: July 26th, 2021, 9:15 pm This is expected behaviour. I'll try to find a way around it.
I think rather than activate deactivate, hidefade showfade will be a better choice.
from the Realm of Death
User avatar
JelleDekkers
Posts: 110
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

Re: Khaybar by Jelle Dekkers

Post by JelleDekkers »

death.crafter wrote: July 26th, 2021, 9:23 pm I think rather than activate deactivate, hidefade showfade will be a better choice.
I don't want any unnecessary CPU usage :)
User avatar
death.crafter
Rainmeter Sage
Posts: 1206
Joined: April 24th, 2021, 8:13 pm

Re: Khaybar by Jelle Dekkers

Post by death.crafter »

JelleDekkers wrote: July 26th, 2021, 9:26 pm I don't want any unnecessary CPU usage :)
Your skins are almost static so I don't see why CPU usage would be high. But anyway, you know best.
from the Realm of Death
User avatar
death.crafter
Rainmeter Sage
Posts: 1206
Joined: April 24th, 2021, 8:13 pm

Re: Khaybar by Jelle Dekkers

Post by death.crafter »

[snip][/snip]
Last edited by death.crafter on July 27th, 2021, 8:44 am, edited 2 times in total.
from the Realm of Death
User avatar
JelleDekkers
Posts: 110
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

Re: Khaybar by Jelle Dekkers

Post by JelleDekkers »

death.crafter wrote: July 27th, 2021, 6:47 am This is more or less what I imagined
with some extra modifications.
Click to animate:
ezgif-1-7b66419edf69.gif

NOT FOR USERS:
I WILL SNIP IT AFTER 24 HRS
NotForUserDownload_xx.rmskin
Khaybar has been updated to remove the errors. The modules are still unloaded when closed :)
User avatar
death.crafter
Rainmeter Sage
Posts: 1206
Joined: April 24th, 2021, 8:13 pm

Re: Khaybar by Jelle Dekkers

Post by death.crafter »

JelleDekkers wrote: July 27th, 2021, 8:39 am Khaybar has been updated to remove the errors. The modules are still unloaded when closed :)
I see. I usually don't bother with skins but I liked this one a lot so I mod it and I am gonna use it for a while now.

Thanks for the work :P.

P.S. : I snipped the previous post with a skin. Hope you didn't mind me tinkering with your work.
from the Realm of Death