Would reinstalling the game work? That seems like the best catch-all solution from here.
If you want to keep your save(s) you’ll need to navigate to the directory where the game is and move the “save” folder somewhere else, then you can delete the remaining files. After that, if you use rremyroy’s CDDA Launcher and Updater, you’ll just need to start the updater and choose “Install Game” where the update button would normally be on it. It has to be “Install Game” though, since I’m pretty sure “Update Game” keeps your configurations, including the keybindings.
If you don’t have the Launcher and Updater, then you can manually download the game from the website and extract it to your preferred directory before putting your save folder back.
If you use any mods not included with the main game, you’ll probably also want to remove them from the data/mods folder prior to deleting the game files, unless you have the downloads for the mods so you can replace them again with a fresh copy.