MadMax-Plotter - Command line

From Chia-Wiki
Jump to: navigation, search

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


mZoleee