How to use algo/coin switching capability
If you already set up everything for normal mining, there is only a few more things left to do.

To use the algo switching mode the pool must support the XMRig Proxy Stratum protocol extensions.

1. You will need to edit the file with name "algos.txt", containing entries for every algo you want the pool to send you jobs for.

algos.txt looks like this :

              {
"algos" :
[
{
"algo" : "normalv8",
"config" : "Config\\config-normalv8.txt",
"hashrate" : 0,
"startup_script": ""
},
{
"algo" : "normalv7",
"config" : "Config\\config-normalv7.txt",
"hashrate" : 0,
"startup_script": ""
},
{
"algo" : "heavy",
"config" : "Config\\config-heavy.txt",
"hashrate" : 0,
"startup_script": ""
},
{
"algo" : "haven",
"config" : "Config\\config-haven.txt",
"hashrate" : 0,
"startup_script": ""
},
.
.
.
.
. and so on
]
}

You need to edit the 'hashrate' value in every algo, and 'startup_script' if you are going to use it.
Also if you want, you can fully customize configs for every algo. You can find them in the 'Config' folder.

Short explanation of parameters in algos.txt:

+ The parameter "config" expects a filename to a config file where you set up everything for a specific algo (config-normalv8.txt is for CNV8 as you can guess). So on every new algo switch SRBMiner will initialize settings specific for that algo.

+ "pools" is a config file for pools, where you can define multiple pools with algo switching ability, so you have failovers too.

+ "hashrate" is a parameter where you should write the total hashrate of your rig (in H/S) for that specific algo (you can easily find it out by running a benchmark for example). This field is used by the pool in calculating what is the most profitable algo for you to mine.

+ "startup_script" can be used to run a script (batch file) before miner starts. You can for example set clocks, voltages, etc. specific to that algo



2. There is also a file with name pools-algoswitch.txt where i predefined a few pools on Monero Ocean (the only algo switching pool at the moment), where you need to change the wallet address to your own.
Now that you have algos.txt and pools-algoswitch.txt set up, start the miner by running start-algo-switching.bat


It is VERY IMPORTANT to use config files here, and not set GPU's and pool in command line.
If you do so, algo switching probably won't work. You can start with any algo you wish, because the pool will change it if it's not the most profitable algo to mine at that moment.

TIP:
To always get the maximum hashrate from your Vega's, use the --resetvega parameter , so on every algo change you disable/enable your cards before mining.

Example:

SRBMiner-CN.exe --config Config\config-normalv8.txt --pools pools-algoswitch.txt --logfile log-algo-switching.txt --usealgoswitching --resetvega