Kiv / poclbm

PyOpenCL bitcoin miner with a GUI frontend
GNU General Public License v3.0
450 stars 153 forks source link

Looking for a hard-coded path config-file #82

Open ZacWolf opened 11 years ago

ZacWolf commented 11 years ago

I've remapped my appdata folder location, and when I try to start guiminner.exe I'm getting the error:

No such file or directory: 'C:\Users{me}\AppData\Roaming\Bitcoin\bitcoin.conf'

which is no longer where my AppData (and thus bitcoin.conf file) is located.

Can you use the %APPDATA% env variable instead?

Also, I often run a portable version of bitcoin-qt.exe where I specify yet another location for my bitcoin.conf file.

Would it be (or is it already?) possible to set the bitcoin.conf file location in an .ini file?

techman05 commented 11 years ago

Just noting the line for this seems to be https://github.com/Kiv/poclbm/blob/master/guiminer.py#L2234 . I Haven't messed with python and probably should, you could copy the file and fork it and see if you can make change where the file name area and put it there or just find it in the registry and change where it points to.

Hopefully there could be a message box pop up and point to the correct location. Other than that try this forum post if you haven't already. At least it seems this workaround works for them (Regardless they mention security issues). http://forums.guru3d.com/showthread.php?t=346992