fuc*

Posted By: Reconnoiter

fuc* - 09/13/16 14:53

Sry for the title but my script for an editor of my game just got corrupted for some reason and I backed up the corrupted version over the still working one cry
(the editor script is in a subfolder of my game and was backuping my game).
I can open the script file but except for the first few lines everything is gone (but the filesize is the same however)
and in notepad there is alot nullnullnull etc. Is there some way to retrieve the data?
Posted By: WretchedSid

Re: fuc* - 09/13/16 15:38

I hate being the smug bastard at other peoples expense, but come on people, seriously, start using version control so shit like that doesn't happen!

Backups are not the solution.
Posted By: MasterQ32

Re: fuc* - 09/13/16 17:18

@Sid: +1
Posted By: Reconnoiter

Re: fuc* - 09/13/16 18:27

Yes your completely right and I already hammered my head with it the first moment I realised I lost the file. The thing is I do version control for some other project and most previous projects, but for some reason it completely forgot to do it for this one. Somewhat luckily I found a file from ~1,5 months ago and do remember what features I added and somewhat how I added. Still f*ck this laptop with its f*cking hybrid ssHd which has given me so many weird problems (windows also started to giving drive errors yesterday so I suspect that is how the file got corrupted but its only 1 year old laptop and I use it carefully frown ). [end rant]

Also sadly Recuva didn't work, good program though if you accidently deleted stuff (but I c&p it so it didn't work).
Posted By: Dico

Re: fuc* - 09/14/16 10:47

I hate this problem . Did you restore your pc to any date before files corrupted ?
Posted By: Reconnoiter

Re: fuc* - 09/14/16 14:01

Originally Posted By: Dico
I hate this problem . Did you restore your pc to any date before files corrupted ?
, tried a bunch of things that didn't really work out, but I did found a backup from ~1 month so with the changes still somewhat fresh in my memory I began yesterday night and today re-adding them and it goes faster that I expected, so atleast there is that. I think I can finish it today with a bit off overwork. laugh
I am lucky this was only the editor code that was damaged, the rest I can re-use.

I however find it really odd how the code got corrupted. It must have happenend in SED but in SED everything looked normal.
Also SED backups are quite worthless, I wonder why JCL didn't put in some system that saves scripts per date (or per week) instead of overwriding everytime since script files aren't that big anyway.
Posted By: Quad

Re: fuc* - 09/15/16 23:04

Github gives free private repos for personal users. If you do not want git(idk why that would ever be the case), there are other places that give free repos for other version control systems.
© 2024 lite-C Forums