Can't open project

Discussion and feedback on Construct 2

Post » Sat Mar 04, 2017 5:03 pm

I was going to update an old project, but suddenly I can't open it anymore, I get an error saying there's something wrong in one of the event sheets (see attached screenshot). I've looked at the file, but I can't find anything wrong with it.

Here's the xml file in question, can someone help me identify the problem, so that I can open my project? - https://www.dropbox.com/s/ptn26cg89a6hn ... t.xml?dl=0



Image
B
10
S
3
Posts: 63
Reputation: 776

Post » Sat Mar 04, 2017 10:25 pm

Hmmm?

Did you use an addon or plugin when you created that capx and then download a new version of C2 that does not have that addon or plugin?
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,790

Post » Sun Mar 05, 2017 10:55 am

I don't think so. Doesn't Construct mention that if you try to open a project that's missing a plugin?
B
10
S
3
Posts: 63
Reputation: 776

Post » Sun Mar 05, 2017 11:05 am

And I've tried different builds of Construct, same error.
B
10
S
3
Posts: 63
Reputation: 776

Post » Sun Mar 05, 2017 11:08 am

Xeeko wrote:I don't think so. Doesn't Construct mention that if you try to open a project that's missing a plugin?



Well it should but if it did not recognize it as a plugin from the events then it may just throw an error on that event.

Your error message gives a specific line in the events and that tells me it was maybe referring to a plugin or possibly you removed a sprite from the original game folder or maybe a function that is causing the error.

If it is not build related I would say it was a plugin or addon you had for that game. Not sure if you can tell what might have been used if you can't remember.

Maybe someone else knows how to open and look at that error event line and see what caused it.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,790

Post » Sun Mar 05, 2017 11:48 am

If it's a .capx, unzip to a new folder using any unzipping program you may have (winzip, winrar, 7zip etc).

Open the .caproj file in any text editor and look for the following sections that show the Plugins and Behaviors:

Code: Select all
  <used-plugins>
        <plugin author="Scirra" id="Sprite" version="1">Sprite</plugin>
    </used-plugins>
    <used-behaviors>
        <behavior author="R0J0hound" id="rojoChipmunkBeta" version="2.299999952">Chipmunk</behavior>
    </used-behaviors>


As you can see, if the 'author' isn't 'Scirra' then it's - likely to be - a non-standard plugin.

If your program does show all standard Plugins and Behaviors, then dependent upon age, there have been a few breaking changes over the years so you would need to trace the error message line numbers to see what you can determine.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,387
Reputation: 58,456

Post » Sun Mar 05, 2017 12:07 pm

You should delete line 402 of the file Game Event Sheet.xml, you cannot have two triggered conditions at the same block, you can only combine 1 triggered condition with ticking conditions.
I don't know how you ended up with that, C2 usually prevents you from adding a second triggered condition. Maybe you modified the xml file with a text editor some time ago.
Banned User
B
17
S
7
G
23
Posts: 388
Reputation: 13,994

Post » Sun Mar 05, 2017 2:07 pm

X3M wrote:You should delete line 402 of the file Game Event Sheet.xml, you cannot have two triggered conditions at the same block, you can only combine 1 triggered condition with ticking conditions.
I don't know how you ended up with that, C2 usually prevents you from adding a second triggered condition. Maybe you modified the xml file with a text editor some time ago.


No, never edited any file like that. It just stopped opening the project. I tried deleting that line, still won't open, get another error:

Image
B
10
S
3
Posts: 63
Reputation: 776

Post » Sun Mar 05, 2017 11:32 pm

Xeeko wrote:Here's the xml file in question, can someone help me identify the problem, so that I can open my project? - https://www.dropbox.com/s/ptn26cg89a6hn ... t.xml?dl=0


That might have been a XML once, it is not anymore.
It looks corrupt or encrypted.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Mon Mar 06, 2017 8:54 am

99Instances2Go wrote:That might have been a XML once, it is not anymore.
It looks corrupt or encrypted.


I agree.

I think you will need to upload the .capx for us to determine whether it is salvageable in any way or corrupt and beyond saving.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,387
Reputation: 58,456

Next

Return to Construct 2 General

Who is online

Users browsing this forum: BackendFreak, Google [Bot], htmlgames and 27 guests