It is currently March 29th, 2024, 10:25 am

Weather Skins Not Working

Get help with creating, editing & fixing problems with skins
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather Skins Not Working

Post by balala »

Nekayah wrote: September 18th, 2020, 1:35 am I'm really grateful that you're doing all this work on it!
No, I didn't do anything. Just replied your question, but all the work related to weather skins has been done by others: jsmorley, xenium and so on (I definitely didn't list them all, sorry for those who have not been included into the above list).
Cyberaktif
Posts: 5
Joined: September 21st, 2020, 10:44 pm

Re: Weather Skins Not Working

Post by Cyberaktif »

Hi!
I'm trying to fix this issue with the theme Kinetik v2 by Jalyxr (Agalyk), but since I'm a newbie at this.....
It's seems a bit difficult/much to handle! So if anyboby here can help me it would be much appreciated!
Thanks in advanced!
Brgds
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather Skins Not Working

Post by eclectic-tech »

Cyberaktif wrote: September 21st, 2020, 11:20 pm Hi!
I'm trying to fix this issue with the theme Kinetik v2 by Jalyxr (Agalyk), but since I'm a newbie at this.....
It's seems a bit difficult/much to handle! So if anyboby here can help me it would be much appreciated!
Thanks in advanced!
Brgds
Can you provide a download link to 'Kinetik v2'?
User avatar
Yincognito
Rainmeter Sage
Posts: 7029
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather Skins Not Working

Post by Yincognito »

eclectic-tech wrote: September 22nd, 2020, 12:11 am Can you provide a download link to 'Kinetik v2'?
Here it is. The issue of integrating this with jsmorley's INC files is not that difficult, because there are only a couple of weather related measures and meters, at the very beginning of P 2\P 2.ini. I wasn't quite sure what info should be grabbed though, so I let this task to you. ;-)
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
Yincognito
Rainmeter Sage
Posts: 7029
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather Skins Not Working

Post by Yincognito »

Cyberaktif wrote: September 21st, 2020, 11:20 pm Hi!
I'm trying to fix this issue with the theme Kinetik v2 by Jalyxr (Agalyk), but since I'm a newbie at this.....
It's seems a bit difficult/much to handle! So if anyboby here can help me it would be much appreciated!
Thanks in advanced!
Brgds
Until someone comes up with something better, here's what you can do:

- unpack the files below into your C:\Users\[YourUserName]\Documents\Rainmeter\Skins\Kinetik v2\@Resources folder:
Weather Files.zip
- replace the current code from C:\Users\[YourUserName]\Documents\Rainmeter\Skins\Kinetik v2\P 2\P 2.ini with the code below and save the file:

Code: Select all

[Rainmeter]
Update=1000
ContextTitle="Language"
ContextAction=[!ActivateConfig "Kinetik v2\Language" "Language.ini"]

[Metadata]
Author=Jelyxr (Agelyk)
Name=Disco 1
Version=2.0
License=Creative Commons Attribution-Non-commercial-Share Alike 3.0
Information=Weather, CPU, GPU, RAM, SWAP, NET TRAFFIC (2 states)
;-------------------------------
[Variables]
@include=#SKINSPATH#Kinetik v2\variables.inc
@include2=#@#Languages\#Language#.inc
@include3=#@#WeatherComJSONVariables.inc
@Include4=#@#WeatherComJSONMeasures.inc

*********BASE*********

[Fondo 1]
Meter=image
ImageName=P2

*********MEASURES*********

[temperaturaactual0PB]
Measure=Calc
Formula=[@CurrentTemperature]
MaxValue=40
MinValue=0
DynamicVariables=1

---------------------------------------

[mCPU]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=0

[mGPU]
Measure=Plugin
Plugin=UsageMonitor
Alias=GPU
Index=0

[mCPUTemp]
Measure=Plugin
Plugin=Plugins\CoreTemp.dll
CoreTempType=Temperature
MaxValue=100
MinValue=0

[mGPUTemp]
Measure=Plugin
Plugin=MSIAfterburner.dll
DataSource=GPU temperature
MaxValue=100
MinValue=0

[mPower]
Measure=Plugin
PlugIn=PlugIns\PowerPlugin.dll
PowerState=PERCENT
UpdateDivider=10

[mCPUPercent]
Measure=CPU
UpdateDivider=300

[mPorcentajeDelCPU]
Measure=CPU
Plugin=UsageMonitor
Alias=CPU
Index=0

[mCPUMHz]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=MHZ
Substitute="k":""

[mCPUproceso1]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=2
Blacklist=_Total|Idle|dwm|wmpnetwk|csrss|svchost|lsass|System|system|Memory Compression|wininit|RemindersServer|spoolsv|IpOverUsbSvc

[mGPUproceso1]
Measure=Plugin
Plugin=UsageMonitor
Alias=GPU
Index=1
Blacklist=dwm|csrss

----------------------

[MeasureRAM]
Measure=PhysicalMemory

[MeasureTotalRAM]
Measure=PhysicalMemory
Drive=#RAM#
Total=1
UpdateDivider=1

[MeasurePhysMemTotal]
Measure=PhysicalMemory
Total=1
UpdateDivider=2

[MeasurePhysMemUsed]
Measure=PhysicalMemory
UpdateDivider=2

[MeasurePhysMemFree]
Measure=PhysicalMemory
InvertMeasure=1
UpdateDivider=2

[MeasureSwapTotal]
Measure=SwapMemory
Total=1
UpdateDivider=2
OnChangeAction=[!UpdateMeter SwapTotal][!Redraw]

[MeasureSwapUsed]
Measure=SwapMemory
UpdateDivider=2
OnChangeAction=[!UpdateMeter SwapUsed][!UpdateMeter SwapUsedPourcent][!Redraw]

[MeasureSwapFree]
Measure=SwapMemory
InvertMeasure=1
UpdateDivider=2
OnChangeAction=[!UpdateMeter SwapFreeMega][!UpdateMeter SwapFreePourcent][!Redraw]

----------------------------
[mDescarga]
Measure=NetIn
Interface=0

[mSubida]
Measure=NetOut
Interface=0

[mRecibido]
Measure=NetIn
Cumulative=1

[mEnviado]
Measure=NetOut
Cumulative=1

[MeasureWAN]
Measure=Plugin
Plugin=WebParser
Url=http://checkip.dyndns.org
RegExp="(?siU)Address: (.*)</body>"
StringIndex=1
UpdateRate=30000
Substitute="":"   N C      "

[MeasureLAN]
Measure=Plugin
Plugin=SysInfo
SysInfoType=IP_ADDRESS
SysInfoData=0
UpdateDivider=30


*///**********TEXTOS************///*

**********Temperatura************* 

[Temperatura_Actual]
MeasureName=@CurrentTemperature
Meter=STRING
X=119
Y=74
W=72
H=17
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="%1 °"
Group=Clima1
Hidden=0

[Condicion_Actual]
MeasureName=@CurrentConditions
Meter=STRING
X=r
Y=R
W=77
H=36
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
ClipString=1
Group=Clima1
Hidden=0

[Icono]
MeasureName=@CurrentIcon
Meter=Image
Path=Iconos
X=100
Y=125
W=40
Antialias=1
Group=Clima1
Hidden=0

/////////////////////

[Nombre_Dia1]
MeasureName=@ForecastDay2DayLong
Meter=STRING
X=119
Y=80
W=72
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Group=Clima2
Hidden=1

[TMaxMin_Dia1]
MeasureName=@ForecastDay2HighTemperature
MeasureName2=@ForecastDay2LowTemperature
Meter=STRING
X=r
Y=R
W=80
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="%1 °/ %2 °"
Group=Clima2
Hidden=1

[Condicion_Dia1]
MeasureName=@ForecastDay2DayConditions
Meter=STRING
X=r
Y=R
W=84
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
ClipString=1
Group=Clima2
Hidden=1

[Icono_Dia1]
MeasureName=@ForecastDay2DayIcon
Meter=Image
Path=Iconos
X=100
Y=125
W=40
Antialias=1
Group=Clima2
Hidden=1
----------------------------------------

[CPU_texto]
Meter=STRING
X=119
Y=254
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="CPU"
Group=CPU1
Hidden=0

[TempCPU_Texto]
Meter=STRING
MeasureName=mCPUTemp
X=r
Y=22r
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10 
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="Temp %1 °C"
Group=CPU1
Hidden=0

[ProcesoCPUn1]
Meter=STRING
MeasureName=mCPUproceso1
X=r
Y=-1R
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10 
Antialias=1
StringStyle=NORMAL
StringAlign=Center
ClipString=1
Group=CPU1
Hidden=0

[Porcentaje_CPU]
Meter=STRING
X=r
Y=7R
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10 
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text=[mCPU:0] %
DynamicVariables=1
Group=CPU1
Hidden=0

///////////////////////

[GPU_texto]
Meter=STRING
X=119
Y=254
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="GPU"
Group=GPU1
Hidden=1

[TempGPU_Texto]
Meter=STRING
MeasureName=mGPUTemp
X=r
Y=22r
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10 
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="Temp %1 °C"
Group=GPU1
Hidden=1

[ProcesoGPUn1]
Meter=STRING
MeasureName=mGPUproceso1
X=r
Y=-1R
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10 
Antialias=1
StringStyle=NORMAL
StringAlign=Center
ClipString=1
Group=GPU1
Hidden=1

[Porcentaje_GPU]
Meter=STRING
X=r
Y=7R
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10 
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text=[mGPU:0] %
DynamicVariables=1
Group=GPU1
Hidden=1

----------------------------------------

[RAM_texto]
Meter=STRING
X=r
Y=430
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="RAM"
Group=RAM1
Hidden=0

[RAM_Total]
Meter=STRING
MeasureName=MeasurePhysMemTotal
X=r
Y=22r
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="T: %1B"
AutoScale=1
Group=RAM1
Hidden=0

[RAM_Usado]
Meter=STRING
MeasureName=MeasurePhysMemUsed
X=r
Y=4R
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="U: %1B"
AutoScale=1
Group=RAM1
Hidden=0

[Porcentaje_RAM]
Meter=STRING
MeasureName=MeasurePhysMemUsed
X=r
Y=7R
W=50
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="%1 %"
Percentual=1
AutoScale=1
Group=RAM1
Hidden=0

///////////////////////////


[SWAP_texto]
Meter=STRING
X=r
Y=430
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="SWAP"
Group=SWAP1
Hidden=1

[SWAP_Total]
Meter=STRING
MeasureName=MeasureSwapTotal
X=r
Y=22r
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="T: %1B"
AutoScale=1
Group=SWAP1
Hidden=1

[SWAP_Usado]
Meter=STRING
MeasureName=MeasureSwapUsed
X=r
Y=4R
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="U: %1B"
AutoScale=1
Group=SWAP1
Hidden=1

[Porcentaje_SWAP]
Meter=STRING
MeasureName=MeasureSwapUsed
X=r
Y=7R
W=50
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="%1 %"
Percentual=1
AutoScale=1
Group=SWAP1
Hidden=1

----------------------------------------

[Descarga_Texto]
Meter=STRING
X=r
Y=606
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="#B# ↓"
Group=RED1
Hidden=0

[Porcentaje_Descarga]
Meter=STRING
MeasureName=mDescarga
X=r
Y=22r
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="%1 B"
AutoScale=1k
Group=RED1
Hidden=0

[Subida_Texto]
Meter=STRING
X=r
Y=4R
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="#S# ↑"
Group=RED1
Hidden=0

[Porcentaje_Subida]
Meter=STRING
MeasureName=mSubida
X=r
Y=7R
W=50
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="%1 B"
AutoScale=1k
Group=RED1
Hidden=0

/////////////////////////

[Enviado_Texto]
Meter=STRING
X=r
Y=606
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="#Enviado# "
Group=RED2
Hidden=1

[Total_Enviado]
Meter=STRING
MeasureName=mEnviado
X=r
Y=22r
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="%1"
AutoScale=1
Group=RED2
Hidden=1

[Recibido_Texto]
Meter=STRING
X=r
Y=4R
W=76
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="#Recibido# "
Group=RED2
Hidden=1

[Total_Recibido]
Meter=STRING
MeasureName=mRecibido
X=r
Y=7R
W=50
H=15
FontFace=#FontName1#
FontColor=#TintColor#
FontSize=10
Antialias=1
StringStyle=NORMAL
StringAlign=Center
Text="%1"
AutoScale=1
Group=RED2
Hidden=1

*///**********GRAFICOS************///*

[Temperatura_PB]
Meter=ROUNDLINE
MeasureName=temperaturaactual0PB
X=119
Y=119
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineLength=57
LineStart=50
LineColor=0,255,175
Solid=1
AntiAlias=1


[CPU_PB]
Meter=ROUNDLINE
MeasureName=mCPU
X=r
Y=176R
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineLength=57
LineStart=50
LineColor=0,255,175
Solid=1
AntiAlias=1
Group=CPU1
Hidden=0

[GPU_PB]
Meter=ROUNDLINE
MeasureName=mGPU
X=r
Y=R
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineLength=57
LineStart=50
LineColor=0,255,175
Solid=1
AntiAlias=1
Group=GPU1
Hidden=1

[RAM_PB]
Meter=ROUNDLINE
MeasureName=MeasurePhysMemUsed
X=r
Y=176R
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineLength=57
LineStart=50
LineColor=0,255,175
Solid=1
AntiAlias=1
Group=RAM1
Hidden=0

[SWAP_PB]
Meter=ROUNDLINE
MeasureName=MeasureSwapUsed
X=r
Y=r
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineLength=57
LineStart=50
LineColor=0,255,175
Solid=1
AntiAlias=1
Group=SWAP1
Hidden=1

[Descarga_PB]
Meter=ROUNDLINE
MeasureName=mDescarga
X=r
Y=176R
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineLength=57
LineStart=50
LineColor=0,255,175
Solid=1
AntiAlias=1

**********************
---------------------
**********************

[Progreso_Superpuesto]
Meter=image
ImageName=progreso

[Fondo 2]
Meter=image
ImageName=P2_2


*\\\**************************///*
	    	 BOTONES
*\\\**************************///*

[Input_Text_Clima]
Measure=Plugin
Plugin=InputText.dll
SolidColor=36,36,36
X=78
Y=96
W=82
H=30
FontColor=#TintColor#
FontSize=10
FontFace=#FontName1#
StringAlign=Center
FocusDismiss=1
Defaultvalue=#Location#
Command1=[!WriteKeyValue "Variables" "Location" "$UserInput$" "#SKINSPATH#Kinetik v2\variables.inc"] [!Refresh]

[Boton_Temp]
Meter=Shape
X=62
Y=62
Shape=Rectangle 0,0,114,114,57 | Extend MyModifiers1
MyModifiers1=Fill Color 0,0,0,1| StrokeWidth 1 | Stroke Color 0,0,0,1
LeftMouseDownAction=https://weather.codes
MouseOverAction=[!HideMeterGroup Clima1][!ShowMeterGroup Clima2]
MouseLeaveAction=[!HideMeterGroup Clima2][!ShowMeterGroup Clima1]
MiddleMouseDownAction=[!CommandMeasure "Input_Text_Clima ExecuteBatch 1-2"]


[Boton_CPU_GPU]
Meter=Shape
X=r
Y=62R
Shape=Rectangle 0,0,114,114,57 | Extend MyModifiers1
MyModifiers1=Fill Color 0,0,0,1| StrokeWidth 1 | Stroke Color 0,0,0,1
MouseOverAction=[!HideMeterGroup CPU1][!ShowMeterGroup GPU1]
MouseLeaveAction=[!HideMeterGroup GPU1][!ShowMeterGroup CPU1]

[Boton_RAM_SWAP]
Meter=Shape
X=r
Y=62R
Shape=Rectangle 0,0,114,114,57 | Extend MyModifiers1
MyModifiers1=Fill Color 0,0,0,1| StrokeWidth 1 | Stroke Color 0,0,0,1
MouseOverAction=[!HideMeterGroup RAM1][!ShowMeterGroup SWAP1]
MouseLeaveAction=[!HideMeterGroup SWAP1][!ShowMeterGroup RAM1]

[Boton_RED]
Meter=Shape
X=r
Y=62R
Shape=Rectangle 0,0,114,114,57 | Extend MyModifiers1
MyModifiers1=Fill Color 0,0,0,1| StrokeWidth 1 | Stroke Color 0,0,0,1
MouseOverAction=[!HideMeterGroup RED1][!ShowMeterGroup RED2]
MouseLeaveAction=[!HideMeterGroup RED2][!ShowMeterGroup RED1]
- refresh your skin

That's about it. Yes, I know that some of the new texts don't quite fit the disks from that skin, but then you're free to pick an alternative measure from the list in the MeasureNamesReference.txt file from the attached package above and use it in the appropriate place instead of the measures I used in the edited P 2.ini code (like, say, @ForecastDay2DayShort instead of @ForecastDay2DayLong in the [Nombre_Dia1] meter, to have "Wed" instead of "Wednesday", and so on), or find some other way to shorten up text if needed.

Notes:
- the files in the package are jsmorley's essential INC files for the new weather.com source, and are taken from his skin here
- to change your location, units and other data, edit or uncomment the corresponding variable from the packaged WeatherComJSONVariables.inc file above
You do not have the required permissions to view the files attached to this post.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
Cyberaktif
Posts: 5
Joined: September 21st, 2020, 10:44 pm

Re: Weather Skins Not Working

Post by Cyberaktif »

Hi!
Thanks alot mate.....
Much appreciated :thumbup:
User avatar
Yincognito
Rainmeter Sage
Posts: 7029
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather Skins Not Working

Post by Yincognito »

Cyberaktif wrote: September 22nd, 2020, 3:01 am Hi!
Thanks alot mate.....
Much appreciated :thumbup:
No problem - feel free to adjust it if needed, now that you noticed where and what was added. ;-)
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
Cyberaktif
Posts: 5
Joined: September 21st, 2020, 10:44 pm

Re: Weather Skins Not Working

Post by Cyberaktif »

Hi!
It works great on my WIN 20H1, but not on my WIN 20H2?
Could anyone confirm that....
Brgds
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather Skins Not Working

Post by balala »

Cyberaktif wrote: September 22nd, 2020, 1:54 pm It works great on my WIN 20H1, but not on my WIN 20H2?
I personally doubt there would be any difference...
User avatar
Yincognito
Rainmeter Sage
Posts: 7029
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather Skins Not Working

Post by Yincognito »

Cyberaktif wrote: September 22nd, 2020, 1:54 pm Hi!
It works great on my WIN 20H1, but not on my WIN 20H2?
Could anyone confirm that....
Brgds
I'm not that upgraded yet, LOL - but I agree with balala, there shouldn't be any difference whatsoever, assuming that the testing scenarios are otherwise identical on the two systems.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth