Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Location of backup source code?

Author
Message
AlexD66
Silver Codemaster
13
Years of Service
User Offline
Joined: 8th Jul 2011
Location: stuck in the middle with you..
Posted: 20th Jan 2016 13:44
I was tinkering in my code this morning and pressed f5 to compile. My windows 10 machine blue screened and when i started AGK2 up again, my source code was blank. the AGC file is 33k of nothing now. In DBpro , it would keep a backup of your source code in the install directory, does AppGameKit 2 do something similar? or is there a way I can recover my programme?

thanks for any help in advance!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Jan 2016 14:35
I don't know the answer, but I haven't seen the files like the ones you talk about in DBPro. I recall you got an intermediary compiler file with all of the source amalgamated in the one file.

Thinking ahead, put your files in a Box or Dropbox folder, then it is always backed up.
Dropbox is better for code, because you can see up to 50 previous versions. Box charge extra for this ability.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
AlexD66
Silver Codemaster
13
Years of Service
User Offline
Joined: 8th Jul 2011
Location: stuck in the middle with you..
Posted: 20th Jan 2016 16:19
Buggrit. but thanks for the reply. I also notice there is a plugin in the plugin manager which gives some extra back up options. maybe it should be enabled by default
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 20th Jan 2016 18:41
At least once per day I 7zip my entire program folder (except music, bytecode and exe), add the current date to the name and upload to a backup/storage service. So I have backups of code, PSD files, screenshots etc.
Zwarteziel
13
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: Netherlands
Posted: 21st Jan 2016 14:12
AGK2's uses 'Geany' as it's IDE. There are autosave- and backup-options avaiable for it (see here http://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving), but I'm not sure if they are enabled by default. To prevent this sort of thing happening, you can consider saving to a cloud-storage solution. I myself compile my projects to a Dropbox-folder. It's ability to restore earlier versions of files has saved my work on numerous occasions.

Login to post a reply

Server time is: 2024-11-17 02:39:05
Your offset time is: 2024-11-17 02:39:05