It is currently March 28th, 2020, 11:21 pm

RainRGB4.exe help and questions

Help with creating, editing & fixing problems with skins
User avatar
Hackit
Posts: 37
Joined: May 19th, 2010, 9:05 pm
Location: North of the Border

RainRGB4.exe help and questions

Post by Hackit »

Hi All.
I'm looking for some help using RainRGB4.exe. first question, i have searched and it seems most posts are older. is using RainRGB4.exe still advisable or is there a new/better way to change colors?

let me catch you up where i'm at.
i updated my skin from 2010 to use the new weather (thnaks jsmorley) it seems to be working fine.
I have read that you should not edit the Variables.inc file as it could be updated and you would loose all you edits. so what i did was creat a new Variablesextra.inc file and link to it in my ini file. is this ok?

So my issue is i'm trying to have my time color changeable. i have been folowwing the guide (help file in RainRGB4.exe Folder) and checking out other skins.
so i'm at the point where i can right click on my skin and select the color, my Variablesextra.inc shows the change, but my skin does not change color. right now my skin color is missing i have no color.
Here's my ini code.

Code: Select all

[Rainmeter]
Author=HackitZ TDW
Version=2.0
Update=100
AccurateText=1
DynamicWindowSize=1
ContextTitle=Set Location Code
ContextAction=["#@#Variables.inc"]
;------------for testing alignment
BackgroundMode=0
;------------------------------end
ContextTitle2=> Clock Color
ContextAction2=["#@#Addons\RainRGB4.exe" "VarName=ClockFace" "FileName=#@#Variablesextra.inc"]

[Variables]
@Include=#ROOTCONFIGPATH#\@Resources\Variables.inc
@Include=#ROOTCONFIGPATH#\@Resources\Variablesextra.inc
@Include4=#ROOTCONFIGPATH#\@Resources\Languages\#Language#.inc
@Include5=#@#WeatherComRegExp.inc
@Include6=#@#WeatherComCurrent.inc
@Include7=#@#WeatherComForecast.inc

;================================

[@CurrentIcon]
Measure=WebParser
Group=Weather | WeatherCurrent
Url=[@CurrentParent]
StringIndex=3
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterCurrentIconNA][!RainmeterShowMeter MeterCurrentIcon]

[MeterCurrentIcon]
Path=#ROOTCONFIGPATH#\@Resources\Weathericons
MeasureName=@CurrentIcon
Meter=Image
ImageAlpha=150
PreserveAspectRatio=1
AntiAlias=1
X=-10
Y=0
h=185
w=185

[MeterCurrentIconNA]
ImageName=na.png
Meter=IMAGE
ImageAlpha=150
PreserveAspectRatio=1			  				 
Path=#WeatherIcons#
X=20
Y=0
h=185
w=185

[MeterLocationCurrent]
MeasureName=@CurrentLocationName
Meter=String
X=30
Y=30
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | 255,255,255,255
InlineSetting3=Size | 16
InlineSetting4=Weight | 400
StringAlign=left
StringStyle=Italic
StringEffect=SHADOW
AntiAlias=1
ClipString=1

[MeterTimeBack]
MeasureName=MeasureTime
Meter=STRING
X=65
Y=50
InlineSetting=Face | Digital
InlineSetting2=Color | 68,68,68,125
InlineSetting3=Size | 52
StringAlign=left
AntiAlias=1
Text="88:88"

[MeterTime]
MeasureName=MeasureTime
Meter=STRING
X=65
Y=50
;FontColor=#Clock_Face#
InlineSetting=Face | Digital
InlineSetting2=Color | #ClockFace#
InlineSetting3=Size | 52
StringAlign=left
AntiAlias=1

[MeterDate]
MeasureName=MeasureDate
Meter=STRING
X=(595*0.50)r
Y=(100*0.50)r
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 16
InlineSetting4=Weight | 300
StringEffect=SHADOW
StringAlign=right
AntiAlias=1
clipstring=2

[MeterTempCurrent]
MeasureName2=@CurrentTemperature
MeasureName=@CurrentConditions
Meter=String
X=(-5*0.50)r
Y=(43*0.50)r
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 14
InlineSetting4=Weight | 300
StringEffect=SHADOW
StringAlign=right
AntiAlias=1
Text="%1, %2"
Postfix="°"

;-------------------------------------day2


[@ForecastDay2Icon]
Measure=WebParser
Group=Weather | WeatherEightDay
Url=[@ForecastParent]
StringIndex=8
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterDay2IconNA][!RainmeterShowMeter MeterDay2Icon]


[MeterDay2Icon]
Path=#ROOTCONFIGPATH#\@Resources\Weathericons
MeasureName=@ForecastDay2Icon
Meter=Image
PreserveAspectRatio=1
ImageTint=#Color1#
AntiAlias=1
X=(145*0.50)
Y=(270*0.50)
H=(150*0.50)
W=(150*0.50)

[MeterDay2IconNA]
ImageName=na.png
Meter=IMAGE
Path=#WeatherIcons#
H=(100*0.50)
W=(100*0.50)
X=r
Y=r

[MeterTempDay2]
MeasureName=@ForecastDay2Name
MeasureName2=@ForecastDay2High
Meter=String
X=(-20*0.50)r
Y=(40*0.50)r
InlineSetting=Face | roboto
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 8
InlineSetting4=Weight | 300
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
Text="%1#CRLF#%2"
UpdateDivider=#Rdiv#
Postfix="°"

;-------------------------------------day3


[@ForecastDay3Icon]
Measure=WebParser
Group=Weather | WeatherEightDay
Url=[@ForecastParent]
StringIndex=18
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterDay3IconNA][!RainmeterShowMeter MeterDay3Icon]


[MeterDay3Icon]
Path=#ROOTCONFIGPATH#\@Resources\Weathericons
MeasureName=@ForecastDay3Icon
Meter=Image
PreserveAspectRatio=1
ImageTint=#Color1#
AntiAlias=1
X=(360*0.50)
Y=(270*0.50)
H=(150*0.50)
W=(150*0.50)

[MeterDay3IconNA]
ImageName=na.png
Meter=IMAGE
Path=#WeatherIcons#
H=(100*0.50)
W=(100*0.50)
X=r
Y=r

[MeterTempDay3]
MeasureName=@ForecastDay3Name
MeasureName2=@ForecastDay3High
Meter=String
X=(-20*0.50)r
Y=(40*0.50)r
InlineSetting=Face | roboto
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 8
InlineSetting4=Weight | 300
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
Text="%1#CRLF#%2"
UpdateDivider=#Rdiv#
Postfix="°"

;-------------------------------------day4


[@ForecastDay4Icon]
Measure=WebParser
Group=Weather | WeatherEightDay
Url=[@ForecastParent]
StringIndex=18
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterDay4IconNA][!RainmeterShowMeter MeterDay4Icon]


[MeterDay4Icon]
Path=#ROOTCONFIGPATH#\@Resources\Weathericons
MeasureName=@ForecastDay4Icon
Meter=Image
PreserveAspectRatio=1
ImageTint=#Color1#
AntiAlias=1
X=(580*0.50)
Y=(270*0.50)
H=(150*0.50)
W=(150*0.50)

[MeterDay4IconNA]
ImageName=na.png
Meter=IMAGE
Path=#WeatherIcons#
H=(100*0.50)
W=(100*0.50)
X=r
Y=r

[MeterTempDay4]
MeasureName=@ForecastDay4Name
MeasureName2=@ForecastDay4High
Meter=String
X=(-20*0.50)r
Y=(40*0.50)r
InlineSetting=Face | roboto
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 8
InlineSetting4=Weight | 300
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
Text="%1#CRLF#%2"
UpdateDivider=#Rdiv#
Postfix="°"

;--------------------------------date time
[MeasureTime1]
Measure=Time
Format=%I:%M
FontName=Digital
FontName2=DS-Digital

 
[MeasureDate]
Measure=Time
Format=%B %d, %A, %Y.

;--------------------------- seconds bar

[MeasureSeconds]
Measure=Time
Format=%S
MaxValue=59

[MeterLine1]
Meter=Image
X=(120*0.50)
Y=(295*0.50)
H=(5*0.50)
W=(600*0.50)
SolidColor=68,68,68,200
 
[MeterSeconds]
MeasureName=MeasureSeconds
Meter=BAR
X=(120*0.50)
Y=(295*0.50)
H=(5*0.50)
W=(600*0.50)
BarColor=19,138,255,255
SolidColor=255,255,255,225
BarOrientation=HORIZONTAL

Here's my code for the Variablesextra.inc

Code: Select all

[Variables]
ClockFace=55,85,99,255
User avatar
jsmorley
Developer
Posts: 20425
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RainRGB4.exe help and questions

Post by jsmorley »

Try this:


ContextAction2=["#@#Addons\RainRGB4.exe" "VarName=ClockFace" "FileName=#@#Variablesextra.inc" "RefreshConfig=#CURRENTCONFIG#"]
User avatar
Hackit
Posts: 37
Joined: May 19th, 2010, 9:05 pm
Location: North of the Border

Re: RainRGB4.exe help and questions

Post by Hackit »

tried it, i was just reading on how not to refresh all skins and with the code you provided my skin is the only one that refreshes so thats great.
but my clock face is still missing color with the code you provided., i can only see the background color thats below the clockface color in my code.
i hope i'm explaining this right?
Last edited by Hackit on March 14th, 2020, 5:13 pm, edited 1 time in total.
User avatar
jsmorley
Developer
Posts: 20425
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RainRGB4.exe help and questions

Post by jsmorley »

Hackit wrote:
March 14th, 2020, 5:10 pm
tried it, i was just reading on how not to refresh all skins and with the code you provided my skin is the only one that refreshes so thats great.
but my clock face is still missing color with the code you provided., i can only see the background color thats above the clockface color in my code.
i hope i'm explaining this right?
Zip up the entire folder with the skin and attach it here or post a link to it. I will take a look, but I need to be able to run in exactly as you have it.
User avatar
jsmorley
Developer
Posts: 20425
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RainRGB4.exe help and questions

Post by jsmorley »

I'm guessing its a "path" issue with these:

@Include=#ROOTCONFIGPATH#\@Resources\Variables.inc

Why is this not:

@Include=#@#Variables.inc
User avatar
Hackit
Posts: 37
Joined: May 19th, 2010, 9:05 pm
Location: North of the Border

Re: RainRGB4.exe help and questions

Post by Hackit »

thanks so much.
User avatar
jsmorley
Developer
Posts: 20425
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RainRGB4.exe help and questions

Post by jsmorley »

Hackit wrote:
March 14th, 2020, 5:19 pm
thanks so much.
I haven't done anything to be thanked for yet... 8-)
User avatar
Hackit
Posts: 37
Joined: May 19th, 2010, 9:05 pm
Location: North of the Border

Re: RainRGB4.exe help and questions

Post by Hackit »

Here's the link to a http://www.hackitz.ca/Storage/HackitZ%20TDW2.7z

i have been piecing my old skin with a new skin and using code from the sample. i know my code is a mess.
thanks for the help.
Last edited by Hackit on March 14th, 2020, 5:35 pm, edited 1 time in total.
User avatar
jsmorley
Developer
Posts: 20425
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RainRGB4.exe help and questions

Post by jsmorley »

Hackit wrote:
March 14th, 2020, 5:27 pm
Here's the link to a http://www.hackitz.ca/storage/HackitZ%20TDW2.7z

i have been piecing my old skin with a new skin and using code from the sample. i know my code is a mess.
thanks for the help.
Sorry, link doesn't work.
User avatar
Hackit
Posts: 37
Joined: May 19th, 2010, 9:05 pm
Location: North of the Border

Re: RainRGB4.exe help and questions

Post by Hackit »