Future: Make daily backups. Keep three stages of backups. Test the backups, they can become currupt, too. Yes, I’m doing this, since I lost a HD to to a hardware error. It happens.
Present: The key question is, are there still sectors on your HD containing the original, or recent file data, or were those overwritten? Restore Software onyl will try to restore the last version of the file, but there might be stray sectors with older versions. Unless you have some think like secure delete or such running. I’d say, if there are really months of work lost (and will need months to recreate), try this:
Create full image of the hard disk (e.g. with linux command dd (Disk Dump) and then search this image for fragments of the code which you can remember. If you are lucky, there is still something there. This will take less than some months, but it’s tedious.
Problem: this image will require a HD larger than the original one to be kept and searched.