Why are project files not backward compatible?

Discussion and feedback on Construct 2

Post » Thu Sep 24, 2015 9:54 pm

I have just rendered a project (3 days work) useless after installing a beta release of Construct 2. Can you tell me why projects saved between different versions of the software do not load?
B
17
S
6
G
1
Posts: 83
Reputation: 1,895

Post » Thu Sep 24, 2015 10:07 pm

The latest beta can open any C2 project created by the latest stable.

Thanks to Scirra's policy of depreciating rather than removing, C2 is for the most part entirely forwards compatible.

The lack of backwards compatibility is simple, using a feature that exist in one version but not another would break the engine - this is made safe by a simple version number check.

If you haven't used any new features, you can spoof the version number by unzipping the .capx and editing the source files in a text editor.
B
59
S
21
G
9
Posts: 641
Reputation: 9,787

Post » Fri Sep 25, 2015 12:22 am

Next time ... you will backup your work. That always helps...
B
44
S
13
G
1
Posts: 14
Reputation: 3,037

Post » Fri Sep 25, 2015 6:49 am

Sorry, but I have no sympathy. To not make a backup before installing a beta is just ridiculous.

Also to expect a previous version to somehow magically open a newer version is also ridiculous.

To convert back to a previuos version is very easy.
This will only work as long as you haven't made use of any new features, obviously.

Summary:

1. If it's a project file - a .caproj file, skip step 2.

2. If it's a capx, unzip it (capx are just zip files basically) using such as Winzip, 7 zip etc, or load and save as a Project.

3. Now, open the caproj file in a plain text editor.

4. Look for the following string, minus quotes: "<saved-with-version>". It's only a few lines down from the top.

5. You'll see this tag has a 5 digit number; it's the c2 version padded with 2 zeros (so, r214 will look like 21400). Change the first digits to match version you want to revert to, i.e. 212.2 would be r21202, 21200 would be r212.

6. Save

7. Double click .caproj to open within C2
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,388
Reputation: 58,458


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests