[RESOLVED] "C2 Check Failure" when opening .capx file

Bugs will be moved here once resolved.

Post » Tue Apr 28, 2015 6:29 am

Problem Description
I downloaded beta release 204 (April 27). Then, when trying to open a .capx file I saved (while using beta release 203), it gave me the following errors:

---------------------------
Construct 2 Check failure - C2 Beta Release r203
---------------------------
Check failure! This is probably a bug:

cannot find animation frame either in last_path or project location

Condition: FileExists(GetProjectPath().c_str())
File: Projects\AnimationFrame.cpp
Line: 239
Function: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl AnimationFrame::GetActivePath(void) const
Build: release 203 (64-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 3)


Clicking RETRY (on the alert pop-up) yields the following:
---------------------------
Error loading project
---------------------------
Failed to open project '\\?\C:\Users\Rhindon\AppData\Local\Temp\capM6WHGK\Gradient Run.caproj':

Cannot find object texture file 'ShipHit.png' in the project texture folder. Check the file has not been renamed or removed.
Under element: c2project \ object-folder \ object-folder \ object-type
Line 248, column 13

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


Attach a Capx
[link=https://db.tt/CIL79etD]https://db.tt/CIL79etD[/link]

Description of Capx
A beta release of my video game project as found here: [link=http://gamejolt.com/games/arcade/gradient-run/62998/]http://gamejolt.com/games/arcade/gradient-run/62998/[/link]

Steps to Reproduce Bug
Difficult to do...
  • Originally produced game on r203 and saved .capx file
  • Downloaded r204
  • Opened .capx and was given errors as described above
  • Reinstalled r203 and was given the very same errors
  • Reinstalled r204 and continued to get same errors

Observed Result
Errors as described above result.

Expected Result
Able to open .capx events and layouts to continue editing game.

Affected Browsers
  • Chrome: N/A - cannot open file
  • FireFox: N/A - cannot open file
  • Internet Explorer: N/A - cannot open file

Operating System and Service Pack
Windows 7 Home Premium Service Pack 1

Construct 2 Version ID
Release 204 (64-bit)
Last edited by Rhindon on Tue Apr 28, 2015 6:59 am, edited 1 time in total.
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
139
S
22
G
8
Posts: 777
Reputation: 14,830

Post » Tue Apr 28, 2015 6:45 am

@Rhindon

If you unzip your .capx you will see that a lot of the folder structure is missing, including the whole Textures folder, so this is unrecoverable, unfortunately .

Hopefully you will have an autosave or backup from the previous version.
Last edited by zenox98 on Tue Apr 28, 2015 6:47 am, edited 1 time in total.
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 Apr 28, 2015 6:46 am

I do! I do!!! Please, oh dear God in heaven (I mean that sincerely, LOL, I'm a Christian).....do tell me how do I recover the files with the autosave/backup?????
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
139
S
22
G
8
Posts: 777
Reputation: 14,830

Post » Tue Apr 28, 2015 6:49 am

It's in the manual.

Autosave files are created in the same folder - just rename them. The same goes for .backup files.

Remove the extensions, so that the filename ends in .capx and you should be able to open them.
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 Apr 28, 2015 6:59 am

@zenox98 - GOT IT! Thank you! That is SUCH a lifesaver! I'm back in business!
Nearly seven whole days of work was lost (well...not totally true...I also save different files as I make progress, so I basically create my own "backups", too).
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
139
S
22
G
8
Posts: 777
Reputation: 14,830


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest