Ah, thanks for that. That did the job. However, it still says the wallet is corrupted. I was trying to use pywallet but I've been getting an " 'ecdsa' package is not installed, pywallet won't be able to sign/verify messages A mandatory option is missing " I tried installing ecdsa but wasnt sure where to install it, into the python27 folder or program files etc and what exactly I need to do to get it working with python. (I dont know much about python.)
To fix the ecdsa error, you just need to install the ecdsa Python module using pip:
python pip install ecdsa
Although, it's not actually required.
What I'm typing in in the command window is: "python pywallet.py –dumpwallet > wallet.text --passphrase= PASSPHRASE".
Also, I get an "error: no such option: -u" in the command window" unless I change the "-dumpwallet" to "--dumpwallet", so Im not sure if that's a mistake on the part of the website where I copied the python code from or what.
The commandline you're using is wrong.
everything after the > won't be available to pywallet... so, the --passphrase parameter is in the wrong place... also the > command tells the OS where to redirect the output of the script... so instead of displaying it to the screen, it is attempting to write it to a file called "wallet.text --passphrase= PASSPHRASE"
So, try something like this:
python pywallet.py --dumpwallet --datadir=. --passphrase=YOUR_WALLET_PASSPHRASE_GOES_HERE > wallet.text
This assumes that the wallet.dat you're trying to dump info from is in the same folder that pywallet.py is in... and it is called "wallet.dat". Where exactly is your corrupt wallet.dat located and what is the filename?
And finally, it says "pycrypto or libssl not found, decryption may be slow" but Im not sure that's even a problem.
It's not... as it says, it just might slow down the decryption, but you're talking seconds rather than minutes or hours etc.