Hi
About the Drives meter, is any way of displaying the used/free space in percentage instead of GB/TB, etc?
If not, it will be a good option...Thanks!
It is currently October 12th, 2024, 3:52 am
Gadgets 7.8.0 - inspired by AddGadgets.com Sidebar Gadgets
-
- Posts: 11
- Joined: May 28th, 2021, 7:51 pm
-
- Rainmeter Sage
- Posts: 2746
- Joined: March 23rd, 2015, 5:26 pm
Re: Gadgets 7.5.0 - inspired by AddGadgets.com Sidebar Gadgets
This is possible, but it would require quite a lot of work. I won't be implementing this as an option, but you can do this if you want. The percentage is already calculated (so the bars can be shown), but the meters that display the data would need to be changed. I'm thinking you'd need to add 26 new measures and revise 52 meters. I can give you the instructions if you want, it is fairly simple/straightforward but repetitive since everything needs to be repeated for each possible drive letter. Let me know...
-
- Posts: 11
- Joined: May 28th, 2021, 7:51 pm
Re: Gadgets 7.5.0 - inspired by AddGadgets.com Sidebar Gadgets
Hey, thanks for the reply, if you have spare time, send them, it should be enough with instructions for one, I am a developer and would probably figure out myself how to repeat them. I already added a chassis fan meter.SilverAzide wrote: ↑August 18th, 2023, 2:40 pm This is possible, but it would require quite a lot of work. I won't be implementing this as an option, but you can do this if you want. The percentage is already calculated (so the bars can be shown), but the meters that display the data would need to be changed. I'm thinking you'd need to add 26 new measures and revise 52 meters. I can give you the instructions if you want, it is fairly simple/straightforward but repetitive since everything needs to be repeated for each possible drive letter. Let me know...
-
- Rainmeter Sage
- Posts: 2746
- Joined: March 23rd, 2015, 5:26 pm
Re: Gadgets 7.5.0 - inspired by AddGadgets.com Sidebar Gadgets
I noticed that; nice job!
OK, to adjust the Drives Meter, you'll need to add 26 Calc measures to calculate the percentage empty space. There are already measures for the filled space. In the Drives Meter.ini file, find the measure [MeasureDiskPercentFullA]. After this measure, add a new measure:
Code: Select all
[MeasureDiskPercentEmptyA]
Measure=Calc
Formula=MeasureDiskSpaceFreeA / MeasureDiskSpaceTotalA
Group=MeasureGroupA
Disabled=#HideDiskA#
Next, open the DrivesText.inc file and find the pair of meters like these:
Code: Select all
[DriveUsedA]
...
Text="Used: #TextDiskSpaceUsedA#B"
...
[DriveFreeA]
...
Text="Free: #TextDiskSpaceFreeA#B"
...
Code: Select all
[DriveUsedA]
...
Text="Used: [MeasureDiskPercentFullA:%,2]%"
...
[DriveFreeA]
...
Text="Free: [MeasureDiskPercentEmptyA:%,2]%"
...
-
- Posts: 14
- Joined: August 12th, 2023, 2:34 am
Re: Gadgets 7.5.0 - inspired by AddGadgets.com Sidebar Gadgets
I have a bit of an odd issue now after upgrading my Graphics Card; the HWiNFOIndexList.txt does not list any GPU sensors, meaning I don't have any variables to plug into the HWiNFO Settings file. I tried deleting the indexlist and regenerate it, but the regenerated list didn't have the sensors either. I changed from an Nvidia RTX 3070 Ti to an AMD RX 7900 XTX, using DDU to uninstall all drivers before making the change.
Edit: FIXED! Had to redo the HWiNFO setup steps and reenable the sensors
Edit: FIXED! Had to redo the HWiNFO setup steps and reenable the sensors
-
- Posts: 14
- Joined: August 12th, 2023, 2:34 am
Re: Gadgets 7.5.0 - inspired by AddGadgets.com Sidebar Gadgets
Custom edits updated! It really is quite beautiful to see the three stats matching up; all that's missing is a GPU Temp meter instead of text, but I might be able to make one with some tinkering, since we have a throttle value.
-
- Rainmeter Sage
- Posts: 2746
- Joined: March 23rd, 2015, 5:26 pm
Re: Gadgets 7.5.0 - inspired by AddGadgets.com Sidebar Gadgets
Nice job.
Changing the temp to a bar is pretty easy.
Find the [MeasureGPUTemp] measure, and after that measure add the following additional measures:
Code: Select all
[MeasureGPUThermalLimit]
Measure=Registry
RegHKey=HKEY_CURRENT_USER
RegKey=SOFTWARE\HWiNFO64\VSB
RegValue=ValueRaw[#HWiNFO_GPU[#GpuIndex]_ThermalLimit]
Group=HWiNFO
Disabled=1
[CalcGPUPercentTempMax]
Measure=Calc
Formula=((MeasureGPUTemp / MeasureGPUThermalLimit) * 100)
MinValue=0
MaxValue=100
Group=HWiNFO
Disabled=1
For the meters to display this data, you need to add several more meters. Find the meter [MeterGPUTempPrompt]. Replace this meter with the following:
Code: Select all
[MeterBarBackgroundGPUPercentTempMax]
Meter=Image
MeterStyle=StyleBarBG | StyleAllBar
Y=5r
[MeterBarGPUPercentTempMax]
Meter=Bar
MeterStyle=StyleBar | StyleAllBar
MeasureName=CalcGPUPercentTempMax
BarColor=#PaletteColor1#
; uncomment if you want the bar to have a gradient color appearance
;BarImage=#@#BarGradient.png
Y=0r
[MeterBarCoverGPUPercentTempMax]
Meter=Image
MeterStyle=StyleBarCover | StyleAllBar
Y=0r
[MeterGPUTempPrompt]
Meter=String
MeterStyle=StyleTextBar
FontColor=#PaletteColor1#
Text="Temp"
Y=-5r
UpdateDivider=-1
-
- Posts: 14
- Joined: August 12th, 2023, 2:34 am
Re: Gadgets 7.5.0 - inspired by AddGadgets.com Sidebar Gadgets
Thank you! I'll give this a try when I get home from work tomorrow! I'm excited also for the next release of gadgets, restarting my custom edits from the new release will be satisfying now that I know a bit more about what I'm doingSilverAzide wrote: ↑August 21st, 2023, 12:37 am Nice job.
Changing the temp to a bar is pretty easy.
Find the [MeasureGPUTemp] measure, and after that measure add the following additional measures:
I did not attempt to suppress potential divide by zero errors, I'll leave that up to you. Also, notice you need to add three or so new HWiNFO variables, HWiNFO_GPU0_ThermalLimit through HWiNFO_GPU2_ThermalLimit (or just the one you plan on using). Set this variable's value to the Thermal Limit sensor index.Code: Select all
[MeasureGPUThermalLimit] Measure=Registry RegHKey=HKEY_CURRENT_USER RegKey=SOFTWARE\HWiNFO64\VSB RegValue=ValueRaw[#HWiNFO_GPU[#GpuIndex]_ThermalLimit] Group=HWiNFO Disabled=1 [CalcGPUPercentTempMax] Measure=Calc Formula=((MeasureGPUTemp / MeasureGPUThermalLimit) * 100) MinValue=0 MaxValue=100 Group=HWiNFO Disabled=1
For the meters to display this data, you need to add several more meters. Find the meter [MeterGPUTempPrompt]. Replace this meter with the following:
I didn't test this, but it should get you close to what is in the next release of the Gadgets.Code: Select all
[MeterBarBackgroundGPUPercentTempMax] Meter=Image MeterStyle=StyleBarBG | StyleAllBar Y=5r [MeterBarGPUPercentTempMax] Meter=Bar MeterStyle=StyleBar | StyleAllBar MeasureName=CalcGPUPercentTempMax BarColor=#PaletteColor1# ; uncomment if you want the bar to have a gradient color appearance ;BarImage=#@#BarGradient.png Y=0r [MeterBarCoverGPUPercentTempMax] Meter=Image MeterStyle=StyleBarCover | StyleAllBar Y=0r [MeterGPUTempPrompt] Meter=String MeterStyle=StyleTextBar FontColor=#PaletteColor1# Text="Temp" Y=-5r UpdateDivider=-1
-
- Posts: 14
- Joined: August 12th, 2023, 2:34 am
Re: Gadgets 7.5.0 - inspired by AddGadgets.com Sidebar Gadgets
It works .. mostly
The Temp meter itself isn't showing range, but honestly this is plenty great for a holdout for the next release. Heck, more than plenty great. Again, thank you
The Temp meter itself isn't showing range, but honestly this is plenty great for a holdout for the next release. Heck, more than plenty great. Again, thank you
-
- Rainmeter Sage
- Posts: 2746
- Joined: March 23rd, 2015, 5:26 pm
Re: Gadgets 7.5.0 - inspired by AddGadgets.com Sidebar Gadgets
Sure, glad you got it looking the way you want!
Looks like something is wrong with the [CalcGPUPercentTempMax] measure. You can check the About > Skins > GPU Meter window and see if it is returning a value. If not, then check that the [MeasureGPUThermalLimit] measure is returning a non-zero value.