有非官方的 Flash .FLA 规范吗?

发布于 2024-08-06 02:23:08 字数 211 浏览 14 评论 0原文

是否有非官方规范解释如何对 Flash .FLA 文件进行逆向工程?

我对创建一个应用程序特别感兴趣,该应用程序可以通过编程方式“自动场景规划”Flash 文档,从其他文件中提取内容,将该内容排列到图层中,而无需打开 Flash IDE。然后动画师就可以使用这些预先组装好的 FLA 并开始制作它们的动画。我已经构建了一个 JSFL 脚本来执行此操作,但它运行速度非常慢,难以调试或重新利用。

Is there an unofficial spec anywhere that explains how to reverse engineer a Flash .FLA file?

I'm specifically interested in creating an application that can "auto-scene plan" a Flash document programmatically, pulling in content from other files, arranging that content into layers, without needing the Flash IDE open. Animators would then be able to take these pre-assembled FLA's and begin animating them. I've already built a JSFL script that does this, but it runs very slowly, is difficult to debug or re-purpose.

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

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

发布评论

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

评论(4

输什么也不输骨气 2024-08-13 02:23:08

我花了几天时间在互联网上浏览,看看是否有做逆向工程的余地,但实际上什么也没有。我没有 .FLA 规范。我这两天一直在找。如果有,并且您正在使用它,您将收到 Adob​​e 发出的停止函,然后是加拿大相当于 DMCA 的删除通知。

根据维基百科,该格式是一种二进制格式,它基于 Microsoft 二进制复合文件格式规范,如维基百科上所述。 复合文件格式。但奇怪的是,我认为,欧洲反垄断协议迫使微软发布其规范,这意味着您可以通过在 Google 中输入 Microsoft 复合文件格式来下载 MS 复合文件格式。第一个条目是下载链接。

一旦你研究了它,你就需要准备一套工具。有可能,MS 有一个可用于该格式的反编译器。如果没有,您可能需要花费 3-6 个月的时间来制定基本规格。

在 90 年代初,我对 Novell IPX 协议和 NCP 堆栈进行了逆向工程,这是向服务器发送消息并获得回复的情况。所以这是相当机械和乏味的,几个月后我们非常清楚需要什么,并且我们建立了 IPX 协议调用和回复的映射。与 NCP 相同。最终 Novell 联系了我们,向我们发出了停止令,并最终想要起诉我们。但最终,他们失败了,因为我们使用了洁净室技术维基百科洁净室解释。我们使用数据包分析器将其与二进制服务器产品分开,并使用 C++ 重新构建它。但这是协议逆向工程。比你所反思的要容易得多。

因此,您需要的第一件事是反汇编程序。我无法给你任何关于使用哪一种的建议,但有很多。一旦获得格式并反汇编文件,您必须尝试识别文件头、页脚、常量、特殊符号序列之类的内容,以便您可以开始创建地图。例如,在 Windows 复合二进制文件格式的第 6 页上,_absig 中的签名格式为 DOCF 11E0 A1B1 1AE1。如果您可以在文件中找到此类信息,则可以启动地图。

但在深入讨论之前,请先看看它们是否是反编译器。我认为您在 Google 中找到的大多数反编译器可能都是轻量级的。去像这样的黑客团体。
CrackZ。 IDA 产品是一个反汇编程序。这可能会有所帮助。 逆向工程简介逆向工程社区

希望有所帮助。如果你愿意,那就去做吧。这需要几个月的时间。坚持下去!

I've spent days looking around the internet, to see if there is anyway in to, do a reverse engineer but nought really. I don't there is a .FLA spec floating about. I've spent the last couple of days looking. If there was one, and you were using it, you would receive a cease and desist letter from Adobe, followed by the Canadian equivalent of the DMCA take down notice.

According to Wikipedia, the format is a binary format, which is based on a Microsoft Binary compound file format specification, described here on Wikipedia. Compound File Format. But strangely because of, I think, the European anti trust settlements forcing Microsoft to publish their specs means you can download the MS Compound File Format, here by typing Microsoft compound file format into Google. The first entry is the download link.

Once you have studied it, then you need to get a tool set together. It may be possible, there is a decompiler available for that format from MS. If not, your looking at maybe 3-6 months of work to get a basic spec together.

In the early 90's I reversed engineered the Novell IPX protocol and the NCP stack, which was a case of sending messages to the server, and getting a reply. So it fairly mechanical and tedious, after a few months we had a really good idea what was needed, and we built up a map of the IPX protocol calls, and replies. Same with NCP. We eventually were contacted by Novell who sent us a cease and desist and eventually wanted to sue us. But at the end of the day, they crapped out because we were using Clean Room techniques Wikipedia Clean Rooms explained. We pretty much took it apart from a server product in Binary, using a packet analyser, and rebuilt it using C++. But that was protocol reverse engineering. Much easier that what you are reflecting on.

So the first thing you need, is a disassembler. I can't give you any advice on what one to use, but there is many out there. Once you get the format, and you disassemble the file, you have to try and identify file headers, footers, constants, things like special symbol sequences, so you can start to create a map. For example on page 6 of the Windows Compound Binary File Format, it says in _absig has a signature format of DOCF 11E0 A1B1 1AE1. If you can find that kind of info in a the file, you start the map.

But before you go to that length, see if their is a decompiler about. I think most of the decompilers you find in Google will perhaps be lightweight. Go to hacker groups like these.
CrackZ. That IDA product is a disassembler. This may help. Introduction to Reverse Engineering. Reverse Engineering Community

Hope that help. If you do, do it. It will take months. Persevere!

电影里的梦 2024-08-13 02:23:08

应该注意的是,在 CS5 或更高版本中保存的所有 FLA 文件现在在技术上都是使用开放 XFL 格式的 ZIP 文件。实际上,您可以将 FLA 文件重命名为 ZIP 并解压缩。随后,Flash支持直接保存为XFL格式。

XFL 格式是由与典型 Flash 文件相对应的文件和文件夹组成的文件夹结构。其中包括库和二进制数据(图像、音频等)的文件夹,以及描述几何、动画等的 XML 文件。还有跟踪全局项目设置(例如链接和导出设置)的 XML 文件。

最后,有一个 .XFL 文件作为整个结构的入口点。这就是 Flash 在扫描文件夹以确定它们是否为 Flash XFL 项目时所查找的内容。

我强烈推荐这种格式给任何在动画工作室工作、需要从 Flash 外部制作场景规划文件的人。库、场景和其他连接都可以使用您希望的任何外部编程语言或工具以 XFL 格式以编程方式创建。

It should be noted that all FLA files saved in CS5 or later are now technically ZIP files that use the open XFL format. You can actually rename a FLA file to ZIP and decompress it. Subsequently, Flash supports saving directly to the XFL format.

The XFL format is a folder structure consisting of files and folders that correspond to the typical Flash file. These include a folders for the library and binary data (images, audio, etc.), as well as XML files which describe geometry, animation, etc. There are also XML files that keep track of global project settings such as linkages and export settings.

Finally, there is a .XFL file which acts as the entry point for the entire structure. This is what Flash looks for when it scans folders to determine if they're Flash XFL projects.

I would strongly recommend this format for anyone operating at an animation studio who needs to scene plan files externally from Flash. The library, scenes and other connections can all be created programmatically in the XFL format using whatever external programming language or tools you wish.

那伤。 2024-08-13 02:23:08

虽然没有官方文档,但这家伙至少在一些初步分析中尝试过

fla 格式 |本杰明沃尔西.de
http://benjaminwolsey.de/node/49

Although there is no official documentation, this guy tried at least in some primary analysis

The fla format | benjaminwolsey.de
http://benjaminwolsey.de/node/49

何时共饮酒 2024-08-13 02:23:08

您可能想检查 swf 文件规范:
http://www.adobe.com/devnet/swf/

You might wanna check the swf file specification:
http://www.adobe.com/devnet/swf/

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