Revert EXE to cap file

New releases and general discussions.

Post » Sat Aug 15, 2009 6:35 pm

Hello,

I was wondering if an executable created with Construct can be technically revert into the source file ? I have read a bit the source code of Construct, and the export mechanism seems to save the events directlt into the executable ressources. Thus, is it possible for someone to create a decompiler ?
B
3
S
1
G
3
Posts: 9
Reputation: 1,068

Post » Sat Aug 15, 2009 7:14 pm

Technically, I believe so yes.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sat Aug 15, 2009 11:12 pm

I remember the same thing happening with Game Maker. It caused quite a storm I think. Fortunately, someone forwarded the code to decompile .exes to the main developer of GM and it's going to be fixed in the Game Maker 8.

http://www.messy-mind.net/2008/complete-gm-decompiler/
http://my.opera.com/smarttart62/blog/show.dml/339421
B
2
S
2
G
4
Posts: 153
Reputation: 1,756

Post » Sun Aug 16, 2009 12:04 am

If a decompiler was created, i don't think it would be nescessary to make all the .exes undecompileable (good work there me on creating that word. Thank you!). I would prefere to make it an option. Something like "lock .exe from decompiling".
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Sun Aug 16, 2009 12:13 am

Is it the same thing as it would be for GM? That uses scripts, whereas the event format of Construct is pretty different. I'd imagine that to create a decompiler would be alot more work than just taking the script out the .exe.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sun Aug 16, 2009 12:21 am

Welcome to the internet, where the trolls troll the trolls, and the hackers hack the hackers.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun Aug 16, 2009 12:55 am

yeah, i get the feeling that if it's possible, it will be done.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Sun Aug 16, 2009 7:02 am

Hmm do we really want our compiled projects to be reverse-engineered? If we wanted to share our project code, we'd share the cap, not compiled exe.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Sun Aug 16, 2009 12:14 pm

[quote:1thuoprw]Is it the same thing as it would be for GM? That uses scripts, whereas the event format of Construct is pretty different. I'd imagine that to create a decompiler would be alot more work than just taking the script out the .exe.[/quote:1thuoprw]

Maybe just open the ressources of an executable to a CApplication like the runtime, and save the CApplication to a cap file like the IDE would work..
Anyway, I am not a hacker and I don't want to make a decompiler, that was just a question.
B
3
S
1
G
3
Posts: 9
Reputation: 1,068

Post » Sun Aug 16, 2009 12:55 pm

A degree of reverse engineering is always possible in all programs (if you had the tools you can disassemble any compiled program back to assembly, for example - and this is especially problematic for .NET I think, which relies on obfuscators).

Considering the amount of work it'd take to reverse engineer a Construct EXE I'd say it's implausible for now - and remember you lose all edittime-only things like comments.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest