Problem with loading my Chat.capx! How to fix this problem?

Get help using Construct 2

Post » Wed May 06, 2015 4:36 pm

Hi,
I have a big problem. My Game/App can't load anymore.
If I try to load the capx this error shows up:
Error loading project
Failed to open project
'//?/C:/Users/user/AppData/Local/Temp/cap14LM64/RETRO-Messenger.caproj
Cannot find object texture file 'TiledBackground.png' in the project texture folder. Check
the file has not been renamed or removed Under element: c2project / object-folder / object-type
Line 79, column 9

The file my be invalid. Try checking the file in a text editor (projects are saved in XML format).

I don't know what to do. If I open it in a text editor it shows "random things".
It would be really bad if the project is destroyed now.
I hope someone can help.
Thanks really much :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Wed May 06, 2015 4:55 pm

If it's a .capx, try unzipping it to a separate folder and look in the Textures folder for the missing texture referred to. You can add any texture with the same name, and it will then be able to be opened, provided there isn't any other problems.

If there are numerous errors, or the textures and other folders are missing entirely, then you will have to fall back to an autosave or backup.

This also assumes you have setup the autosave and backup options. If not, then that's a very painful lesson, unfortunately.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,379
Reputation: 58,440

Post » Wed May 06, 2015 4:57 pm

@zenox98
i have an backup file and auto save too. I'll try unzipping it!
Thanks
Last edited by aquadijoib on Wed May 06, 2015 5:03 pm, edited 1 time in total.
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Wed May 06, 2015 5:00 pm

@zenox98
I now have an Layout and an Event sheets file in there. Also the construct 2 project file and the .uistate file. There's no Texture folder. So so I have to create it?
Thanks :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Wed May 06, 2015 7:12 pm

its will be called animations
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Wed May 06, 2015 8:04 pm

@volkiller730
No, it will be called Textures.

@aquadijoib

The general folder structure is:
Animations
Event Sheets
Files
Layouts
Textures

If your project was quite large with many textures, sprites and animations, and the folders are missing, then your only recourse is a backup or autosave.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,379
Reputation: 58,440

Post » Tue May 19, 2015 1:45 pm

Thanks for all your replies! :D
I created a Textures folder myself and put in just grey textures with the same name as the real ones.
Now everything works and i only had to replace them later!
:)
Image
B
5
S
3
Posts: 193
Reputation: 1,063


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Kermad, marc254, Nicolas951, tarek2, Yahoo [Bot] and 9 guests