-snip-
I try do exactly as you said. I went into the bitcoin core in the folder where the exe is located. There I launched a terminal and pointed the path to my broken walletdat
image :
https://clip2net.com/s/4eX740G[/quote]Are you perhaps using an old version of Bitcoin Core, versions before v0.21.0?
If so, you can follow BitMaxz's instructions.