I'm making some changes to the ActionScripts in SkyUI to fit my personal needs. I've been able to edit bartermenu.swf, containermenu.swf, inventorymenu.swf and magicmenu.swf to get SkyUI to work as I want. I decompile them, edit the scripts I want to change, and save back to swf. However if I use the decompiler on craftingmenu.swf and:
Another strange thing I noticed with some of the other scripts I managed to edit successfully, was that if they contained a conditional using the ternary operator the decompiler wouldn't compile the script, even though it's the exact script that the decompiler itself provided! I had to change any ternary operators to normal "if else" in order to get the script to compile at all. My initial thought was that JPEXS Free Flash Decompiler perhaps wasn't very reliable, however it seems like a lot of people are using it without issues.
jpexs free flash decompiler
Download
https://t.co/EBaBMtGxHn
JPEXS is an open source flash SWF decompiler and editor. Extract resources, convert SWF to FLA, edit ActionScript, replace images, sounds, texts or fonts. Various output formats available. Works with Java on Windows, Linux or MacOS.
Open Source Flash SWF decompiler and editor. Extract resources, convert SWF to FLA, edit ActionScript, replace images, sounds, texts or fonts. Various output formats available. Works with Java on Linux, Windows and macOS.
I personally use JPEXS, despite the Java woes. The rest of this section will use this program for a quick walkthrough regarding resource extraction (i.e, the instructions below are for JPEXS); if you did end up paying for Sothink's decompiler, kindly consult its help file to help with translating this process for that program.
JPEXS is an open-source Flash SWF decompiler and editor. It can be used to extract resources from Flash animation files. You can also use it to convert SWF to FLA format, edit ActionScript code, and replace images, sounds, texts, or fonts. Various output formats are available for saving the resources.
On December 31st 2020 flash will reach the end of it's life. Flash games were an integral part of my childhood and if you grew up in the late 90s/early 00s, like me, they might have been integral to your childhood too. I have happy memories of sneaking into my schools computer lab and getting around the content block so I could play. After this year all of those wonderful nostalgic games will be rendered unplayable (mostly). But this doesn't have to be the end. Enterprising and selfless developers have done the work to keep these games alive forever.
A decompiler takes a program and turns it back into the code that was used to make it. Someone can then modify this decompiled code and re-compile the modified version with their changes. This is usually pretty difficult to do because a lot of information is lost when a program goes from code to a finished program. However, with Flash it's easy! Variable names and file structure are preserved so it is easy to search for names that may be related to your problem and change stuff, hypothetically of course.
I would recommend a hypothetical user of this decompiler download the ZIP version from their latest release, unpack it, and run the .jar file with jdk-10. I have heard that certain people have trouble running it with later versions of Java. Once it's running it is possible to open swf files in it, search them, modify them, and save them.
Warning: Editing and saving a decompiled game in the decompiler will change the original file in place. This may result in the edit breaking the only copy of the game file. To avoid this it is recommended to either use git or save an original copy of the file elsewhere.
Beyond getting around exclusivity measures it is also possible to use the decompiler to fix broken games. For example, if certain features are not supported by Ruffle, it may be possible to disable them or work around them. You could also use this to modify a game to your heart's content. Too hard? Make it a bit easier. One enemy you really hate? Delete it. The sky's the limit.
Opensource flash SWF decompiler and editor. Extract resources, convert SWF to FLA, edit ActionScript, replace images, sounds, texts or fonts. Various output formats available. Works with Java on Windows, Linux or MacOS.
JPEXS Free Flash Decompiler to decompile the SWF files, read the code source and fully export it.
Flash Player Projector content standalone flash player I configured in JPEXS.
Flash Player Projector content debugger debug version of the standalone flash player I configured in JPEXS.
Flash Player Plugin content debugger to enable the debug mode of the flash plugin of the browser.
testflash.php a quick page I wrote to perform local tests.
35fe9a5643