It is currently March 28th, 2024, 4:51 pm

Zepha Skin V2

Get help with creating, editing & fixing problems with skins
Post Reply
Bobani17
Posts: 4
Joined: February 9th, 2018, 11:41 pm

Zepha Skin V2

Post by Bobani17 »

Hey guys!

Im new to this so if i posted in the wrong forum im sorry.
Anyways..

Ive been using this zepha skin v2 for years, and i really love it!
However, i have recently upgraded to a 6 core CPU, and i cannot for the love of all that is holy figure out how to add the 2 last cores.

I dont have the cose right now since im on my ioad, but i can post it if anyone needs it to help me.. i would really love to get this working!
Bobani17
Posts: 4
Joined: February 9th, 2018, 11:41 pm

Re: Zepha Skin V2

Post by Bobani17 »

Here is the code for where im trying to add to more boxes, CPU 5 and CPU 6. And then make the backgroundbox big enough to include them

Code: Select all

[Rainmeter]
Author=Zepha
Update=250

[Metadata]
Name=ZephaSkin
Version=1.0.0

[Variables]
MonitorWidth=215

Font=Century Gothic

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

//Background//

[Background1]
Meter=String
SolidColor=0,0,0,0
X=0
Y=0
W=#MonitorWidth#
H=200

[CenterPoint]
Measure=Calc
Formula=#MonitorWidth# / 2




//CPU//

[MeasureCPUTotal]
Measure=CPU
Processor=0
AverageSize=10

[MeasureCPU1]
Measure=CPU
Processor=1
AverageSize=30

[MeasureCPU2]
Measure=CPU
Processor=2
AverageSize=30


[MeasureCPU3]
Measure=CPU
Processor=3
AverageSize=30


[MeasureCPU4]
Measure=CPU
Processor=4
AverageSize=30


[MeasureCPUTemp1]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=0

[MeasureCPUTemp2]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=1

[MeasureCPUTemp3]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=2

[MeasureCPUTemp4]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=3



[MeterCPUTitleBG1]
Meter=String
SolidColor=0,0,0,100
X=7r
Y=160r
AntiAlias=1
W=200
H=30

[MeterCPUTitle]
Meter=String
Text="CPU"
X=70r
Y=2r
FontColor=255,255,255,255
FontSize=15
FontFace=#Font#
AntiAlias=1

[MeterCPUBG]
Meter=String
SolidColor=0,0,0,100
X=-70r
Y=-155r
AntiAlias=1
W=200
H=150

[MeterCPUTempTitle]
Meter=String
Text="Temp"
X=15r
Y=125r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1

[MeterCPUTemp1]
Meter=String
MeasureName=MeasureCPUTemp1
X=60r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPUTemp2]
Meter=String
MeasureName=MeasureCPUTemp2
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPUTemp3]
Meter=String
MeasureName=MeasureCPUTemp3
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPUTemp4]
Meter=String
MeasureName=MeasureCPUTemp4
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPULoadTitle]
Meter=String
Text="Load"
X=-150r
Y=-23r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1

[MeterCPU1]
Meter=String
MeasureName=MeasureCPU1
X=60r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU2]
Meter=String
MeasureName=MeasureCPU2
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU3]
Meter=String
MeasureName=MeasureCPU3
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU4]
Meter=String
MeasureName=MeasureCPU4
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU1BarBG]
Meter=Bar
X=-88r
Y=-97r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU1Bar]
Meter=Bar
MeasureName=MeasureCPU1
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPU2BarBG]
Meter=Bar
X=28r
Y=-2r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU2Bar]
Meter=Bar
MeasureName=MeasureCPU2
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPU3BarBG]
Meter=Bar
X=28r
Y=-2r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU3Bar]
Meter=Bar
MeasureName=MeasureCPU3
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPU4BarBG]
Meter=Bar
X=28r
Y=-2r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU4Bar]
Meter=Bar
MeasureName=MeasureCPU4
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPUGraphBG]
Meter=Bar
X=-155r
Y=-2r
W=53
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPUGraphBar]
Meter=Histogram
MeasureName=MeasureCPUTotal
X=2r
Y=2r
W=49
H=86
PrimaryColor= 255,255,255,255
GraphOrientation=Horizontal
Last edited by Brian on February 10th, 2018, 7:41 am, edited 1 time in total.
Reason: Please use [code] tags.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Zepha Skin V2

Post by balala »

I (partially) rewrote the code, please try it and let me know if it is ok:

Code: Select all

[Rainmeter]
Author=Zepha
Update=250

[Metadata]
Name=ZephaSkin
Version=1.0.0

[Variables]
MonitorWidth=215

Font=Century Gothic

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

//Background//

[Background1]
Meter=String
SolidColor=0,0,0,0
X=0
Y=0
W=#MonitorWidth#
H=200

[CenterPoint]
Measure=Calc
Formula=#MonitorWidth# / 2




//CPU//

[MeasureCPUTotal]
Measure=CPU
Processor=0
AverageSize=10

[MeasureCPU1]
Measure=CPU
Processor=1
AverageSize=30

[MeasureCPU2]
Measure=CPU
Processor=2
AverageSize=30

[MeasureCPU3]
Measure=CPU
Processor=3
AverageSize=30

[MeasureCPU4]
Measure=CPU
Processor=4
AverageSize=30

[MeasureCPU5]
Measure=CPU
Processor=5
AverageSize=30

[MeasureCPU6]
Measure=CPU
Processor=6
AverageSize=30

[MeasureCPUTemp1]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=0

[MeasureCPUTemp2]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=1

[MeasureCPUTemp3]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=2

[MeasureCPUTemp4]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=3

[MeasureCPUTemp5]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=4

[MeasureCPUTemp6]
Measure=Plugin
Plugin=CoreTemp
CoreTempType=Temperature
CoreTempIndex=5

[MeterCPUTitleBG1]
Meter=String
SolidColor=0,0,0,100
X=7r
Y=160r
AntiAlias=1
W=200
H=30

[MeterCPUTitle]
Meter=String
Text="CPU"
X=70r
Y=2r
FontColor=255,255,255,255
FontSize=15
FontFace=#Font#
AntiAlias=1

[MeterCPUBG]
Meter=String
SolidColor=0,0,0,100
X=-70r
Y=-155r
AntiAlias=1
W=200
H=150

[MeterCPUTempTitle]
Meter=String
Text="Temp"
X=15r
Y=125r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1

[MeterCPUTemp1]
Meter=String
MeasureName=MeasureCPUTemp1
X=60r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPUTemp2]
Meter=String
MeasureName=MeasureCPUTemp2
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPUTemp3]
Meter=String
MeasureName=MeasureCPUTemp3
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPUTemp4]
Meter=String
MeasureName=MeasureCPUTemp4
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPUTemp5]
Meter=String
MeasureName=MeasureCPUTemp5
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPUTemp6]
Meter=String
MeasureName=MeasureCPUTemp6
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="°"

[MeterCPULoadTitle]
Meter=String
Text="Load"
X=-212r
Y=-23r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1

[MeterCPU1]
Meter=String
MeasureName=MeasureCPU1
X=60r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU2]
Meter=String
MeasureName=MeasureCPU2
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU3]
Meter=String
MeasureName=MeasureCPU3
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU4]
Meter=String
MeasureName=MeasureCPU4
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU5]
Meter=String
MeasureName=MeasureCPU5
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU6]
Meter=String
MeasureName=MeasureCPU6
X=30r
Y=0r
FontColor=255,255,255,255
FontSize=10
FontFace=#Font#
AntiAlias=1
Postfix="%"

[MeterCPU1BarBG]
Meter=Bar
X=-148r
Y=-97r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU1Bar]
Meter=Bar
MeasureName=MeasureCPU1
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPU2BarBG]
Meter=Bar
X=28r
Y=-2r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU2Bar]
Meter=Bar
MeasureName=MeasureCPU2
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPU3BarBG]
Meter=Bar
X=28r
Y=-2r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU3Bar]
Meter=Bar
MeasureName=MeasureCPU3
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPU4BarBG]
Meter=Bar
X=28r
Y=-2r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU4Bar]
Meter=Bar
MeasureName=MeasureCPU4
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPU5BarBG]
Meter=Bar
X=28r
Y=-2r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU5Bar]
Meter=Bar
MeasureName=MeasureCPU5
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPU6BarBG]
Meter=Bar
X=28r
Y=-2r
W=20
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPU6Bar]
Meter=Bar
MeasureName=MeasureCPU6
X=2r
Y=2r
W=16
H=86
BarColor= 255,255,255,255
BarOrientation=Vertical

[MeterCPUGraphBG]
Meter=Bar
X=-225r
Y=-2r
W=53
H=90
BarColor= 255,255,255,255
BarOrientation=Vertical
SolidColor=255,255,255,100

[MeterCPUGraphBar]
Meter=Histogram
MeasureName=MeasureCPUTotal
X=2r
Y=2r
W=49
H=86
PrimaryColor= 255,255,255,255
GraphOrientation=Horizontal
Bobani17
Posts: 4
Joined: February 9th, 2018, 11:41 pm

Re: Zepha Skin V2

Post by Bobani17 »

almost =)

i got the 2 extra cores. and they work =)

but the "gray background" box doesnt contain them all, it only covers th first 4 cores..

see?

https://imgur.com/zIVbi6Y
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Zepha Skin V2

Post by balala »

Bobani17 wrote:but the "gray background" box doesnt contain them all, it only covers th first 4 cores..
Right. Sorry.
Extend the width of the [MeterCPUBG] meter. Replace the old value of its W option with W=250.
Also can extend the width of the [MeterCPUTitleBG1] meter, to the same W=250.
If you do all this, the CPU title won't be aligned to the center. To align it, replace the X value of the following two meters, as it follows:

Code: Select all

[MeterCPUTitle]
...
X=100r

[MeterCPUBG]
...
X=-100r
(leave untouched the not posted options, just replace the values of these X options).
Bobani17
Posts: 4
Joined: February 9th, 2018, 11:41 pm

Re: Zepha Skin V2

Post by Bobani17 »

You sir are an absolut lifesaver!!
It works perfectly now!

How would i go about saving all this as a seperate skin? Is that doable?
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Zepha Skin V2

Post by balala »

Bobani17 wrote:How would i go about saving all this as a seperate skin? Is that doable?
It definitely is. But I'm not sure what you would like: a second skin with the same content into the same config (folder) or another config with the same skin?
  • If you want a second skin in the same config, you simply have to open the code of the skin and save it with another name, in the same folder. But I'd say you don't want to do this, because at least me don't see the reason of a such action.
  • If on the other hand you want to have another config with the same skin, save the file with the same or another name (it's up to you), into a newly created folder into the Skins folder.
In both cases make sure the extension of the newly saved file is .ini. Depending on what text editor do you use, the extension of the file could be modified to .txt. Notepad I think has this habit.
Doesn't matter which solution do you choose, after saved the file, Rainmeter won't see it, unless you make a refresh all. Right click the Rainmeter icon in the notification area and click Refresh all. Now you'll be able to load the new skin. Just mention that if the new skin is in the same config as the old one, you can load just one of them, but if they are in different configs, you can load both in the same time.
Post Reply