![]() ![]() page = Visit homepage at: \r\n%url%Ībc.thodtrait = Method/Getter/Setter TraitĪbc.detail.slotconsttrait = Slot/Const TraitĪbc. = Max stack:Ībc. = Local registers count:Ībc. = Minimum scope depth:Ībc. = Maximum scope depth:Ībc. = Auto fill on code save (GLOBAL SETTING)Ībc.experimental =. Message.helpus = Please visit \r\n%url% \r\nfor details. = Identifiers renamed: %count%įilter.xfl = %version% Uncompressed Document (*.xfl)Į = Invalid text: %text% on line %line%Į = Cannot write to the fileĮ = Select directory to export ![]() Work.buildingscripttree = Building script tree Work.gettingvariables = Getting variables Work.gettinghilights = Getting highlights Work.waitingfordissasembly = Waiting for disassembly = Double value "%value%" is not present in constants table. = Unsigned integer value "%value%" is not present in constants table. = Integer value "%value%" is not present in constants table. = String "%value%" is not present in constants table. \r\nIf the code is not obfuscated, it's better to turn autodeobfuscation off. \r\nDeobfuscation leads to slower decompilation and some of the dead code may be eliminated. = Automatic deobfuscation is a way to decompile obfuscated code. = Parallelism can speed up loading and decompilation but uses more memory. = Following procedure can damage SWF file which can be then unplayable. Swfpreview.internal = SWF preview (Internal viewer) Notavailonthisplatform = Preview of this object is not available on this platform (Windows only). = Disable decompilation (Disassemble only) # You should have received a copy of the GNU General Public License # GNU General Public License for more details. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # but WITHOUT ANY WARRANTY without even the implied warranty of # This program is distributed in the hope that it will be useful, # the Free Software Foundation, either version 3 of the License, or # it under the terms of the GNU General Public License as published by You can rename this to 00000000.swf.# This program is free software: you can redistribute it and/or modify Now the output file 00000000.cws can be opened in JPEXS. | zip -> unzip size / offset | spaces before | info | Alternatively just hold shift and right-click the Offzip folder then choose "open command window here". Now open command line by running cmd.exe. Copy Offzip.exe into a folder like c:\offzip\. ![]() Using OffZip (for Windows OS) you can decompress the SWF. Use fileReference API to save AS3 bytes to disk. ![]() The bytes in swfBytes now can be saved as a file new.swf and this will open correctly in JPEXS. Trace("swfBytes length (DEFLATED) : " swfBytes.length) //is 8,617,377 bytes? SwfBytes = zlibdecomp.uncompress( fileBytes ) //update with decompress version Zlibdecomp = new Zlib //create new ZLIB instance in variable Public var swfBytes :ByteArray = new ByteArray įileBytes =. Public var fileBytes :ByteArray = new ByteArray Public var zlibdecomp :Zlib //create instance variable Try this code logic: import Zlib //do import of API Load (or read) your SWF file's bytes into an AS3 bytearray called fileBytes. (Find folder at: src/com/wirelust/as3zlib/). Get the library AS3ZLib and copy its as3zlib folder to same place as your Flash project. One is by AS3 code and the other is by external (Windows) tool. Those first two bytes 78 DA means it has some ZLib compression ( eg: like (the last three bytes are the expected 43 57 53 of a normal SWF). Your file begins with 78 DA 00 43 40 BC BF 43 57 53 Usually a SWF file begins with bytes 43 57 53 ( eg: "CWS") or even bytes 46 57 53 ( eg: "FWS"). The first thing you should do when a file ( eg: swf, jpeg, mp3, mp4) does not open in any program, is to check if the format bytes are correct by using a hex editor. The SWF is not opening with JPEXS because it is compressed!!. ![]()
0 Comments
Leave a Reply. |