1
MemoryCoin / Re: [ANN] MMC-Chain.com | New MemoryCoin BlockChain
« on: January 14, 2014, 10:26:49 pm »
Very nice. I added the site to http://memorycoin-qt.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I keep getting an error. Specified data directory does not exist.
Here is my batch file. protoshares-qt.exe --port=3889 --datadir=C:UsersJonAppDataRoamingProtoShares2
I am testing with ProtoShares using FreeTrades technique.
your missing the \ in the datadir
Since you can only mine Protoshares with a CPU and the wallet setgenerate only allows 3 processes per instance because of Win 32, you need to mine with multiple instances. Basically you're creating alternate AppDataRoaming directories for Protoshares to use with each instance you run.
When you first install protoshares, it creates a folder in the appdataroaming directory called ProtoShares. This folder holds the wallet file and other various files the client needs.
Here are the steps to setup multiple instances.
1. Copy the Protoshares folder in the AppDataRoaming directory and rename the folder to ProtoShares-1.
2. Delete the wallet.dat file in the ProtoShares-1 folder you just copied.
3. Go to where you have the protoshares-qt.exe file and the create a text file. Rename the text file to protoshares-1.bat. Please note: if you're someone who doesn't have the extensions turned on in windows then stop here and go watch TV. If you ask the question... I've added the .bat extension to the file and it keeps opening in the text editor... again go back to watching TV.
4. In the new bat file add the following:
protoshares-qt.exe --port=add_any_port_number_here --datadir=C:UsersusernameAppDataRoamingProtoShares-1
So, my bat file looks like this:
protoshares-qt.exe --port=88754 --datadir=C:UsersjimmyAppDataRoamingProtoShares-1
5. Double click on the protoshares-1.bat file which is going to open the new instance of ProtoShares using the newly created AppDataRoamingProtoShares-1 Directory instead of the AppDataRoamingProtoShares directory.
6. When the client opens go to Help > Debug Window > Console and enter setgenerate true 3 and click return. I've found that using the Settings > Mine 3 Processes, results in the generate equaling false when getmininginfo is entered in the console.
Repeat the above steps for multiple instances. Since each AppData directory is going to have a unique wallet.dat file, you have to remember to transfer the coins back to a single wallet. Deleting any of the wallet.dat files in anyone of the AppDataRoaming folders and you will delete the coins in that specific wallet.
Good luck!
This is just a slightly more detailed mini guide to run multiple instances of ProtoShare Client in windows. Credits to FreeTrade who posted the how-to in https://bitcointalk.org/index.php?topic=325261.0.
Example of ProtoShare client location
-------------------------------------
C:\Program Files (x86)\ProtoShares
Default data directory location
-------------------------------
C:\Users\Username\AppData\Roaming\ProtoShares
Steps
-----
1) First create a protoshares.conf file. Create a new .txt file in C:\Users\Username\AppData\Roaming\ProtoShares and rename to protoshares.conf
Edit protoshares.conf with notepad and insert the following without the (description):
port=3888 (Default protoshare port)
gen=1 (Gen=1 will cause the client to start mining upon launch)
genproclimit=x (x is the max number of threads with win32 client; Also ram dependent)
2) Next I duplicated C:\Users\Username\AppData\Roaming\ProtoShares directory and created C:\Users\Username\AppData\Roaming\ProtoShares2, so now I have two data directories:
C:\Users\Username\AppData\Roaming\ProtoShares
C:\Users\Username\AppData\Roaming\ProtoShares2
I deleted the wallet from ProtoShares2 directory because I wanted a separate wallet. Inside ProtoShares2 directory, edit protoshares.conf with notepad:
port=xxxx <= Must change this to another port address e.g. 3889
gen=1
genproclimit=x
3) To launch ProtoShares Client:
1st Instance - Execute "C:\Program Files (x86)\ProtoShares\protoshares-qt.exe" (As normal just double-click)
2nd Instance - Execute "C:\Program Files (x86)\ProtoShares\protoshares-qt.exe -port=xxxx -datadir=C:\Users\Username\AppData\Roaming\ProtoShares2"
You can use a shortcut or .bat file to launch the 2nd Instance.
Hope you find this useful. Good luck.