Note: All Rigutils scripts are licensed under GNU GPLv3 license. Source code hosted at https://github.com/vegaminer/rigutils
There is no special install program for Rigutils. It's just azip archive. You have to download it from GitHub repository and unpack to your local hard drive. My favorite location for scripts and programs under Windows is c:\bin
, so Rigutils will reside in c:\bin\rigutils
accordingly. See the description page for short info on each file from the tool set.
As with FireFox itself I recommend to download rigutils.zip file before installing Windows and put in onto the same USB drive. First step before installing Windows you should do is disconnecting of your PC from Internet by unplugging an Ethernet cable from it. You'll reconnect it back later, but having rigutils and FireFox already on your USB drive may be very handy.
STEP 1. Download Rigutils
Download zip-archive from GitHub
https://github.com/vegaminer/rigutils
Clone or download
Download ZIP
buttonSTEP 2. Save file
In popup windows
Save File
OK
buttonSTEP 4. Open downloads folder
At the toolbar of FireFox
Downloads (arrow)
buttonFolder
button next to downloaded file. File explorer window will be opened showing content of your Downloads folder.STEP 5. Unpack file
In explore window select the file rigutils-master.zip
(should be done automatically)
Extract
menuExtract all
buttinc:\bin
in folder selection controlExtract
buttonSTEP 6. Rename folder
By default the folder will have the name rigutils-master
, it's not a problem, but I prefer just rigutils
. Let's rename it
c:\bin
folder in File Explorer windowrigutils-master
folderRename
menu item-master
from folder name and press Enter
button on your keyboard
You may press F2
on your keyboard to get directly to renaming mode. I highly recommend to get yourself accustomed to Windows Shortcuts It's very useful and fast!
STEP 7. Configure Antivirus
This step is optional, but I highly recommend to add the directory c:\bin\rigutils
to exclusions list of Windows Defender Antivirus. You may find a detailed instructions here.
It was May of year 2017 when I (re)discovered wonderful crypto-mining world after reading an article about a botnet mining Monero. Next day I was running full node and digging through reddit/MoneroMining. Two weeks later xmr-stak-cpu was running almost on every machine I had access to Next milestone was AMD Vega card. It was a nightmare to setup and manage, blockchain driver was of beta quality, but for a long time it was the only choice for mining Monero… and Windows was his ball and chain he has to bear. I spent countless nights trying to figure out optimal undervolting setting, wrote a PHP script for finding optimal xmr-stak settings and even ordered an OrangePi based power-meter for detecting the most efficient “sweet spot”. No, I did't get rich, it's just a nice hobby…
Step by step I wrote a bunch of bat scripts for managing mining rigs, so Rigutils toolset was born. Started as a simple helper for starting/stopping xmr-stak it became capable of many more things. Is it possible to successfully manage a rig without using devcon.exe and OverDriveNTool? The answer is Yes. Rigutils has no other binary dependencies except ones which are already present in any Windows setup by default.
You may ask me - why bat files and not powershell or golang or PHP or bash, C/C++, Java etc.? Well, I hate writing bat files for its cryptic syntax, unpredictable behavior and absence of tooling of any kind. But I like it because it's a real challenge and fun and it reminds me of good old days of IBM XT computers, i8086, 5.25" disks and PC DOS.
Just an example… Can you guess the purpose of the following bat code?
((for /L %%P in (1,1,70) do pause>nul)&set /p "t=")<"%COMSPEC%" set "t= %t:~0,1%"
Answer is here https://stackoverflow.com/a/49959194 This is why I love bat files