Bitcoin Forum
June 16, 2024, 09:03:02 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 [104] 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 »
2061  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 11, 2016, 10:51:50 PM
path is irrelevant TBH.  Batch files are originally meant to be in their home directory and executed as such (typically) originally for being able to execute a common set of commands..  I try to stay as close to the system level and as simple as possible to keep things reliable and easy for the laymen to use/modify....  also less folders, less stress on the partition table, and etc... many reasons.

If you wish to run it from a location, just make a shortcut by right click drag and make a shortcut.  I use a shortcut to the batch in my startup folder.  works fine, no path required.  it adds more mess TBH, and its less versatile as you would need to edit it if you change a filename or directory structure.  Plus, why would you want a million directories when you can just drop the updated executable in the folder and update the batch with just a version number change on the filename.

The 'tasks' do not have the same name;  they have the same executable name.  The quoted algo name while using the "start" command is specifically to title the windows for each algo.

If i did it your way I would have to create a special pointer for each algo, which would just be a placeholder for the algo name.  Seems utterly convoluted to create a variable per algo.  Too much mess.  If I created a lookup table from a TXT file, that would be OK, but I would need to code a program to do that, and that's going too far away from the concept behind this batch considering I am trying to avoid using anything 3rd party.
 
Yes they may all have the same filename, but you are trying to add definition to which one is running...... and in that its making the batch less universal.  It works fine in this manner because it isn't looping multiple code segments, but the loop is just looking for a program in memory continuously...  IF I added up all the code to accomplish your method the code would probably equal 2x the characters of the loop being used.... which actually becomes more chars by your method...

But i've already made it super easy to know which is running just by hovering over the window or taskbar.... so I don't think ill implement path into any of my scripts as the only file changing between versions is the EXE file.  Its much simpler code wise to just look for each program that can be in memory one after another and re-loop once all versions are closed.

If I got out borland and did code an app, i honestly would have it poop out almost the same code I have above....   It's been a LONG time since I have coded a TSR dos program.  But i'd give it a fancy ANSI interface that you could use the arrow keys and navigate fields and edit the data in real-time etc...    But I don't see this happening.


I always unzip the new miner app, then append the version number to filename, then I copy to my current miner directory and update my batch.
2062  Bitcoin / Hardware / Re: What frequency works best for Antminer S7? on: June 11, 2016, 12:57:21 AM
After reading for months, and confirming in this thread;  I am now confident that I have a batch 6 S7.

I run it all over the board freq wise.   Power supply is a re-wired Coolmax 1600.  It has 160A of 12v capability when you utilize 50A of 12v wires inside that are not leading to the PCIE modular ports from the factory.    Exhaust ducted to the outside.

Just a little while ago I set it to 500Mhz and 30% fan speed.   ~69-70* and hashing at 3.32Th average after 21 min.

Typically I have it at 600 and 55% fan speed.  Averaging 4.02Th....  ~50* temp and varies on ambient temp.

I have also upped the clock to 700, and fan speeds on max.   Ran 4.7Th average.  Average temp was ~58-64*.  Power supply liked to warm up pretty good on that run.    Hashed it for 4 days solid with no issues.


After some long runs Ill take screenshots and share.
2063  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 10, 2016, 09:48:59 PM
every once in a while it will want to switch algos pretty quick ive seen.. but its completely random and ive seen it maybe twice?

LMK if it happens more, but otherwise id think its fine.
2064  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 10, 2016, 01:44:18 AM
Looks like someone forgot to change the BTC address in their miner script.   Hopefully you see this message and get it changed before it becomes too much!  Thanks for the donation XD...  Looks like it was a short time.

*edit*  Minor change to the batch.  Link in my sig.  I accidentally used the same jump reference pointer twice.  Feel kind-of stupid for making that mundane of a mistake...  It also does the nearly impossible; which I wanted to do for fun,  but it now provides a counter of how many times the batch loops.

That was the awesome thing about the old borland compiler... very easy to decipher built in debugging =)  And the libraries were a right click away.    A major thing in ANSI based applications using a mouse.
2065  Bitcoin / Hardware / Re: Bitmain's Released Antminer S9, World's First 16nm Miner Ready to Order on: June 10, 2016, 01:40:03 AM
I won't order one until the price reaches ~2BTC.  That seems more than reasonable.  These will replace all my < S7 gear; and ill sell that stuff for pennies probably just to get rid of it or get a hobbyist going.

Plus I want to see where this model's freq and hashrate will be consistent for several batches...  Don't want to see an early batch fiasco like the S7 had.

Ill assume as well in short time a -LN model will be out like the S7.  One can hope....   Makes sense since they did it with the S7... but maybe they are holding out to get max efficiency out of the chip model..  its anyone's best guess there.
2066  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 09, 2016, 11:42:36 PM
I run it at default even when its tailored to JK's machine, because after sometime, my hash increases and get adjusted. I use a GTX 980 Ti and its really running strong, seldom I see KHs now, its all MHs.... I think its because of the new ccminer - maybe

I haven't even looked at the hashrates of v180....   But when I do it will be easy to compare to my normalization numbers.

I do the same thing;  same exact normalization on the dual 750Ti machine.    Works fine;  and ironically it didn't always switch algos at the same times as my other machines running the script.

Side note:  MY buddy took back all of those video cards...  he changed his mind and decided to just sell them all and replace with the lower power consumption of the 750Ti's.....   Sooo... Kinda sucks to have 6 R9-280x-TD video cards slip through my fingers... but I havent even got a test bench together to test them anyways.  Oah well.  They will be hitting ebay soon, and will be listed at untested so i'm told, they also have a lifetime warranty from XFX from what he told me so I think that point is moot anyways. But he said hes gonna set starting bid for each at $100.

*edit* crackfoo:  that's as much of the sig lines as I could fit... lol
2067  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 09, 2016, 11:18:20 PM
np, I've got no idea about the GPUs. I don't have any and never used them before so it's nice to have some advice for the miners.

Sent along a little tip.

cheers

Holy.... you call that a little tip?!?!!! Thanks a million!

Definitely will be put to some good use for sure!  I have been eyeballing one of the new ATI 480 cards... at $200 and 1/2 the power of a GTX 980... sounds promising.  It would give me a chance to get into the ATI side of the mining world to have a backing in that as well.


The GPU thing is definitely different than ASIC's... and the main issue is the fact that all cards are slightly different, and the different generations really add a lot of confusion.  Not to mention the myriad of miner apps and forks thereof....

And of course, if anyone ever has any suggestions I can try and evaluate the need/ability to implement it for you.

It's times like this I should have listened to my mother whom bought the first iphone when there was no "AppStore"... and she forwarded me this email about becoming an app developer....    I would have taken every bit of profit and dumped it into BTC mining/related things.   I kind-of got out of C++ programming when visual C came out.   Didn't want to learn API.  What a mistake that was =)  Maybe I can somehow make a web interface that can pull data from ccminer on your home machine from miners on the local network...  that might be a worthwhile deal.  but Ill be crossing security barriers with windows and pretty much any OS....
2068  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 09, 2016, 11:03:07 PM
Thanks for keeping these GPU'ers in check JK,

is the address in there ok for me to tip? Smiley

Sure.... but its totally not expected... you are doing all the big/hard work with all those expensive servers!!!

I'm still working on how to fit your signature template lines with the yobit sig as well....   I figured out yesterday where I can make edits, so I just gotta get off my butt and get it in there like my miner script link.  Good thing it's also only two lines =)
2069  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 09, 2016, 09:59:46 PM
THANKS!  ELEGANT! --

The copy I made today worked well.  I've since modified it to my liking (2 password strings) and am currently running it.

What card or cards do you use with this?  I am running a single GTX 960.  I am sure that I will have to modify the normalization factors.       --scryptr

I run an ASUS GTX 980.  you can see lots of benchmarks on the "benchs" page.

Note my intensity settings:   I use my machine while its hashing.   I am able to hash and play 3D games, or videos without issues.   If you wish to run against the wall, remove my intensity settings and let them be default except DECRED;  put it at intensity 24-25.

Note the custom difficulties:  I do not suggest running with these yourself... well, be sure to check them.   I am mining from a cellular line and a satellite link.  I need lower diff to prevent massive ratios of stale shares.  algos that needed it were tuned appropriately for my use.   I suggest you delete those out of the script.

You can check the normalization factors if you wish, they will definitely be different, but my guess is since its a 960, it will just be a ratio difference based on how many cuda cores yours lacks compared to my GTX980.

I also run this on a dual 750Ti PC that's in SF.   I have attempted using it with an old GT, but the lack of more than 16 cuda cores... the hashrates are garbage and not worth the time....
2070  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 09, 2016, 10:16:27 AM
https://bitcointalk.org/index.php?topic=1260863.msg15119470#msg15119470

Code in this post has been updated.    Ill just do it this way from now on to not clutter the thread, and link the post like this.

Variables added for the miner app names and inserted into the loop.
Added Variables for miner filenames.   You can see how the loop at the bottom can be copied and incremented as long as you add the next variable above and change it to the same on the copy below.
Added variable for miner ID.  If you don't want one, leave it blank without the comma or anything... I.E:   SET ID=       If you change it, be sure to have the comma at the end.
Added variable for pool address.

It's inefficient to use variables for payout type.  That's just nonsense. lol.  Do it yourself XD

I still have an x11evo miner that doesn't support long passwords, so I made it custom with all the most profitable algos added to it;  so if it does happen to keep two miner apps open at once, it won't for long (theoretically anyways).

But there it is.  Pool has been pretty profitable in recent days.  SHA256 port seems much more stable, though I am still seeing disconnects.  Now that the new algos have real world profitability, its back to jumping between algos a lot more again as well.
2071  Other / Off-topic / Re: ANyone down to make Kriegercoin? [KGC] on: June 09, 2016, 03:40:35 AM
Krugercoin (KGC) has been out for years.. close enough ?
lol.. Damn... not the same.....  Didn't know that though!
2072  Other / Off-topic / ANyone down to make Kriegercoin? [KGC] on: June 09, 2016, 03:01:12 AM


Yes?  No?? Maybe???
2073  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 09, 2016, 02:27:56 AM

I noticed, much appreciated!

And thanks for the link!   I hope this one doesn't have a password bug or ill find out REAL quick... lol!

EDIT: Awesome.  Thanks Dice.  It worked like a champ.  I think Ill consider the "dev" fork a proper one to stay on from now on with the GTX980's; and by the way its looking the 1080's as well.

Next time i make a major update, ill make a variable for the miner app filename itself.... take some redundancy out of updating Wink   Ill take the time in the next day or two and see if my normalization values need changed between versions.... Ill probably end up doing this every time I update the miner app.
2074  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 08, 2016, 11:50:21 PM
well.... I am been using his scripts for awhile, the latest one is clean and slick  Grin

1. change the BTC addy to your own of course (I once mined free for JK awhile back .... that was too funny)
2. removed the CPU and GPU identifier and start the password string to begin with c=BTC...... blah blah blah
3. replaced ccminer 176 to ccminer 180 - very obvious boost for the 980Ti with the new codes - JK have you checked it out?
4. works like a charm - JK's scripts are very good... I wouldn't mind paying a subscription fee to get his weekly optimised versions .... what say you JK?

Glad to help guys!

I havent been watching releases....    Ill have to check into it.  maybe they put x11evo support into 180....


Lol.. subscription?  Haha... im not Xbox or a web provider Wink    But donations are always welcome if you feel the urge!   The same address in the script can be used if you feel the need.... but honestly, I am just glad to get it out there because so many people arent up to snuff on the nuances of batch files and oldskool tech and I have answered a myriad of questions regarding it in the past.

If you dont mind posting the link to the updated 180 version?  As I always seem to find some sort of fork when I go looking....   Thanks!
2075  Other / Off-topic / Re: Do you own any weapons? on: June 08, 2016, 12:37:20 PM


Heres a peek of a little pistol I keep lying around the house....  Perfect for home/property defense.
2076  Bitcoin / Hardware / Re: Bitmain New Miner S7-LN 2.7T @697W discussion (Not official) on: June 08, 2016, 12:24:00 PM
3000rpm doesn't mean anything because the fans on the S1,S3 are different then the fans on the S5,S7.
The latter have some industrial type of delta fans and they were louder at 2500rpm, then the older fans at 3000rpm.

Only way to make this quiet is to undervolt and underclock.

 S5 fans were a FFB or similar series Delta focused flow design in the 3800-4200 RPM range - NOT 3000 RPM or even all that close.
 I don't know what the S3 used, perhaps AFB series Deltas (which ARE quieter at the same RPM but don't handle backpressure very well comparatively)?


They are very low RPM.  I never see more than 2500.

Silent at 1000-1500.
2077  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 08, 2016, 10:56:30 AM
Yeah.   Definitely something wrong with the SIB algo.

I sometimes see poolside hashrate rejected in many multiples of magnitudes of my actual hashrate (pictured)... and submitted shares end up being minutes in between each other;  so default diff is set too high.  Probably .004 is going to be a good minimum diff to start for my 980 itself.  I don't want to set it manually because I want the pool to be able to raise it if necessary.

Screen shot from a little while ago to prove my point:


As you can see, Ive been on the algo for many many hours alone;  and the hashrate on my miner has been pretty steady at just under 1.2Mh.   My share % is all out of whack.    And given how long I have been hashing, I should have definitely surpassed the pile of previous shares previous to me connecting yesterday.

also, here's a copy and paste of the block I found 29 min before typing this:  27% share rate?   When im hashing at 1.1Mh?  And with 3 miners connected presently as i type this now.....  Something is definitely not right...   For the amount of time spent on this algo today,  It should not be this low.

Sib (sib)   4.005197 SIB   27.6051%   0.176629   29m ago   Immature ( 8 )

Out of 29.019 SIB from the two blocks I found, I was only credited 7.65236....

Hopefully all of this helps find the issue.
2078  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 08, 2016, 01:46:24 AM
testing sib.  no hashrate reported at pool.  no asscepted shares after several min at default diff either. (stratum assigns 0.016)
*edit, finally got an accepted share.   hashrate way off though, I am seeing usually 280Kh, when its actually ~1.2Mh..  Also i _was_ the only miner Wink
2079  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 08, 2016, 12:20:19 AM
No worries. I actually already use 3 different versions of ccminer and altered the batch as necessary. I just based mine off your initial construction and wanted to thank you Smiley

Before I was going to batch everything I was planning on breaking out the very old Borland Turbo C 3.5 and coding up my own controller.    I used to love playing with the CGA/EGA graphics library it had when I went through high school.   We were the first grade school in California to have IBM PC's, then the first to offer a computer repair class, then the first to have a state certified C++ class.  I actually got a state certification for passing.  I was always taking the simple programs we were supposed to code and turning them into graphical masterpieces.   Such as the old rook traveling through every space on the board in the least amount of moves challenge.  I made a chessboard graphically and everything.   Mind you we were on 386 and 486 machines.

For our final we had to make an app with a class function and implement it as an object for the program to use and manipulate.   I had just found out about _int13 graphics... so I wrote a "LightCycle" class and made a tron arcade game remake.   It was interesting overall to use Mode13 because the simple things we take for granted like plotting a circle;  it quite a different concept when you code it:

Y=w±sqrt(r²+(x-h)²)
For symmetry: W == H == R
but you can mess with them to change the circle's properties.
Its more convoluted in code form for sure.... But I even stumped many of my math teachers on graphing a circle back then =)
If anyone has a DOS and Mode13 capable retro pc around with a VGA card;  I can give you the link to a modified copy of my tron app which is a Nibbles remake.   I suggest a 486DX2-66 or DX4-100.  Anything faster and it can be.....    well, you ll find out.  Be sure to not modify the file at all, and that it is named correctly or it will know.
 http://nomadpaintball.tripod.com/nibbles.zip
2080  Alternate cryptocurrencies / Pools (Altcoins) / Re: █▓▒░-< [ZPOOL.CA][BTC Multipool] The miners multipool >-░▒▓█ Decred (DCR) Mining on: June 07, 2016, 09:41:45 PM
great script. thank you!

For ccminer 1.7.6/1.8.0: Click Here
For the x11evo fork I am using: Click Here
For Instructions at forcing P0 State: Click Here
For the Nicehash miner which contains optimized bianaries: Click Here
How to normalize your CPU/GPU: Click Here
For GTX 750Ti Normalization values: Click Here
For GTX 980 Normalization values: See my batch file below.

Guys please:  don't re-comment the code section, it will help keep old versions from getting reposted because this is the post I will update from now on.


Save this to your ccminer directory as <insert witty name here>.bat
I have now dropped all versions of ccminer in C:\zPool.ca as well as all of my batch files.   All of my statements towards use of my batch will assume you have taken this step.

From now on I will be leaving all algo's off that I deem are not useful for me to mine.   others may have different opinions, but this is how it is.  Its simple to add them back in, please reference the comments for V1.06

V1.07b Beta.
Implementd dynamic use of algo name in pool URL
Add ability to select video card(s) per-batch.  In essence, be able to run one batch per video card.   One card drops, you handle it in a separate way.... different diff per-device so that share freq per provided hashrate on your end can be more consistent as if they were in separate machines. Be sure to set this as per comments in the batch file.[/i]
Code:
@echo off
SETLOCAL EnableExtensions
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET DEV=0,1
SET ID=JKi,
REM NOTE:  ADDY is where you put in your wallet address.  DEV is for device numbers to mine on.  If you have
REM        two video cards, then you will leave it as 'SET DEV=0,1' as it comes.  If you wish to only use your second
REM        and third video cards, you would use:   'SET DEV=1,2'... and so on.  ID is just a string to
REM        identify your miner's connection on the wallet page via the password field preview displayed.
REM
SET A=ccminer180.exe
SET B=ccminerx11e.exe
SET C=ccminerlyra2.exe
SET D=ccminerNS.exe
SET E=ccminerlbry.exe
REM NOTE:  A,B,C,D&E are all the ccminer file-names.  You should be able to use path:\to\ccminer.exe if you
REM        so desire.  I highly suggest putting a copy of each ccminer version you are using, in one folder
REM        with this naming structure to keep it simple.
REM
SET POOL=mine.zpool.ca
SET COUNTER=0
SET LAST=N/A
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET A18=x11evo
SET A19=lbry
REM NOTE: Above are all the algos listed with a shorter pointer name.  You can use this reference to disable
REM       an algo in the lines below beginning with 'start "%DEV%:%...' by using the REM command before them
REM       just like you see used to comment this text you are reading.  Be sure to add/remove
REM       the corresponding algo's normalization in the 'SET PASS=%ID...' line.  The currently disabled ones
REM       can be found at the bottom of this batch file outside the main loop.
REM
COLOR 0A
:START
SET CURRENT=NONE
SET /A COUNTER=%COUNTER%+1
SET PASS=%ID%c=BTC,x17=5.2,nist5=8.0,x11evo=7.7,sib=1.1,x13=6.8,x14=7.0,x15=5.6,x11=8.2,qubit=12.5,lyra2v2=22.0,lbry=157.0,stats
ECHO Starting miner processes....
START "%DEV%:%A01%" /min %A% -d %DEV% -r 0 -a %A01% -i 17.5 -o stratum+tcp://%A01%.%POOL%:3633 -u %ADDY% -p %PASS%
START "%DEV%:%A02%" /min %A% -d %DEV% -r 0 -a %A02% -i 17.5 -o stratum+tcp://%A02%.%POOL%:3533 -u %ADDY% -p %PASS%
START "%DEV%:%A03%" /min %A% -d %DEV% -r 0 -a %A03% -i 17.2 -o stratum+tcp://%A03%.%POOL%:4733 -u %ADDY% -p %PASS%
START "%DEV%:%A04%" /min %A% -d %DEV% -r 0 -a %A04% -i 17.5 -o stratum+tcp://%A04%.%POOL%:3733 -u %ADDY% -p %PASS%
START "%DEV%:%A05%" /min %C% -d %DEV% -r 0 -a %A05% -i 17.2 -o stratum+tcp://%A05%.%POOL%:4533 -u %ADDY% -p %PASS%
REM START "%DEV%:%A06%" /min %D% -d %DEV% -r 0 -a %A06% -i 15.0 -o stratum+tcp://%A06%.%POOL%:4233 -u %ADDY% -p %PASS%
REM START "%DEV%:%A07%" /min %A% -d %DEV% -r 0 -a %A07% -i 23.0 -o stratum+tcp://%A07%.%POOL%:5744 -u %ADDY% -p %PASS%
REM START "%DEV%:%A08%" /min %A% -d %DEV% -r 0 -a %A08% -i 26.0 -o stratum+tcp://%A08%.%POOL%:5743 -u %ADDY% -p %PASS%
REM START "%DEV%:%A09%" /min %A% -d %DEV% -r 0 -a %A09% -i 17.5 -o stratum+tcp://%A09%.%POOL%:3573 -u %ADDY% -p %PASS%
REM START "%DEV%:%A10%" /min %A% -d %DEV% -r 0 -a %A10% -i 17.5 -o stratum+tcp://%A10%.%POOL%:4033 -u %ADDY% -p %PASS%
REM START "%DEV%:%A11%" /min %A% -d %DEV% -r 0 -a %A11% -i 17.0 -o stratum+tcp://%A11%.%POOL%:5333 -u %ADDY% -p %PASS%
REM START "%DEV%:%A12%" /min %A% -d %DEV% -r 0 -a %A12% -i 22.0 -o stratum+tcp://%A12%.%POOL%:5766 -u %ADDY% -p %PASS%
START "%DEV%:%A13%" /min %A% -d %DEV% -r 0 -a %A13% -i 19.0 -o stratum+tcp://%A13%.%POOL%:3933 -u %ADDY% -p %PASS%
START "%DEV%:%A14%" /min %A% -d %DEV% -r 0 -a %A14% -i 17.0 -o stratum+tcp://%A14%.%POOL%:3737 -u %ADDY% -p %PASS%
START "%DEV%:%A15%" /min %A% -d %DEV% -r 0 -a %A15% -i 17.5 -o stratum+tcp://%A15%.%POOL%:3833 -u %ADDY% -p %PASS%
REM START "%DEV%:%A16%" /min %A% -d %DEV% -r 0 -a %A16% -i 17.5 -o stratum+tcp://%A16%.%POOL%:4933 -u %ADDY% -p %PASS%
START "%DEV%:%A17%" /min %A% -d %DEV% -r 0 -a %A17% -i 15.0 -o stratum+tcp://%A17%.%POOL%:5033 -u %ADDY% -p %PASS%
START "%DEV%:%A18%" /min %B% -d %DEV% -r 0 -a %A18% -i 17.0 -o stratum+tcp://%A18%.%POOL%:3553 -u %ADDY% -p %PASS%
START "%DEV%:%A19%" /min %E% -d %DEV% -r 0 -a %A19% -i 17.0 -o stratum+tcp://%A19%.%POOL%:3334 -u %ADDY% -p %PASS%
ECHO Miner processes started.  Waiting for connections to resolve.
CHOICE /c · /n /t 20 /d ·
REM NOTE: If your machine needs more time to wait for the instances of ccminer to close, modify the above line's value
REM       of '20' to the number of seconds you wish it to wait.
REM
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A01%"') DO IF %%x == %A% SET CURRENT=%A01%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A02%"') DO IF %%x == %A% SET CURRENT=%A02%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A03%"') DO IF %%x == %A% SET CURRENT=%A03%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A04%"') DO IF %%x == %A% SET CURRENT=%A04%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%A05%"') DO IF %%x == %C% SET CURRENT=%A05%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%A06%"') DO IF %%x == %D% SET CURRENT=%A06%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A07%"') DO IF %%x == %A% SET CURRENT=%A07%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A08%"') DO IF %%x == %A% SET CURRENT=%A08%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A09%"') DO IF %%x == %A% SET CURRENT=%A09%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A10%"') DO IF %%x == %A% SET CURRENT=%A10%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A11%"') DO IF %%x == %A% SET CURRENT=%A11%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A12%"') DO IF %%x == %A% SET CURRENT=%A12%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A13%"') DO IF %%x == %A% SET CURRENT=%A13%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A14%"') DO IF %%x == %A% SET CURRENT=%A14%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A15%"') DO IF %%x == %A% SET CURRENT=%A15%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A16%"') DO IF %%x == %A% SET CURRENT=%A16%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A17%"') DO IF %%x == %A% SET CURRENT=%A17%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%A18%"') DO IF %%x == %B% SET CURRENT=%A18%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%A19%"') DO IF %%x == %E% SET CURRENT=%A19%
REM Algo detection for display purposes only.
REM
ECHO Currently mining: %CURRENT%
ECHO Total number of algo switches:  %COUNTER%
ECHO Previously mining: %LAST%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %A% ECHO Waiting for %A% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %B% ECHO Waiting for %B% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %C% ECHO Waiting for %C% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %D% ECHO Waiting for %D% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %E% ECHO Waiting for %E% to close...
REM Above checks processes for all instance-names of ccminer, and displays which one is running.
REM
:END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %A% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %B% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %C% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %D% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %E% goto END1
REM Checking processes for ccminer, if any version found, start looking again until none is found to continue
REM
SET LAST=%CURRENT%
CLS
GOTO START


JK's nVidia zPool Miner Batch V1.07b
,neoscrypt=0.651
,decred=1.7
,skein=293.0
,blake2s=1.2
,c11=8.3
,groestl=24.5
,quark=11.5
,blakecoin=1.4

V0.1.0 This is the "Lite" profit switching script that rotates through the algos one at a time.  If you have issues using my regular batch.... please use this version instead.  It isn't as efficient, but will solve the problems with multiple instances of ccminer running, or poor algo detection in the script.
Code:
@echo off
SETLOCAL EnableExtensions
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET DEV=0,1
SET ID=JKi,
SET A=ccminer180.exe
SET B=ccminerx11e.exe
SET C=ccminerlyra2.exe
SET D=ccminerNS.exe
SET E=ccminerlbry.exe
SET POOL=mine.zpool.ca
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET A18=x11evo
SET A19=lbry
:start
SET PASS=%ID%c=BTC,x17=5.2,nist5=8.0,x11evo=7.7,sib=1.1,x13=6.8,x14=7.0,x15=5.6,x11=8.2,qubit=12.5,lyra2v2=22.0,lbry=157.0,stats
ECHO Starting miner processes....
%A% -d %DEV% -r 0 -a %A01% -i 17.5 -o stratum+tcp://%A01%.%POOL%:3633 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A02% -i 17.5 -o stratum+tcp://%A02%.%POOL%:3533 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A03% -i 17.2 -o stratum+tcp://%A03%.%POOL%:4733 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A04% -i 17.5 -o stratum+tcp://%A04%.%POOL%:3733 -u %ADDY% -p %PASS%
%C% -d %DEV% -r 0 -a %A05% -i 17.2 -o stratum+tcp://%A05%.%POOL%:4533 -u %ADDY% -p %PASS%
REM %D% -d %DEV% -r 0 -a %A06% -i 15.0 -o stratum+tcp://%A06%.%POOL%:4233 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A07% -i 23.0 -o stratum+tcp://%A07%.%POOL%:5744 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A08% -i 26.0 -o stratum+tcp://%A08%.%POOL%:5743 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A09% -i 17.5 -o stratum+tcp://%A09%.%POOL%:3573 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A10% -i 17.5 -o stratum+tcp://%A10%.%POOL%:4033 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A11% -i 17.0 -o stratum+tcp://%A11%.%POOL%:5333 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A12% -i 22.0 -o stratum+tcp://%A12%.%POOL%:5766 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A13% -i 19.0 -o stratum+tcp://%A13%.%POOL%:3933 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A14% -i 17.0 -o stratum+tcp://%A14%.%POOL%:3737 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A15% -i 17.5 -o stratum+tcp://%A15%.%POOL%:3833 -u %ADDY% -p %PASS%
REM %A% -d %DEV% -r 0 -a %A16% -i 17.5 -o stratum+tcp://%A16%.%POOL%:4933 -u %ADDY% -p %PASS%
%A% -d %DEV% -r 0 -a %A17% -i 15.0 -o stratum+tcp://%A17%.%POOL%:5033 -u %ADDY% -p %PASS%
%B% -d %DEV% -r 0 -a %A18% -i 17.0 -o stratum+tcp://%A18%.%POOL%:3553 -u %ADDY% -p %PASS%
%E% -d %DEV% -r 0 -a %A19% -i 17.0 -o stratum+tcp://%A19%.%POOL%:3334 -u %ADDY% -p %PASS%
GOTO start


JK's nVidia zPool Miner Batch Lite V0.1.0
,neoscrypt=0.651
,decred=1.7
,skein=293.0
,blake2s=1.2
,c11=8.3
,groestl=24.5
,quark=11.5
,blakecoin=1.4

V1.06
I have disabled many algos and commented their normalizations at the bottom.  Follow instructions from 1.05 to set up if just starting off. I am removing this feature from future versions, please do not run as administrator and it will run and just return an error code but continue as normal.
Notice to disable an algo;  see how I used the REM command;  that effectively just comments that line.  From there I removed the algo from the password string and pasted it to the bottom of the batch.
Knowing this, it is easy to add the algos back in.  Just look for the "SET" pointer name near the top to see which one it is.

Code:
@echo off
SETLOCAL EnableExtensions
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET VIDEO=3505,1443
SET A=ccminer180.exe
SET B=ccminerx11e.exe
SET C=ccminerlyra2.exe
SET D=ccminerNS.exe
SET E=ccminerlbry.exe
SET ID=JKi,
SET POOL=stratum+tcp://mine.zpool.ca
SET COUNTER=0
SET CURRENT=NONE
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET B01=x11evo
SET E01=lbry
COLOR 0A
:start
c:\progra~1\nvidia~1\NVSMI\nvidia-smi.exe -ac %VIDEO%
SET /A COUNTER=%COUNTER%+1
SET PASS=%ID%c=BTC,x17=5.2,nist5=8.0,x11evo=7.7,sib=1.1,x13=6.8,x14=7.0,x15=5.6,x11=8.2,qubit=12.5,lyra2v2=22.0,blakecoin=1.4,blake2s=1.2,stats
ECHO Starting miner processes....
start "%A01%" /min %A% -r 0 -a %A01% -i 17.5 -o %POOL%:3633 -u %ADDY% -p %PASS%
start "%A02%" /min %A% -r 0 -a %A02% -i 17.5 -o %POOL%:3533 -u %ADDY% -p %PASS%
start "%A03%" /min %A% -r 0 -a %A03% -i 17.2 -o %POOL%:4733 -u %ADDY% -p %PASS%
start "%A04%" /min %A% -r 0 -a %A04% -i 17.5 -o %POOL%:3733 -u %ADDY% -p %PASS%
start "%A05%" /min %C% -r 0 -a %A05% -i 17.2 -o %POOL%:4533 -u %ADDY% -p %PASS%
REM start "%A06%" /min %D% -r 0 -a %A06% -i 15.0 -o %POOL%:4233 -u %ADDY% -p %PASS%
REM start "%A07%" /min %A% -r 0 -a %A07% -i 23.0 -o %POOL%:5744 -u %ADDY% -p %PASS%
start "%A08%" /min %A% -r 0 -a %A08% -i 26.0 -o %POOL%:5743 -u %ADDY% -p %PASS%
REM start "%A09%" /min %A% -r 0 -a %A09% -i 17.5 -o %POOL%:3573 -u %ADDY% -p %PASS%
REM start "%A10%" /min %A% -r 0 -a %A10% -i 17.5 -o %POOL%:4033 -u %ADDY% -p %PASS%
REM start "%A11%" /min %A% -r 0 -a %A11% -i 17.0 -o %POOL%:5333 -u %ADDY% -p %PASS%
start "%A12%" /min %A% -r 0 -a %A12% -i 22.0 -o %POOL%:5766 -u %ADDY% -p %PASS%
start "%A13%" /min %A% -r 0 -a %A13% -i 19.0 -o %POOL%:3933 -u %ADDY% -p %PASS%
start "%A14%" /min %A% -r 0 -a %A14% -i 17.0 -o %POOL%:3737 -u %ADDY% -p %PASS%
start "%A15%" /min %A% -r 0 -a %A15% -i 17.5 -o %POOL%:3833 -u %ADDY% -p %PASS%
REM start "%A16%" /min %A% -r 0 -a %A16% -o %POOL%:4933 -u %ADDY% -p %PASS%
start "%A17%" /min %A% -r 0 -a %A17% -i 15.0 -o %POOL%:5033 -u %ADDY% -p %PASS%
start "%B01%" /min %B% -r 0 -a %B01% -i 17.0 -o %POOL%:3553 -u %ADDY% -p %PASS%
REM start "%E01%" /min %E% -r 0 -a %E01% -i 17.0 -o %POOL%:3334 -u %ADDY% -p %PASS%
ECHO Miner processes started.  Waiting for connections to resolve.
ECHO Don't be tempted, don't press any key to continue, let it work ...
TIMEOUT 20
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A01%"') DO IF %%x == %A% SET CURRENT=%A01%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A02%"') DO IF %%x == %A% SET CURRENT=%A02%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A03%"') DO IF %%x == %A% SET CURRENT=%A03%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A04%"') DO IF %%x == %A% SET CURRENT=%A04%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %A05%"') DO IF %%x == %C% SET CURRENT=%A05%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %A06%"') DO IF %%x == %D% SET CURRENT=%A06%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A07%"') DO IF %%x == %A% SET CURRENT=%A07%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A08%"') DO IF %%x == %A% SET CURRENT=%A08%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A09%"') DO IF %%x == %A% SET CURRENT=%A09%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A10%"') DO IF %%x == %A% SET CURRENT=%A10%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A11%"') DO IF %%x == %A% SET CURRENT=%A11%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A12%"') DO IF %%x == %A% SET CURRENT=%A12%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A13%"') DO IF %%x == %A% SET CURRENT=%A13%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A14%"') DO IF %%x == %A% SET CURRENT=%A14%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A15%"') DO IF %%x == %A% SET CURRENT=%A15%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A16%"') DO IF %%x == %A% SET CURRENT=%A16%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A17%"') DO IF %%x == %A% SET CURRENT=%A17%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %B01%"') DO IF %%x == %B% SET CURRENT=%B01%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %E01%"') DO IF %%x == %E% SET CURRENT=%E01%
ECHO Currently mining: %CURRENT%
ECHO Total number of algo switches:  %COUNTER%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %A% ECHO Waiting for %A% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %B% ECHO Waiting for %B% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %C% ECHO Waiting for %C% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %D% ECHO Waiting for %D% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %E% ECHO Waiting for %E% to close...
:END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %A% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %B% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %C% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %D% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %E% goto END1
SET CURRENT=NONE
cls
GOTO start


JK's nVidia zPool Miner Batch V1.06
,neoscrypt=0.651
,decred=1.7
,skein=293.0
,lbry=157.0
,c11=8.3
,groestl=24.5
,quark=11.5

V1.05
Special Instructions:
First things first Find your video card settings for forcing P-state on your video card, and then put them in the "SET VIDEO=3505,1443" line replacing my numbers.

Second, open a command prompt window and type "path" and hit enter.  You should see a line similar to my line "PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;%PTH%".   Copy your path line over so that its replacing mine, but be sure to add the %PTH% after.

Now, put your miner apps and the batch file into a folder in the root directory as I have defined in the batch, or modify it... but I suggest to keep it simple for now.

When you run the batch, run it as administrator to enable to forcing p-state function.... otherwise, it wont have permissions to force P state.  This is a limitation of the NVPSMI utility.

If people don't like this feature;  I will disable it.. but for me... it helps keep the card from getting locked into p2/5/8 states.

Timer is left for now... but as you can see.. its not accurate.  It's a hack job for sure.. just eats up wait cycles as well as starts and stops an extra thread per cycle (second).

Code:
@echo off
SETLOCAL EnableExtensions
SET PTH=c:\zPool.ca\;
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;%PTH%
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET VIDEO=3505,1443
SET A=ccminer180.exe
SET B=ccminerx11evo.exe
SET C=ccminerlyra2.exe
SET D=ccminerNS.exe
SET ID=JKi,
SET POOL=stratum+tcp://mine.zpool.ca
SET COUNTER=0
SET CURRENT=NONE
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET B01=x11evo
COLOR 0A
:start
start c:\progra~1\nvidia~1\NVSMI\nvidia-smi.exe -ac %VIDEO%
SET /A COUNTER=%COUNTER%+1
SET CCS=0
SET CCM=0
SET CCH=0
SET PASS=%ID%c=BTC,x17=5.2,nist5=8.0,x11evo=7.7,sib=1.1,decred=1.7,x13=6.8,x14=7.0,x15=5.6,x11=8.2,qubit=12.5,lyra2v2=22.0,neoscrypt=0.651,blakecoin=1.4,c11=8.3,quark=11.5,groestl=24.5,blake2s=1.2,stats
ECHO Starting miner processes....
start "%A01%" /min %A% -r 0 -a %A01% -i 17.5 -o %POOL%:3633 -u %ADDY% -p %PASS%
start "%A02%" /min %A% -r 0 -a %A02% -i 17.5 -o %POOL%:3533 -u %ADDY% -p %PASS%
start "%A03%" /min %A% -r 0 -a %A03% -i 17.2 -o %POOL%:4733 -u %ADDY% -p %PASS%
start "%A04%" /min %A% -r 0 -a %A04% -i 17.5 -o %POOL%:3733 -u %ADDY% -p %PASS%
start "%A05%" /min %C% -r 0 -a %A05% -i 17.2 -o %POOL%:4533 -u %ADDY% -p %PASS%
start "%A06%" /min %D% -r 0 -a %A06% -i 16.0 -o %POOL%:4233 -u %ADDY% -p %PASS%
start "%A07%" /min %A% -r 0 -a %A07% -i 23.0 -o %POOL%:5744 -u %ADDY% -p %PASS%
start "%A08%" /min %A% -r 0 -a %A08% -i 26.0 -o %POOL%:5743 -u %ADDY% -p %PASS%
start "%A09%" /min %A% -r 0 -a %A09% -i 17.5 -o %POOL%:3573 -u %ADDY% -p %PASS%
start "%A10%" /min %A% -r 0 -a %A10% -i 17.5 -o %POOL%:4033 -u %ADDY% -p %PASS%
start "%A11%" /min %A% -r 0 -a %A11% -i 17.0 -o %POOL%:5333 -u %ADDY% -p %PASS%
start "%A12%" /min %A% -r 0 -a %A12% -i 22.0 -o %POOL%:5766 -u %ADDY% -p %PASS%
start "%A13%" /min %A% -r 0 -a %A13% -i 19.0 -o %POOL%:3933 -u %ADDY% -p %PASS%
start "%A14%" /min %A% -r 0 -a %A14% -i 17.0 -o %POOL%:3737 -u %ADDY% -p %PASS%
start "%A15%" /min %A% -r 0 -a %A15% -i 17.5 -o %POOL%:3833 -u %ADDY% -p %PASS%
start "%A17%" /min %A% -r 0 -a %A17% -i 15.0 -o %POOL%:5033 -u %ADDY% -p %PASS%
start "%B01%" /min %B% -r 0 -a %B01% -i 17.0 -o %POOL%:3553 -u %ADDY% -p %PASS%
CHOICE /c · /n /t 20 /d ·
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A01%"') DO IF %%x == %A% SET CURRENT=%A01%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A02%"') DO IF %%x == %A% SET CURRENT=%A02%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A03%"') DO IF %%x == %A% SET CURRENT=%A03%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A04%"') DO IF %%x == %A% SET CURRENT=%A04%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %A05%"') DO IF %%x == %C% SET CURRENT=%A05%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %A06%"') DO IF %%x == %D% SET CURRENT=%A06%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A07%"') DO IF %%x == %A% SET CURRENT=%A07%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A08%"') DO IF %%x == %A% SET CURRENT=%A08%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A09%"') DO IF %%x == %A% SET CURRENT=%A09%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A10%"') DO IF %%x == %A% SET CURRENT=%A10%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A11%"') DO IF %%x == %A% SET CURRENT=%A11%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A12%"') DO IF %%x == %A% SET CURRENT=%A12%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A13%"') DO IF %%x == %A% SET CURRENT=%A13%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A14%"') DO IF %%x == %A% SET CURRENT=%A14%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A15%"') DO IF %%x == %A% SET CURRENT=%A15%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A16%"') DO IF %%x == %A% SET CURRENT=%A16%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A17%"') DO IF %%x == %A% SET CURRENT=%A17%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %B01%"') DO IF %%x == %B% SET CURRENT=%B01%
:wait1
CHOICE /c · /n /t 1 /d ·
CLS
ECHO -------------------------------------------------------------------------------
ECHO Currently mining: %CURRENT%
ECHO Time spent on current algo:  %CCH%h %CCM%m %CCS%s
ECHO Total number of algo switches:  %COUNTER%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %A% ECHO Waiting for %A% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %B% ECHO Waiting for %B% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %C% ECHO Waiting for %C% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %D% ECHO Waiting for %D% to close...
SET /A CCS=%CCS%+1
IF %CCS% == 60 GOTO MIN1
GOTO HRCHK1
:MIN1
SET /A CCM=%CCM%+1
SET /A CCS=0
:HRCHK1
IF %CCM% == 60 GOTO HOUR1
GOTO END1
:HOUR1
SET /A CCH=%CCH%+1
SET /A CCM=0
:END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %A% goto wait1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %B% goto wait1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %C% goto wait1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %CURRENT%"') DO IF %%x == %D% goto wait1
SET CURRENT=NONE
GOTO start


JK's nVidia zPool Miner Batch V1.05
start "%A16%" /min %A% -r 0 -a %A16% -o %POOL%:4933 -u %ADDY% -p %PASS%
,skein=293.0

V1.03
Code:
@echo off
SETLOCAL EnableExtensions
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET A=ccminer180.exe
SET B=ccminerx11evo.exe
SET ID=JKi,
SET POOL=stratum+tcp://mine.zpool.ca
SET COUNTER=0
SET CURRENT=NONE
SET A1=x13
SET A2=x11
SET A3=qubit
SET A4=x15
SET A5=lyra2v2
SET A6=neoscrypt
SET A7=decred
SET A8=blakecoin
SET A9=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET B1=x11evo
:start
SET /A COUNTER=%COUNTER%+1
SET CCS=0
SET CCM=0
SET CCH=0
SET PASS=%ID%c=BTC,x11=8.2,x13=6.8,qubit=12.5,x15=5.6,lyra2v2=9.6,neoscrypt=0.378,decred=1.7,blakecoin=1.4,c11=8.8,quark=11.5,groestl=24.5,blake2s=1.2,x14=7.0,x17=5.2,nist5=8.0,x11evo=8.2,skein=293.0,sib=1.1,stats
CLS
COLOR 0F
ECHO Starting miner apps....
start "%A1%" /min %A% -r 0 -a %A1% -i 17.5 -o %POOL%:3633 -u %ADDY% -p %PASS%,d=0.004
start "%A2%" /min %A% -r 0 -a %A2% -i 17.5 -o %POOL%:3533 -u %ADDY% -p %PASS%,d=0.002
start "%A3%" /min %A% -r 0 -a %A3% -i 17.2 -o %POOL%:4733 -u %ADDY% -p %PASS%,d=0.004
start "%A4%" /min %A% -r 0 -a %A4% -i 17.5 -o %POOL%:3733 -u %ADDY% -p %PASS%,d=0.01
start "%A5%" /min %A% -r 0 -a %A5% -i 17.2 -o %POOL%:4533 -u %ADDY% -p %PASS%,d=1
start "%A6%" /min %A% -r 0 -a %A6% -i 16 -o %POOL%:4233 -u %ADDY% -p %PASS%
start "%A7%" /min %A% -r 0 -a %A7% -i 23 -o %POOL%:5744 -u %ADDY% -p %PASS%,d=0.5
start "%A8%" /min %A% -r 0 -a %A8% -o %POOL%:5743 -u %ADDY% -p %PASS%
start "%A9%" /min %A% -r 0 -a %A9% -i 19.5 -o %POOL%:3573 -u %ADDY% -p %PASS%
start "%A10%" /min %A% -r 0 -a %A10% -i 17.5 -o %POOL%:4033 -u %ADDY% -p %PASS%
start "%A11%" /min %A% -r 0 -a %A11% -o %POOL%:5333 -u %ADDY% -p %PASS%
start "%A12%" /min %A% -r 0 -a %A12% -i 22 -o %POOL%:5766 -u %ADDY% -p %PASS%,d=0.4
start "%A13%" /min %A% -r 0 -a %A13% -o %POOL%:3933 -u %ADDY% -p %PASS%
start "%A14%" /min %A% -r 0 -a %A14% -i 17.5 -o %POOL%:3737 -u %ADDY% -p %PASS%
start "%A15%" /min %A% -r 0 -a %A15% -i 17.5 -o %POOL%:3833 -u %ADDY% -p %PASS%
start "%A16%" /min %A% -r 0 -a %A16% -o %POOL%:4933 -u %ADDY% -p %PASS%
start "%A17%" /min %A% -r 0 -a %A17% -i 15 -o %POOL%:5033 -u %ADDY% -p %PASS%
start "%B1%" /min %B% -r 0 -a %B1% -o %POOL%:3553 -u %ADDY% -p neoscrypt=0.378,x14=7.0,x15=5.6,x17=5.2,nist5=8.0,x11evo=8.2,blake2s=1.2,skein=293.0,sib=1.1,c11=8.8,stats
CHOICE /c · /n /t 20 /d ·
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A1%"') DO IF %%x == %A% SET CURRENT=%A1%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A2%"') DO IF %%x == %A% SET CURRENT=%A2%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A3%"') DO IF %%x == %A% SET CURRENT=%A3%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A4%"') DO IF %%x == %A% SET CURRENT=%A4%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A5%"') DO IF %%x == %A% SET CURRENT=%A5%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A6%"') DO IF %%x == %A% SET CURRENT=%A6%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A7%"') DO IF %%x == %A% SET CURRENT=%A7%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A8%"') DO IF %%x == %A% SET CURRENT=%A8%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A9%"') DO IF %%x == %A% SET CURRENT=%A9%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A10%"') DO IF %%x == %A% SET CURRENT=%A10%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A11%"') DO IF %%x == %A% SET CURRENT=%A11%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A12%"') DO IF %%x == %A% SET CURRENT=%A12%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A13%"') DO IF %%x == %A% SET CURRENT=%A13%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A14%"') DO IF %%x == %A% SET CURRENT=%A14%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A15%"') DO IF %%x == %A% SET CURRENT=%A15%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A16%"') DO IF %%x == %A% SET CURRENT=%A16%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %A17%"') DO IF %%x == %A% SET CURRENT=%A17%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %B1%"') DO IF %%x == %B% SET CURRENT=%B1%
COLOR 0A
:wait1
CHOICE /c · /n /t 1 /d ·
CLS
ECHO -------------------------------------------------------------------------------
ECHO Currently mining: %CURRENT%
ECHO Time spent on current algo:  %CCH%h %CCM%m %CCS%s
ECHO Total number of algo switches:  %COUNTER%
ECHO Waiting for %A% to close...
SET /A CCS=%CCS%+1
IF %CCS% == 60 GOTO MIN1
GOTO HRCHK1
:MIN1
SET /A CCM=%CCM%+1
SET /A CCS=0
:HRCHK1
IF %CCM% == 60 GOTO HOUR1
GOTO END1
:HOUR1
SET /A CCH=%CCH%+1
SET /A CCM=0
:END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%"') DO IF %%x == %A% goto wait1
:wait2
CHOICE /c · /n /t 1 /d ·
CLS
ECHO ---------------------------------------------------------------------------------
ECHO Currently mining: %CURRENT%
ECHO Time spent on current algo:  %CCH%h %CCM%m %CCS%s
ECHO Total number of algo switches:  %COUNTER%
ECHO Waiting for %B% to close...
SET /A CCS=%CCS%+1
IF %CCS% == 60 GOTO MIN2
GOTO HRCHK2
:MIN2
SET /A CCM=%CCM%+1
SET /A CCS=0
:HRCHK2
IF %CCM% == 60 GOTO HOUR2
GOTO END2
:HOUR2
SET /A CCH=%CCH%+1
SET /A CCM=0
:END2
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%"') DO IF %%x == %B% goto wait2
SET CURRENT=NONE
GOTO start

JK's nVidia zPool Miner Batch V1.03
Pages: « 1 ... 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 [104] 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!