Experimental cap to C2 converter

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Tue Mar 15, 2011 9:13 pm

Experimental cap to C2 converter alpha

It takes a cap file saved in 0.99.96 or later and try's to convert as much as possible to a Construct 2 (build 30) project. There are many differences between Construct 0.x and Construct 2, so only features common to both can be converted. Anything else will just be ignored.

It's alpha because I haven't tested it with that many cap files, so there is probably many unsupported cases that will cause a crash.

Objects converted:
Sprite, Text and Mouse&Keyboard.

Download:
[url:8dz148go]http://dl.dropbox.com/u/5426011/utility/capConverterAlpha1.zip[/url:8dz148go]
B
79
S
24
G
54
Posts: 4,743
Reputation: 40,749

Post » Tue Mar 15, 2011 9:28 pm

B-E-A-U-TIFUL! You're the man and now the always needed
B
11
S
3
G
4
Posts: 622
Reputation: 3,186

Post » Wed Mar 16, 2011 1:55 am

I must say, you're quite the Dude, Rojo.
Check out my VGM on my soundcloud page!
Video-Game Music: E.C.2151
B
7
S
2
G
2
Posts: 193
Reputation: 1,561

Post » Fri Mar 18, 2011 2:08 am

Very cool. Rojo is a true asset to the community.
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Sun Aug 03, 2014 1:10 am

Really sorry for reawaking this thread, but I thought it might end up being useful for someone someday to know that this converter doesn't appear to work anymore. Not for me with the free version of C2 anyway.

Too bad, it sounded great.
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Sun Aug 03, 2014 4:11 am

Hi,
This worked only with a very early version of c2, and even then it didn't too much other that convert over layouts with sprites, tiledbg and text objects as I recall. It didn't do events, however I was able to convert some of the events in an unreleased version. To get it working with c2 now I'd have to reexamine the capx file format, update my capreader python lib to yield decoded events from cap files more easily, and add a table to help conversions from one event to another.

The main issue is that c2 doesn't have some features of cc and some things work differently. I was initially waiting for more feature parity to update but I may not since this is something that will take a lot of tedious work for little benefit. However for the most part cc events are like c2 events so it's simple enough to as a user make events like the other.

I may eventually update the capreader library some more. It provides a way to access the contents of caps which could be useful for making another exporter or IDE for cc. But then again it may be simpler still to start from scratch...

Anyways to sumerize: an update is unlikely however you can manually convert over most projects.

-cheers
B
79
S
24
G
54
Posts: 4,743
Reputation: 40,749

Post » Sun Aug 03, 2014 5:47 am

Yeah, anyway I never expected it could ever be possible to just plain convert from CC to C2, so just the fact that you made it possible - for a bit anyway - is already something big.

As quite a few other people too I think, the way I code my projetcs have evolved over time too, so that would also be a good reason to start from scratch again when creating a game in C2 that I had a previous version made with CC.

Thanks for the reply anyway. :)
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Tue Mar 10, 2015 4:14 pm

Any chance of a C2 to CC converter?
The moderators are corrupt and ban for no reason, especially that condescending neckbeard asshole Kyatric. The forums are filled with fanboys.
Banned User
B
22
S
7
G
1
Posts: 558
Reputation: 2,925

Post » Tue Mar 10, 2015 6:04 pm

@Nesteris
I've thought about it but it has the same issue as converting from CC to C2. They're much too different so it would require more coding than I have time for.
B
79
S
24
G
54
Posts: 4,743
Reputation: 40,749

Post » Fri May 01, 2015 6:25 am

Just gonna throw out that a few of us are still stuck in CC big projects, so anything that can help free things down the road would be appreciated. Even if it is just breaking a cap up into a bunch of images and stuff.

Granted, I think those of us (... it might just be me and Konjak at this point?) who are stuck this deep probably have the capability to sorta... brutally export stuff in a sloppy manner through construct itself, but just being able to get graphics and layouts into C2 would do wonders for the possibility of porting large-as-fuck projects.
B
12
S
4
G
4
Posts: 238
Reputation: 2,426

Next

Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests