Skip to content

Commit

Permalink
Add Fan RPM measure
Browse files Browse the repository at this point in the history
To switch between Afterburner and HWiNFO, change MeasureName3 under [Value5]
  • Loading branch information
Waleed Zuberi committed Aug 30, 2020
1 parent 907fc7f commit f12b161
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions Win10 Widgets/@Resources/Performance Templates/gpuTemplate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ IfTrueAction2=[!SetOption MeasureGPUTemp Formula MeasureGPUTemp_HWiNFO]
IfCondition3=MeasureGPUTemp_MSIAfterburner > 0
IfTrueAction3=[!SetOption MeasureGPUTemp Formula MeasureGPUTemp_MSIAfterburner]
IfCondition4=MeasureGPUTemp > 0
IfTrueAction4=[!SetOption Value5 Text "%1% (%2[\x00B0]C)"]
IfTrueAction4=[!SetOption Value5 Text "%1% (%2[\x00B0]C) #CRLF#%3 rpm"]
IfFalseAction4=[!SetOption Value5 Text "%1%"]
OnUpdateAction=[!UpdateMeter Value5]
UpdateDivider=10
Expand Down Expand Up @@ -122,6 +122,16 @@ HWiNFOType=CurrentValue
OnUpdateAction=[!UpdateMeasure MeasureGPUTemp]
UpdateDivider=10

[MeasureGPUFanRPM_HWiNFO]
Measure=Plugin
Plugin=HWiNFO.dll
HWiNFOSensorId=0xe0002000
HWiNFOSensorInstance=0x0
HWiNFOEntryId=0x3000000
HWiNFOType=CurrentValue
OnUpdateAction=[!UpdateMeasure MeasureGPUTemp]
UpdateDivider=10

[MeasureGPUTemp_MSIAfterburner]
; Returns the Temperature of the GPU using MSIAfterburner
Measure=Plugin
Expand All @@ -130,6 +140,13 @@ DataSource=GPU temperature
OnUpdateAction=[!UpdateMeasure MeasureGPUTemp]
UpdateDivider=10

[MeasureGPUFanRPM_MSIAfterburner]
Measure=Plugin
Plugin=MSIAfterburner.dll
DataSource=Fan tachometer
OnUpdateAction=[!UpdateMeasure MeasureGPUTemp]
UpdateDivider=10

; ------------------------------------------------------------------------
; METERS
; ------------------------------------------------------------------------
Expand Down Expand Up @@ -157,4 +174,8 @@ Hidden=0

[Value5]
MeasureName2=MeasureGPUTemp
Hidden=0
;MeasureName3=MeasureGPUFanRPM_MSIAfterburner
MeasureName3=MeasureGPUFanRPM_HWiNFO
ClipString=2
ClipStringW=(#BackgroundWidth#-[#CURRENTSECTION#:X]-6)
Hidden=0

0 comments on commit f12b161

Please sign in to comment.