Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Convert .EXE to .SWF?

Jan 17, 2010 10:53AM PST

Is there any way to convert a .exe file to a .swf file?

Discussion is locked

- Collapse -
Yes
Jan 17, 2010 7:33PM PST
- Collapse -
(NT) Thank You
Jan 18, 2010 1:25PM PST
- Collapse -
amazing
Feb 19, 2012 4:08PM PST

i'v been searching for this for AGES!!

- Collapse -
Did/Didn't Work
Apr 3, 2013 7:35AM PDT

Yes the file I downloaded from that link worked and I got a swf file in the same location as my exe file. however the swf file contained no data. Is this something I did incorrectly?

- Collapse -
Re: data
Apr 3, 2013 7:42AM PDT

Usually, programs don't contain data. They get their data from a database or from the Internet or from an xml-file or any such outside source. So, without knowing any details about that particular program you tried to convert, your observation isn't amazing.

Kees

- Collapse -
No...
Jan 19, 2010 4:30AM PST

It is not possible due to a number of reasons, including the number of languages a program could have been written in, the inability for SWF to express all of the functionality of most applications, the inability for a SWF file to make use of many of the libraries, APIs, etc. that the executable can, the obfuscation techniques used to prevent EXE decompilation, etc.

-> The program VigneshBalasubramanian suggested can only extract SWF content from an EXE file; it cannot convert any EXE to an SWF file.

John

- Collapse -
Specifics
Jan 19, 2010 9:31AM PST

Here are the specifics of what I want to do:
I want to post some games I created with Game Maker (exe files) to a website as flash games.

- Collapse -
Not possible...
Jan 20, 2010 4:42AM PST

Game Maker uses its own scripting language, called GML, which is interpreted by the bundled Game Maker interpreter every time the game is executed. Conversion to SWF is not possible, and may even be prohibited to attempt, depending on the developer's TOS/licensing agreement(s).

Sorry.
John