如何将 flash .exe 文件反编译为 .swf 文件?

发布于 2025-01-09 17:39:35 字数 119 浏览 0 评论 0原文

问题
我想将 Flash 游戏的 .exe 文件反编译为 .swf 文件(Adobe Flash 文件),以便我可以对其进行修改

Problem:
I want to decompile the .exe file of a Flash game into a .swf file (Adobe Flash file) so I can modify it

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

寻梦旅人 2025-01-16 17:39:35

供将来参考:这篇文章很可能讨论从使用 Adob​​e Flash 创建的“投影仪可执行文件”中提取原始 .swf 文件。

这会将 Flash Player 和 SWF 文件捆绑在一起并创建独立的可执行文件。 GitHub 上有一个简单的提取器:https://github.com/laenion/dump_projector

For future reference: This post most likely talks about extracting the original .swf file from a "projector executable" created with Adobe Flash.

This bundles both a Flash Player and an SWF file together and creates a standalone executable. There is a simple extractor for this over at GitHub: https://github.com/laenion/dump_projector

浪荡不羁 2025-01-16 17:39:35

无法将 .exe 转换为 .swf

.exe 文件不是 Flash 文件,并且与 .swf 不远程兼容。扩展名 .exe 代表可执行文件,这意味着它由直接在处理器上运行的机器代码组成。 .swf 充当一个奇特的 .zip 存档,其中包含资产和一种跨平台字节码形式,它对调试器更加友好,并且包含有关其代码的大量信息编译自.由于 .swf 不是可执行文件,因此您必须首先安装 Flash 可执行文件,然后它才能打开 .swf,将中间字节码转换或解释为机器代码,并运行您的程序。

话虽这么说,仍然可以将 .exe 反编译为 C 或 C++ 等语言,但它要困难得多并且容易被破坏。如果您想了解更多有关其工作原理的信息,可以参考此页面: Is it possible to “decompile” a Windows .exe?或者至少查看大会?

There is no way to turn a .exe into a .swf.

An .exe file is not a flash file and is not remotely compatible with .swf. The extension .exe stands for executable, meaning that it consists of machine code which gets run directly on the processor. A .swf acts as a fancy .zip archive containing assets and a form of cross-platform bytecode that is much more debugger friendly and contains lots of information about the code it was compiled from. Since a .swf is not an executable, you have to install a flash executable first which then is able to open a .swf, convert or interpret that intermediate bytecode into machine code, and runs your program.

That being said it is still possible to decompile a .exe into languages like C or maybe C++, but it is much harder and prone to breaking. You can refer to this page if you want to learn more about how that works: Is it possible to "decompile" a Windows .exe? Or at least view the Assembly?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文