HELP!!! Construct 2 froze, capx broken now :(

Discussion and feedback on Construct 2

Post » Sat Feb 18, 2012 7:43 pm

I wanted to add a sound to my project and then pressed ctrl+s as usual to make a quick save, the progress bar appeared and just froze :(

After waiting a few minutes, i had to kill c2 via taskmanager and now it won't let me open my project anymore, the error i get is: Unable to open "blablabla" for unzipping.

I've tried to rename it to .zip and repair it with DiskInternals Zip Repair and Winrar but the resulting file contained no .caproj or Layouts :(

Does c2 keep a backup of old .capx files anywhere?

This was my project for the rotary competition, which i've worked on for weeks and it was almost done.

Is there anything else i can try to recover it?

It's missing alot since i've tweaked it alot in the last few days but atleast that would be a start.

Please @Ashley help me :[ or anyone else that has an idea

I'm really distressed, else i wouldn't post a near finished project file :(


EDIT:
removed links cause i got it working again thx to @Wink :D

Note to @Ashley: please add an auto-backup thingy to c2
Note to self: never use .capx again for own projects :OIze2012-02-18 22:01:19
B
33
S
6
G
7
Posts: 338
Reputation: 7,424

Post » Sat Feb 18, 2012 9:17 pm

I had a similar case. I solved it via the program I mention here:
http://www.scirra.com/forum/corrupted-capx-file_topic48999_post307979.html?KW=zip#307979

Ever since this happened I grew 4.5 gray hairs and stopped using the 1 file format.
B
35
S
12
G
6
Posts: 111
Reputation: 7,087

Post » Sat Feb 18, 2012 9:22 pm

Ize I don't know if this will work for you but if you have windows 7 try right clicking on your (.capx), and select (properties). When the new window opens select the (Previous Versions) tab. Then you should be able to restore your file from a previous restore point if your computer is set to save restore points. Usually when windows updates, or you install a program like Construct 2 your computer will save a restore point automatically. If it does you will loose all your work back to that point but if your lucky maybe it won't be to much.Wink2012-02-18 21:23:41
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Sat Feb 18, 2012 9:59 pm

@Wink I love you... in a heterosexual way :D

I was able to merge what i had manually restored so far and the old backup from beginning of the week win7 made! :D
B
33
S
6
G
7
Posts: 338
Reputation: 7,424

Post » Sat Feb 18, 2012 10:09 pm

lol, I'm glad it worked for you Ize.
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Sun Feb 19, 2012 1:30 am

You're right we should add an auto-backup facility (been on the todo list for ages like a lot of stuff), I'll try and get it done sooner since two of you could've used it recently. However, you should also see best practices - back up regularly! Auto-backup is still not enough to secure your data (see the article - hardware failure, fire, floods, theft etc. can still cause disaster). Using project folders is the same, and they can still corrupt if your computer crashes/BSODs/disk skips during a save, they're not much different to .capx in that regard.

I cannot recommend enough that you keep a daily backup on Dropbox. It takes literally no time at all and even with autobackup in Construct 2, it will mean your data is safe even if your entire computer is destroyed.

In fact I think it might be worth adding a built-in feature to backup to a dropbox folder once a day. I'll try get on that for the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sun Feb 19, 2012 1:43 am

[quote]In fact I think it might be worth adding a built-in feature to backup to a dropbox folder once a day. I'll try get on that for the next build.[/quote]
That'll be great ! Can't wait...
B
44
S
12
G
13
Posts: 628
Reputation: 10,471

Post » Sun Feb 19, 2012 10:02 am

Thanks alot :D
B
33
S
6
G
7
Posts: 338
Reputation: 7,424

Post » Sun Feb 19, 2012 12:47 pm

Every time I add something significantly new to my games I saw it as. New capx with the name of the game and (v1.00) ect that way it's unlikely you'll loose your whole game. And as the manual says, when it stars to say compressing capx in the output on the bottom left; that's when you should start saving as a project.
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Sun Feb 19, 2012 8:06 pm

@Ashley, just an idea for the way projects are saved in C2:
When saving the file it overwrites the previous file so if C2 crashes during the save then the whole project could get corrupted. Wouldn't it be a better idea to save to a new temporary file then copy that over the old file. That way if C2 crashes during a save only the most recent changes would be lost instead of the whole project.

I believe that is how for instance Microsoft Word does it's saving. Just an idea.
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Next

Return to Construct 2 General

Who is online

Users browsing this forum: newt and 16 guests