SIDENOTE: I had CoPilot help me three times editing some code and all three times it got it wrong but we worked it out and got it right. Point Is; AI will not get the Rainmeter code right the first time.
I'm aware that not everyone has the same GPU and if need be I will add settings so the end user's card RAM size and any other values (such as SourceID numbers) needed to be entered by the end user will be available so the measures will be as accurate as possible.
(when working with GPU Process Memory I'm not sure of the values I should enter, so I did what I think should be entered. MaxV is the total amount of memory the GPU has, in this case, mine is 2GB -250MB memory used the color should be 75,216,19, above 250MB and lower than 500MB the color should turn to 247,138,5, and between 1Gb and 1Gb the color should turn 247,180,5, above 1GB and MaxV the color should turn to 247,17,5 but the roundline colors don't fluctuate the colors when I'm playing a game. The roundline color stays at 0,200,0. Not to mention I'm still have problems with the other roundlines and their values changing colors too. All the measures, SourceID and meters -I believe- are correct, all the Categories and Counters are correct as well. My best guess as to what the issue is, its in the IfCondition(s) value and the IfTrueAction(s) values).
One more thing I should add: I know the organization of the code in the document "Extended GPU Data (MSI).inc" isn't Ideal so I plan on re-arranging it.
![Image](%5Battachment=1%5DImage%20004.jpg%5B/attachment%5D)
Code: Select all
[GPU0MemoryUsage]
Measure=Plugin
Plugin=MSIAfterburner.dll
GPU=0
SourceId=49
UpdateDivider=2
MinValue=0
MaxValue=#MaxV#
[GPU0Roundline3]
Meter=ROUNDLINE
MeasureName=MeasureRing
LineColor=255,216,0,100
LineWidth=6.0
LineLength=55
LineStart=50
X=395r
Y=0r
AntiAlias=1
Solid=1
Group=Details
[GPU0MemUsage]
Meter=ROUNDLINE
MeasureName=GPU0MemoryUsage
LineColor=184,32,15
LineWidth=6.0
LineLength=55
LineStart=50
StartAngle=(Rad (270))
RotationAngle=(Rad (360))
X=0r
Y=0r
AntiAlias=1
Solid=1
Group=Details
[mGPU0MU]
Measure=Plugin
Plugin=UsageMonitor
Category=GPU Process Memory
Counter=Dedicated Usage
Index=0
IfCondition=(mGPU0MU < 250)
IfTrueAction=[!SetOption GPU0MemUsage LineColor "75,216,19"]
IfCondition2=(mGPU0MU >= 250) && (mGPU0MU < 500)
IfTrueAction2=[!SetOption GPU0MemUsage LineColor "247,138,5"]
IfCondition3=(mGPU0MU >= 1024) && (mGPU0MU < 1024)
IfTrueAction3=[!SetOption GPU0MemUsage LineColor "247,180,5"]
IfCondition4=(mGPU0MU >= 1024) && (mGPU0MU < #MaxV#)
IfTrueAction4=[!SetOption GPU0MemUsage LineColor "247,17,5"]