Note: All Rigutils scripts are licensed under GNU GPLv3 license. Source code hosted at https://github.com/vegaminer/rigutils

Install

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.


Instruction

STEP 1. Download Rigutils

Download zip-archive from GitHub

  1. Click pull-down menu Clone or download
  2. Click Download ZIP button

Rigutils installation

attachmentrigutils_00.pdn


STEP 2. Save file

In popup windows

  1. Select Save File
  2. Click OK button

Rigutils installation

attachmentrigutils_01.pdn


STEP 4. Open downloads folder

At the toolbar of FireFox

  1. Click the Downloads (arrow) button
  2. Click Folder button next to downloaded file. File explorer window will be opened showing content of your Downloads folder.

Rigutils installation

attachmentrigutils_02.pdn


STEP 5. Unpack file

In explore window select the file rigutils-master.zip (should be done automatically)

  1. Click Extract menu
  2. Click Extract all buttin
  3. Enter the recommended path c:\bin in folder selection control
  4. Click Extract button

Rigutils installation

attachmentrigutils_03.pdn

Rigutils installation

attachmentrigutils_04.pdn

Rigutils installation

attachmentrigutils_05.pdn


STEP 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

  1. Open c:\bin folder in File Explorer window
  2. Right click on rigutils-master folder
  3. Click Rename menu item
  4. Remove -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!

Rigutils installation

attachmentrigutils_06.pdn


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.


History

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 8-) 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 8-)

This topic does not exist yet

You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by clicking on “Create this page”.