Decompile / Decode .cap file

For questions about using Classic.

Post » Fri May 22, 2015 7:43 pm

Hey guys,

I wonder if it is possible to decompile/decode the content of a .cap file?
I'd like to create a c# tool to modify .cap files that's why I'm asking :D


Thanks in advance for any answer :D

playerelite
B
7
S
1
Posts: 58
Reputation: 683

Post » Fri May 22, 2015 7:46 pm

Why even bother? If you have the .cap, just open it in CC and you have all the assets and code.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,541
Reputation: 60,426

Post » Fri May 22, 2015 8:04 pm

Yes but I don't want to open it with CC :D It becomes laggy when the project got a tons of events / conditions
B
7
S
1
Posts: 58
Reputation: 683

Post » Fri May 22, 2015 9:11 pm

Here's a python library I made to do it.
viewtopic.php?f=168&t=60472&p=520816&hilit=capreader#p520816
It's basically one for one what cc does when it saves. I've used it to do various things but editing events isn't really a simple thing to do, because .cap files don't store ACEs in a way that's easy to use. It's mainly just numbers and in order to decode it you need to be able to load the plugins to get at the text and such, but I haven't found a good way to do that yet.
B
94
S
33
G
117
Posts: 5,388
Reputation: 75,337

Post » Fri May 22, 2015 9:31 pm

Thanks for your answer r0j0hound :D
I'll give a look at it right now :)
B
7
S
1
Posts: 58
Reputation: 683


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest