Post
Topic
Board Mining (Altcoins)
Re: XMR-stak-JK 2.4.4 Compiled with no devfee
by
tbearhere
on 07/06/2018, 16:42:11 UTC
@JaredKaragen or anyone.
Looking at the OP it really doesn't show how to put call cpu conf ...call coin conf... call gpu conf... call emr-stak call pool  so I can make a bat file for each algo without disturbing the other coins settings. Very confusing. It could have been made like ccminer so easy to use. Anyone have a nvidia bat file that does muti coins from one folder that the miner is in?
Any help plz.  thx  Smiley  

Well, I think theres a way to specify a different file for each set of settings,

But, if I understand you correctly, you are looking to be able to call xmr-stak similarly to the way ccminer is called?
XMR-stak is a bunch different than most other miner apps in the way its configured......   I would need to figure out a LOT of this guys code locations and structures to rewrite how it works... and I am probably not gonna have that kind of time anytime soon to be frank.


The main premise that makes XMR-stak nicer than the way you launch ccminer; is:
Once you get the host machine set up, you do your first run of xmr-stak, let it take in configs/settings and bench the devices, and you simply need to only call xmr-stak.exe to launch from then on.  It creates its config .txt files to suit your pools config and devices.

If you want multiple instances for multiple devices;  you need multiple folders per device with a copy of the executables in each...   Bench and first run each as normal;  but comment out the devices in each folder's instance/config .txt to only use the devices you wish to use per-instance....



If I am totally wrong above about what you are trying to achieve, LMK... Ill do my best to help.




Thanks JaredKaragen

What I'm trying to do is have one xmr-stak folder and call from a bat. file the coin I want to mine.
But it generates the txt files for only one coin. So if I'm mining bittube ...then ok. But now I want to mine monero from that xmr-stak folder. It will overwrite the .txt folders for bittube I think.
But there is a call from a batch file like this below and I'm not sure if I can call the different algo's from a command line.

Code:
xmr-stak -c bittube

Now if I have a second bat. file like this below what would happen?

Code:
xmr-stak -c monero

This is all I'm trying to do....but these files a regenerated or overwritten I think by xmr-stak.

Code:
Usage: xmr-stak [OPTION]...

  -c, --config FILE     common miner configuration file
  -h, --help            show this help
  --noCPU               disable the CPU miner backend
  --cpu FILE            CPU backend miner config file
  --noAMD               disable the AMD miner backend
  --amd FILE            AMD backend miner config file

The Following options temporary overwrites the config file settings:
  -o, --url URL         pool url and port, e.g. pool.usxmrpool.com:3333
  -u, --user USERNAME   pool user name or wallet address
  -p, --pass PASSWD     pool password, in the most cases x or empty ""

Accounting to this I should be able to do this below except for the algo.

Code:
xmr-stak  -c bittube  --cpu  bittubecpuconf.  -o pool.usxmrpool.com:3333  -u addy  -p x

And name the batfile bittube and then make a shortcut to it to put in my mining coins folder.

Here is someone trying to help out too.
https://bitcointalk.org/index.php?topic=2856278.msg39558852#msg39558852

An example of bittube.
Code:
Usage: bittube-miner [OPTION]...

  -h, --help                 show this help
  -v, --version              show version number
  -V, --version-long         show long version number
  -c, --config FILE          common miner configuration file
  -C, --poolconf FILE        pool configuration file
  --noUAC                    disable the UAC dialog
  --benchmark BLOCKVERSION   ONLY do a 60-second benchmark and exit
  --noCPU                    disable the CPU miner backend
  --cpu FILE                 CPU backend miner config file
  --noAMD                    disable the AMD miner backend
  --noAMDCache               disable the AMD(OpenCL) cache for precompiled binaries
  --openCLVendor VENDOR      use OpenCL driver of VENDOR and devices [AMD,NVIDIA]
                             default: AMD
  --amd FILE                 AMD backend miner config file
  --noNVIDIA                 disable the NVIDIA miner backend
  --nvidia FILE              NVIDIA backend miner config file
  -i --httpd HTTP_PORT       HTTP interface port

The following options can be used for automatic start without a guided config,
If config exists then this pool will be top priority.
  -o, --url URL              pool url and port, e.g. pool.usxmrpool.com:3333
  -O, --tls-url URL          TLS pool url and port, e.g. pool.usxmrpool.com:10443
  -u, --user USERNAME        pool user name or wallet address
  -r, --rigid RIGID          rig identifier for pool-side statistics (needs pool support)
  -p, --pass PASSWD          pool password, in the most cases x or empty ""
  --use-nicehash             the pool should run in nicehash mode
  --currency NAME            currency to mine

Environment variables:

  XMRSTAK_NOWAIT             disable the dialog `Press any key to exit.
                                    for non UAC execution

Supported coin opitons:
        - bittube

Version: bittube-miner 1.1.7 be84883
Brought to by fireice_uk and psychocrypt under GPLv3.
Press any key to exit.
EDIT: Just tried the calls to the conf files that were renamed and no good. I'm just going to put each coin algo in its own separate folder.  Thx


I did this and it works now.  Smiley
Code:
start xmr-stak --config configbittube.txt --poolconf poolmining.bit.tube.txt --cpu cpubittube.txt --nvidia nvidiabittube.txt
exit 0