Cannot open my capx

Discussion and feedback on Construct 2

Post » Sun Oct 19, 2014 4:02 pm

I have a big problem. I create a new sprite in my game and clicked to preview, but I got an error (it couldn´t load a file). I removed the changes but the game still didn´t work, and I closed C2. But when I opened it again, the project didn´t load and C2 showed me an error: "Cannot find object texture file "xxx.png" in the project folder".

I searched for that folder but it doesn´t exists so I don't know what to do :cry:

I tried to open the backup but I have the same problem.

Any ideas of what can be happening?
B
6
S
1
Posts: 22
Reputation: 483

Post » Sun Oct 19, 2014 5:29 pm

jorj0 wrote:But when I opened it again, the project didn´t load and C2 showed me an error: "Cannot find object texture file "xxx.png" in the project folder".
I searched for that folder but it doesn´t exists so I don't know what to do :cry:


This have happened to me in the past. There is a solution I've found, but is not always working:

Inside the Animations folder of your project, look for a folder that is named with the same name of the last sprite you created. (It would be "Sprite" if you did not rename it from C2). If such folder does not exist, create a new one with this name.
Inside the said folder create another folder "Default", and place inside it the PNG image you used to create the new sprite (source image). This PNG should be named "000.PNG" .

If you are lucky, the project should now load without any errors.
B
12
S
3
Posts: 104
Reputation: 1,655

Post » Mon Oct 20, 2014 12:07 pm

Thank you @MaorKeshet but not only the file is missing, also the folder doesn´t exist. It´s like C2 has deleted the folder that contains the project :s
B
6
S
1
Posts: 22
Reputation: 483

Post » Mon Oct 20, 2014 12:22 pm

As I said, in such case create a new folder inside Images folder and continue as described.
B
12
S
3
Posts: 104
Reputation: 1,655

Post » Mon Oct 20, 2014 6:24 pm

I´ve tried what you said @MaorKeshet but when I open the project, it changes the folder for another one. If you create that folder, it changes again.

I will start to build the game again from an earlier copy of my laptop, but thanks anyway.
B
6
S
1
Posts: 22
Reputation: 483


Return to Construct 2 General

Who is online

Users browsing this forum: Cojoyo and 9 guests