abbas Posted June 6, 2015 Share Posted June 6, 2015 hi allis there any way to cut a swf file i mean removing useless messages and cutting the parts i want Link to comment Share on other sites More sharing options...
Sina_DiR Posted June 6, 2015 Share Posted June 6, 2015 (edited) Try RABCDAsm:https://github.com/CyberShadow/RABCDAsm Edited June 6, 2015 by Sina_DiR 1 Link to comment Share on other sites More sharing options...
abbas Posted June 6, 2015 Author Share Posted June 6, 2015 can't work with it.any help ??? Link to comment Share on other sites More sharing options...
TheProxy RE Posted June 7, 2015 Share Posted June 7, 2015 use some swf decompiler (for example Sothnik swf decompiler) (so it decompile yooure app to Adobe Flash source and then you edit it how you want) Link to comment Share on other sites More sharing options...
abbas Posted June 7, 2015 Author Share Posted June 7, 2015 tried but received error Link to comment Share on other sites More sharing options...
Sina_DiR Posted June 7, 2015 Share Posted June 7, 2015 So upload a sample ! Link to comment Share on other sites More sharing options...
abbas Posted June 7, 2015 Author Share Posted June 7, 2015 for example removing the URL show of this game so you reach the main menu instantly when you run the SWF.https://www.mediafire.com/?71xnz1ye04c77e3 Link to comment Share on other sites More sharing options...
NOP Posted June 7, 2015 Share Posted June 7, 2015 It depends whether the actionscript is AS1/2 or AS3 The example is an AS2 game so removing what you want is simple just by removing the first few frames from the timeline https://www.sendspace.com/file/r6yrau 1 Link to comment Share on other sites More sharing options...
Sina_DiR Posted June 7, 2015 Share Posted June 7, 2015 As NOP said at this sample you have to remove the first frame, I just fix it, cuz snows were fixed in NOPs change:http://a.asis.io/nV0YlQdn.swf 1 Link to comment Share on other sites More sharing options...
abbas Posted June 8, 2015 Author Share Posted June 8, 2015 NOP and Sina,thank youwhat tool did you use? what's the problem in NOP's SWF? Scores : Nan and Undefined Link to comment Share on other sites More sharing options...
LCF-AT Posted June 8, 2015 Share Posted June 8, 2015 Hi, just use JPEXS decompiler (you need to install Java too).Its also a free tool I do use a long time.Now load your little game (no hentai game to de-censorship it ) and now edit it.Just play a little and you will understand it very quick and at the end you can remove some trash you don't wanna see anymore.Below I made a picture.... greetz 2 Link to comment Share on other sites More sharing options...
abbas Posted June 8, 2015 Author Share Posted June 8, 2015 this tool is really cool.far more easier and lighter than sothic. lcf-at,thanks for your good introduction Link to comment Share on other sites More sharing options...
ozomozyan Posted July 1, 2022 Share Posted July 1, 2022 I cant run this decompiler thing , I have java but there isnt any exe thing in it Link to comment Share on other sites More sharing options...
whoknows Posted July 1, 2022 Share Posted July 1, 2022 java.exe -jar x.jar Link to comment Share on other sites More sharing options...
ozomozyan Posted July 1, 2022 Share Posted July 1, 2022 44 minutes ago, whoknows said: java.exe -jar x.jar Cant run it Link to comment Share on other sites More sharing options...
whoknows Posted July 1, 2022 Share Posted July 1, 2022 go to app dir, and execute java.exe -jar ffdec.jar then post screenshot, yeah? Link to comment Share on other sites More sharing options...
ozomozyan Posted July 1, 2022 Share Posted July 1, 2022 1 hour ago, whoknows said: go to app dir, and execute java.exe -jar ffdec.jar then post screenshot, yeah? Whenever I run it , it just close it self in a sec Link to comment Share on other sites More sharing options...
LCF-AT Posted July 1, 2022 Share Posted July 1, 2022 Just download the installer or portable app... https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/version15.1.0 ...inside is a ffdec.exe you can run to start the decompiler. Otherwise if you have installed JAVA then open CMD window and enter java -h and you get the help info to see. Normaly the path gets added during installation by automatically into environment varaibels path. Just test the java -h command to see whether it works for you... C:\>java -h Verwendung: java [-options] class [args...] (zur Ausführung einer Klasse) oder java [-options] -jar jarfile [args...] (zur Ausführung einer JAR-Datei) wobei options Folgendes umfasst: -d32 Verwendet ein 32-Bit-Datenmodell, sofern verfügbar -d64 Verwendet ein 64-Bit-Datenmodell, sofern verfügbar -server zur Auswahl der "server" VM Die Standard-VM ist server. -cp <Klassensuchpfad von Verzeichnissen und ZIP-/JAR-Dateien> -classpath <Klassensuchpfad von Verzeichnissen und ZIP-/JAR-Dateien> Eine durch ; getrennte Liste mit Verzeichnissen, JAR-Archiven und ZIP-Archiven zur Suche nach Klassendateien. -D<name>=<value> Legt eine Systemeigenschaft fest -verbose:[class|gc|jni] Aktiviert die Verbose-Ausgabe -version Druckt Produktversion und beendet das Programm -version:<value> Warnung: Diese Funktion ist veraltet und wird in einer neueren Version entfernt. Erfordert die angegebene Version zur Ausführung -showversion Druckt Produktversion und fährt fort -jre-restrict-search | -no-jre-restrict-search Warnung: Diese Funktion ist veraltet und wird in einer neueren Version entfernt. Bezieht private JREs des Benutzers in Versionssuche ein bzw. schließt sie aus -? -help Druckt diese Hilfemeldung -X Druckt Hilfe zu Nicht-Standardoptionen -ea[:<packagename>...|:<classname>] -enableassertions[:<packagename>...|:<classname>] Aktiviert Assertions mit angegebener Granularität -da[:<packagename>...|:<classname>] -disableassertions[:<packagename>...|:<classname>] Deaktiviert Assertions mit angegebener Granularität -esa | -enablesystemassertions Aktiviert Systemassertionen -dsa | -disablesystemassertions Deaktiviert Systemassertionen -agentlib:<libname>[=<options>] Lädt native Agent Library <libname>, z.B. -agentlib:hprof siehe auch -agentlib:jdwp=help und -agentlib:hprof=help -agentpath:<pathname>[=<options>] Lädt native Agent Library nach vollem Pfadnamen -javaagent:<jarpath>[=<options>] Lädt Java-Programmiersprachen-Agent, siehe java.lang.instrument -splash:<imagepath> Zeigt Startbildschirm mit angegebenem Bild Weitere Einzelheiten finden Sie unter http://www.oracle.com/technetwork/java/javase/documentation/index.html greetz 1 Link to comment Share on other sites More sharing options...
ozomozyan Posted July 1, 2022 Share Posted July 1, 2022 2 hours ago, LCF-AT said: Just download the installer or portable app... https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/version15.1.0 ...inside is a ffdec.exe you can run to start the decompiler. Otherwise if you have installed JAVA then open CMD window and enter java -h and you get the help info to see. Normaly the path gets added during installation by automatically into environment varaibels path. Just test the java -h command to see whether it works for you... C:\>java -h Verwendung: java [-options] class [args...] (zur Ausführung einer Klasse) oder java [-options] -jar jarfile [args...] (zur Ausführung einer JAR-Datei) wobei options Folgendes umfasst: -d32 Verwendet ein 32-Bit-Datenmodell, sofern verfügbar -d64 Verwendet ein 64-Bit-Datenmodell, sofern verfügbar -server zur Auswahl der "server" VM Die Standard-VM ist server. -cp <Klassensuchpfad von Verzeichnissen und ZIP-/JAR-Dateien> -classpath <Klassensuchpfad von Verzeichnissen und ZIP-/JAR-Dateien> Eine durch ; getrennte Liste mit Verzeichnissen, JAR-Archiven und ZIP-Archiven zur Suche nach Klassendateien. -D<name>=<value> Legt eine Systemeigenschaft fest -verbose:[class|gc|jni] Aktiviert die Verbose-Ausgabe -version Druckt Produktversion und beendet das Programm -version:<value> Warnung: Diese Funktion ist veraltet und wird in einer neueren Version entfernt. Erfordert die angegebene Version zur Ausführung -showversion Druckt Produktversion und fährt fort -jre-restrict-search | -no-jre-restrict-search Warnung: Diese Funktion ist veraltet und wird in einer neueren Version entfernt. Bezieht private JREs des Benutzers in Versionssuche ein bzw. schließt sie aus -? -help Druckt diese Hilfemeldung -X Druckt Hilfe zu Nicht-Standardoptionen -ea[:<packagename>...|:<classname>] -enableassertions[:<packagename>...|:<classname>] Aktiviert Assertions mit angegebener Granularität -da[:<packagename>...|:<classname>] -disableassertions[:<packagename>...|:<classname>] Deaktiviert Assertions mit angegebener Granularität -esa | -enablesystemassertions Aktiviert Systemassertionen -dsa | -disablesystemassertions Deaktiviert Systemassertionen -agentlib:<libname>[=<options>] Lädt native Agent Library <libname>, z.B. -agentlib:hprof siehe auch -agentlib:jdwp=help und -agentlib:hprof=help -agentpath:<pathname>[=<options>] Lädt native Agent Library nach vollem Pfadnamen -javaagent:<jarpath>[=<options>] Lädt Java-Programmiersprachen-Agent, siehe java.lang.instrument -splash:<imagepath> Zeigt Startbildschirm mit angegebenem Bild Weitere Einzelheiten finden Sie unter http://www.oracle.com/technetwork/java/javase/documentation/index.html greetz Ty very much but I didnt get the part how Im gonna use it bc I cant seems to choose or drag the game I want to edit it Link to comment Share on other sites More sharing options...
LCF-AT Posted July 2, 2022 Share Posted July 2, 2022 19 hours ago, ozomozyan said: Ty very much but I didnt get the part how Im gonna use it bc I cant seems to choose or drag the game I want to edit it What? BC? You can load your flash file (swf) into the decompiler if the drag function is not working etc or what do you mean? So I have not used the ffdec tool for few years now. Just explain some more what problem you have now. greetz Link to comment Share on other sites More sharing options...
ozomozyan Posted July 3, 2022 Share Posted July 3, 2022 17 hours ago, LCF-AT said: What? BC? You can load your flash file (swf) into the decompiler if the drag function is not working etc or what do you mean? So I have not used the ffdec tool for few years now. Just explain some more what problem you have now. greetz I cant seems to choose or drag it the flash game into the decompiler Link to comment Share on other sites More sharing options...
LCF-AT Posted July 3, 2022 Share Posted July 3, 2022 Hi, what do you mean? Its working for me to load swf files into. Just drag the file or looad it. greetz Link to comment Share on other sites More sharing options...
ozomozyan Posted July 5, 2022 Share Posted July 5, 2022 On 7/3/2022 at 8:57 PM, LCF-AT said: Hi, what do you mean? Its working for me to load swf files into. Just drag the file or looad it. greetz It seems like it doesnt see the game , I dont know what to do Link to comment Share on other sites More sharing options...
NOP Posted July 5, 2022 Share Posted July 5, 2022 (edited) That image shows it decompiled correctly Are you expecting a lot of code in frame 1 of the timeline like in the old AS2 games? If so then AS3 games are laid out a lot differently. ffdec will do what you want but you need to find the code you need and not expect it all to be in frame 1 Edited July 5, 2022 by NOP EDIT: Sorry it was LCF image I looked at. I suggest posting an image of what you are getting when trying to load SWF? Link to comment Share on other sites More sharing options...
LCF-AT Posted July 5, 2022 Share Posted July 5, 2022 Hi, do you mean you are trying the same game swf file or any other file? Just look for any swf files on your PC or download any game swf like I used in the example above and test it. In case of success it will load and decompile the file. Just test & verify it whether ffdec does load the file or not. greetz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now