Difference between revisions of "MadMax-Plotter - Command line"
From Chia-Wiki
(Created page with "If you have already downloaded MadMax Plotter for Windows (if not, you can find the guide <strong>HERE</strong>) and you would like your...") |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
It is recommended to put this batch file or files to the same folder as MadMax plotter (chia_plot.exe) resides. | It is recommended to put this batch file or files to the same folder as MadMax plotter (chia_plot.exe) resides. | ||
You can make two types of plots: | |||
*:<code>:loop</code> | *<strong>old PLOT:</strong></p> | ||
:<strong>MADMAX_OLD.bat</strong></p><br /> | |||
*:<code>del /s /f /q DRIVE:\TEMPORARY_DIRECTORY*.tmp</code> | :<code>:loop</code> | ||
:<code>chia_plot.exe -r NUMBER_OF_CPU_THREADS -p POOL_KEY_GOES_HERE -f FARMER_KEY_GOES_HERE -t DRIVE:\TEMPORARY_DIRECTORY -d DRIVE:\FINAL_LOCATION_OF_THE_PLOT</code> | |||
:<code>del /s /f /q DRIVE:\TEMPORARY_DIRECTORY*.tmp</code> | |||
:<code>goto loop</code></p><br /> | |||
*<strong>NFT Plot:</strong></p> | |||
:<strong>MADMAX_NFT.bat</strong></p><br /> | |||
:<code>:loop</code> | |||
:<code>chia_plot.exe -r NUMBER_OF_CPU_THREADS -f FARMER_KEY_GOES_HERE -c CONTRACT_ADDRESS_GOES_HERE -t DRIVE:\TEMPORARY_DIRECTORY -d DRIVE:\FINAL_LOCATION_OF_THE_PLOT</code> | |||
:<code>del /s /f /q DRIVE:\TEMPORARY_DIRECTORY*.tmp</code> | |||
:<code>goto loop</code></p><br /> | |||
Line 24: | Line 34: | ||
''Some extra help about the command line switches:'' | ''Some extra help about the command line switches:'' | ||
* -n, --count arg - Number of plots to create (default = 1, -1 = infinite) | *''-n, --count arg - Number of plots to create (default = 1, -1 = infinite)'' | ||
* -r, --threads arg - Number of CPU threads, please keep in mind, that Windows also requires some threads! (default = 4) | *''-r, --threads arg - Number of CPU threads, please keep in mind, that Windows also requires some threads! (default = 4)'' | ||
* -t, --tmpdir arg - Temporary directory (recommended to use a directory on the SSD) minimum required free space: ~220 GiB (default = current directory) | *''-t, --tmpdir arg - Temporary directory (recommended to use a directory on the SSD) minimum required free space: ~220 GiB (default = current directory)'' | ||
* -d, --finaldir arg - Final directory, where the plot will be copied (default = tmpdir) | *''-d, --finaldir arg - Final directory, where the plot will be copied (default = tmpdir)'' | ||
* -p, --poolkey arg - Pool Public Key (48 bytes) | *''-p, --poolkey arg - Pool Public Key (48 bytes)'' | ||
* -f, --farmerkey arg -Farmer Public Key (48 bytes) | *''-f, --farmerkey arg - Farmer Public Key (48 bytes)'' | ||
*''-c, --contract arg - Pool Contract Address (64 chars)'' | |||
*''-K, --rmulti2 arg - Thread multiplier for P2 (default = 1)'' | |||
In case if you don't know your Farmer and Pool keys, then <strong>[[FARM & POOL key|HERE]]</strong> is the help for finding them. | In case if you don't know your Farmer and Pool keys, then <strong>[[FARM & POOL & CONTRACT key|HERE]]</strong> is the help for finding them. | ||
''Special thanks for the help to wacher!'' | ''Special thanks for the help to wacher!'' | ||
''Thanks to pulsewidth for English translation'' | ''Thanks to pulsewidth for English translation'' | ||
---- | ---- | ||
[[Szerkesztő:MZoleee|mZoleee]] | [[Szerkesztő:MZoleee|mZoleee]] |
Latest revision as of 18:15, 26 July 2021
If you have already downloaded MadMax Plotter for Windows (if not, you can find the guide HERE)
and you would like your computer to do continuous plotting, then you need to do the following:
You need one batch (.bat) file (1 by plots, so if you would like to do multiple plots at the same time, then you would require multiple batch files, too.).
It is recommended to put this batch file or files to the same folder as MadMax plotter (chia_plot.exe) resides.
You can make two types of plots:
- old PLOT:
- MADMAX_OLD.bat
:loop
chia_plot.exe -r NUMBER_OF_CPU_THREADS -p POOL_KEY_GOES_HERE -f FARMER_KEY_GOES_HERE -t DRIVE:\TEMPORARY_DIRECTORY -d DRIVE:\FINAL_LOCATION_OF_THE_PLOT
del /s /f /q DRIVE:\TEMPORARY_DIRECTORY*.tmp
goto loop
- NFT Plot:
- MADMAX_NFT.bat
:loop
chia_plot.exe -r NUMBER_OF_CPU_THREADS -f FARMER_KEY_GOES_HERE -c CONTRACT_ADDRESS_GOES_HERE -t DRIVE:\TEMPORARY_DIRECTORY -d DRIVE:\FINAL_LOCATION_OF_THE_PLOT
del /s /f /q DRIVE:\TEMPORARY_DIRECTORY*.tmp
goto loop
IMPORTANT:
- If possible, then please do not use folder names with spaces and special/Unicode/etc. characters in their names, because the plotter would not work.
- You should monitor the free space on your disk(s), because the plotting is continuous, thanks to the batch file(s).
- If you would like to use the -n command line switch, then please delete the lines with ":loop" and "goto loop".
- Sometimes the plotter did not delete the .tmp files from my temporary directory, this is the reason I put the del command in the script.
Some extra help about the command line switches:
- -n, --count arg - Number of plots to create (default = 1, -1 = infinite)
- -r, --threads arg - Number of CPU threads, please keep in mind, that Windows also requires some threads! (default = 4)
- -t, --tmpdir arg - Temporary directory (recommended to use a directory on the SSD) minimum required free space: ~220 GiB (default = current directory)
- -d, --finaldir arg - Final directory, where the plot will be copied (default = tmpdir)
- -p, --poolkey arg - Pool Public Key (48 bytes)
- -f, --farmerkey arg - Farmer Public Key (48 bytes)
- -c, --contract arg - Pool Contract Address (64 chars)
- -K, --rmulti2 arg - Thread multiplier for P2 (default = 1)
In case if you don't know your Farmer and Pool keys, then HERE is the help for finding them.
Special thanks for the help to wacher!
Thanks to pulsewidth for English translation