Anyway, if you get "some private keys decrypt but not all", that means your wallet is corrupt. Did you try running:
./pywallet.py --recover --recov_device /path/to/wallet.dat --recov_size 1Gio --recov_outputdir /tmp/pywallet-output
And then check if your private keys are located in the /tmp/pywallet-output folder? It's your best shot at recovering them. You may have to change /tmp/pywallet-output to a different folder if you are using Windows.
in the folder there are just db files and another .dat file, help
Yes you are supposed to run it on the .dat file. The .dat file is your wallet file, you don't need to use the other files called "db" and similar.
First you got to download the
https://github.com/jackjack-jj/pywallet repository from Github, and then install Python 2 (it doesn't work on Python 3 yet). Then
make a copy of the .dat file so that the original .dat file doesn't get destroyed. As I mentioned before, then you can run:
./pywallet.py --recover --recov_device <PUT THE COPY OF THE .DAT FILE'S PATH HERE> --recov_size 1Gio --recov_outputdir /tmp/pywallet-output
i already did this and when i do this in the output folder i get a .dat file when i put it con bitcoinCore my btc disappear can you tell me why? , obviously, i made a backup before i run the command !
Then it will ask you for the password to open your .dat file. Since you remember your password, type it here.
It will look for all the unencrypted private keys, and then attempt to decrypt the encrypted private keys inside the .dat file. It will print the private keys of the ones that it was able to decrypt.