You should change the ImageNames in [MtrBarBg] and [MtrBarProgress] to Back8.png and Bar8.png.
I would be happy if you repost the result. According to this situation, I will interfere with the skin
You should change the ImageNames in [MtrBarBg] and [MtrBarProgress] to Back8.png and Bar8.png.
Earlier, I added a code for it to set the image files itself according to the RAM status. But it caused some problems. I had to extract the code.
Glad you like it
Well, not to nitpick, but this kind of manual modification should be avoided as much as possible. Additionally there I see a small problem with tass_co's code: Additionally, I'd tend to have visible so many Bar meters as many GB memory is present. In the last posted skin, there are only two Bar meters, one horizontal, the other vertical. Seems weird a little bit, even if it does work well.
Code: Select all
[Rainmeter]
Update=1000
[Variables]
[BarStyle]
Y=80
W=6
H=26
BarColor=119,167,187
SolidColor=255,114,98
BarOrientation=Vertical
DynamicVariables=1
[StringStyle]
FontColor=255,255,255
FontFace=Arial
FontSize=6
StringAlign=Left
DynamicVariables=1
[MeaTotalMem]
Measure=PhysicalMemory
Total=1
UpdateDivider=3600
[MeasureNumOfBars]
Measure=Calc
Formula=( Ceil ( MeaTotalMem / ( 1024 ** 3 )))
;(( MeaTotalMem > ( 1024 ** 3 )) ? ( Ceil ( MeaTotalMem / ( 1024 ** 3 ))) : (( MeaTotalMem > ( 1024 ** 2 )) ? ( Ceil ( MeaTotalMem / ( 1024 ** 2 ))) : (( MeaTotalMem > 1024 ) ? ( Ceil ( MeaTotalMem / 1024 )) : MeaTotalMem )))
[MeasureFreeMemInteger]
Measure=Calc
Formula=( Trunc ( MeaFreeMem / ( 1024 ** 3 )))
[MeaFreeMem]
Measure=PhysicalMemory
InvertMeasure=1
[MeasureBar1]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 0 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 0 ))
[MeasureBar2]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 1 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 1 ))
[MeasureBar3]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 2 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 2 ))
[MeasureBar4]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 3 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 3 ))
[MeasureBar5]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 4 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 4 ))
[MeasureBar6]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 5 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 5 ))
[MeasureBar7]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 6 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 6 ))
[MeasureBar8]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 7 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 7 ))
[MeasureBar9]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 8 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 8 ))
[MeasureBar10]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 9 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 9 ))
[MeasureBar11]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 10 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 10 ))
[MeasureBar12]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 11 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 11 ))
[MeasureBar13]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 12 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 12 ))
[MeasureBar14]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 13 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 13 ))
[MeasureBar15]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 14 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 14 ))
[MeasureBar16]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 15 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 15 ))
[MeterBar1]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar1
X=0
Hidden=([MeasureNumOfBars]<1)
[MeterBar2]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar2
X=2R
Hidden=([MeasureNumOfBars]<2)
[MeterBar3]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar3
X=2R
Hidden=([MeasureNumOfBars]<3)
[MeterBar4]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar4
X=2R
Hidden=([MeasureNumOfBars]<4)
[MeterBar5]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar5
X=2R
Hidden=([MeasureNumOfBars]<5)
[MeterBar6]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar6
X=2R
Hidden=([MeasureNumOfBars]<6)
[MeterBar7]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar7
X=2R
Hidden=([MeasureNumOfBars]<7)
[MeterBar8]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar8
X=2R
Hidden=([MeasureNumOfBars]<8)
[MeterBar9]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar9
X=2R
Hidden=([MeasureNumOfBars]<9)
[MeterBar10]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar10
X=2R
Hidden=([MeasureNumOfBars]<10)
[MeterBar11]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar11
X=2R
Hidden=([MeasureNumOfBars]<11)
[MeterBar12]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar12
X=2R
Hidden=([MeasureNumOfBars]<12)
[MeterBar13]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar13
X=2R
Hidden=([MeasureNumOfBars]<13)
[MeterBar14]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar14
X=2R
Hidden=([MeasureNumOfBars]<14)
[MeterBar15]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar15
X=2R
Hidden=([MeasureNumOfBars]<15)
[MeterBar16]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar16
X=2R
Hidden=([MeasureNumOfBars]<16)
[MeterString1]
Meter=String
MeterStyle=StringStyle
Text=1
X=0
Y=([MeterBar1:YH]+2)
Hidden=([MeasureNumOfBars]<1)
[MeterString8]
Meter=String
MeterStyle=StringStyle
Text=8
X=56
Y=0r
Hidden=([MeasureNumOfBars]<8)
[MeterString16]
Meter=String
MeterStyle=StringStyle
Text=16
X=118
Y=0r
Hidden=([MeasureNumOfBars]<16)
No, you definitely don't, balalabalala wrote: ↑September 12th, 2022, 7:20 pm Well, not to nitpick, but this kind of manual modification should be avoided as much as possible. Additionally there I see a small problem with tass_co's code:
RAM.png
Additionally, I'd tend to have visible so many Bar meters as many GB memory is present. In the last posted skin, there are only two Bar meters, one horizontal, the other vertical. Seems weird a little bit, even if it does work well.
So, I post another approach, in which I used more Bar meters. In this case the skin shows up so many such bars as many GB of memory the system has (as said above). The skin works for systems with up to 16 GB of memory, but if needed can be extended (waiting for a reply if anyone is interested, but can't realize how to add the needed suplimentar sections). To extend the range, you have to add further [MeasureBarXX] Calc measures and the appropriate [MeterBarXX] meters. Eventually suplimentar [MeterStringXX] String meters will also be needed.
Sorry tass_co, don't want to upset you, hope I didn't. Definitely was not my intention.
Definitely right.
Code: Select all
[Rainmeter]
Update=1000
[Variables]
vSkinscale=3
[BarStyle]
Y=80
W=(6*#vSkinscale#)
H=(26*#vSkinscale#)
BarColor=119,167,187
SolidColor=255,114,98
BarOrientation=Vertical
DynamicVariables=1
[StringStyle]
FontColor=255,255,255
FontFace=Arial
FontSize=(6*#vSkinscale#)
StringAlign=Left
DynamicVariables=1
[MeaTotalMem]
Measure=PhysicalMemory
Total=1
UpdateDivider=3600
[MeasureNumOfBars]
Measure=Calc
Formula=( Ceil ( MeaTotalMem / ( 1024 ** 3 )))
;(( MeaTotalMem > ( 1024 ** 3 )) ? ( Ceil ( MeaTotalMem / ( 1024 ** 3 ))) : (( MeaTotalMem > ( 1024 ** 2 )) ? ( Ceil ( MeaTotalMem / ( 1024 ** 2 ))) : (( MeaTotalMem > 1024 ) ? ( Ceil ( MeaTotalMem / 1024 )) : MeaTotalMem )))
[MeasureFreeMemInteger]
Measure=Calc
Formula=( Trunc ( MeaFreeMem / ( 1024 ** 3 )))
[MeaFreeMem]
Measure=PhysicalMemory
InvertMeasure=1
[MeasureBar1]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 0 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 0 ))
[MeasureBar2]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 1 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 1 ))
[MeasureBar3]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 2 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 2 ))
[MeasureBar4]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 3 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 3 ))
[MeasureBar5]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 4 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 4 ))
[MeasureBar6]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 5 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 5 ))
[MeasureBar7]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 6 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 6 ))
[MeasureBar8]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 7 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 7 ))
[MeasureBar9]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 8 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 8 ))
[MeasureBar10]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 9 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 9 ))
[MeasureBar11]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 10 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 10 ))
[MeasureBar12]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 11 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 11 ))
[MeasureBar13]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 12 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 12 ))
[MeasureBar14]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 13 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 13 ))
[MeasureBar15]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 14 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 14 ))
[MeasureBar16]
Measure=Calc
Formula=(( MeasureFreeMemInteger = 15 ) ? ( Frac ( MeaFreeMem / ( 1024 ** 3 ))) : ( MeasureFreeMemInteger > 15 ))
[MeterBar1]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar1
X=0
Hidden=([MeasureNumOfBars]<1)
[MeterBar2]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar2
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<2)
[MeterBar3]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar3
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<3)
[MeterBar4]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar4
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<4)
[MeterBar5]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar5
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<5)
[MeterBar6]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar6
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<6)
[MeterBar7]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar7
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<7)
[MeterBar8]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar8
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<8)
[MeterBar9]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar9
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<9)
[MeterBar10]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar10
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<10)
[MeterBar11]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar11
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<11)
[MeterBar12]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar12
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<12)
[MeterBar13]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar13
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<13)
[MeterBar14]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar14
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<14)
[MeterBar15]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar15
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<15)
[MeterBar16]
Meter=Bar
MeterStyle=BarStyle
MeasureName=MeasureBar16
X=(2*#vSkinscale#)R
Hidden=([MeasureNumOfBars]<16)
[MeterString1]
Meter=String
MeterStyle=StringStyle
Text=1
X=0
Y=([MeterBar1:YH]+2)
Hidden=([MeasureNumOfBars]<1)
[MeterString8]
Meter=String
MeterStyle=StringStyle
Text=8
X=((8*8-8)*#vSkinscale#)
Y=0r
Hidden=([MeasureNumOfBars]<8)
[MeterString16]
Meter=String
MeterStyle=StringStyle
Text=(16*#vSkinscale#)
;X=118
X=((8*16-8)*#vSkinscale#)
Y=0r
Hidden=([MeasureNumOfBars]<16)
Good job!
You definitely should improve, at least the cyberfreak 2077\RAM\RAM.ini skin. Here is why: (screenshot of the cyberfreak 2077\RAM\RAM.ini skin).