magicalhobo / SWFWire

Flash Development Tools

Home Page:http://www.swfwire.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add LZMA support

magicalhobo opened this issue · comments

Hey! Were you already implemented this? Can I use Decompiler with LZMA files already?

commented

Funny thing is that this is not decompiler, just disassembler 😉

Probably it is called so because decompiler is built on top of it (in the SWFWire Inspector)?

BTW, could be nice to know if it's possible to write any SWF with LZMA compression now!

For now, it's read-only. I couldn't get Flash Player to compress LZMA the same way the Flex SDK does. I'll update the issue when it's read-write.

When the code that does decompilation has a better API, I will put it in the SWFWire Decompiler library. It's too messy right now.

Thanks for letting us know it!

The problem with LZMA is that I can't write an end of file marker with ByteArray. I hear from Adobe that it may be added in the next release. I will probably wait for that rather than porting the Java LZMA lib.