Debugging SWF: Difference between revisions

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scrivener07
(This page is clearly a work in progress but I fixed the internal link to use the File: protocol with some size parameters.)
imported>Charlyturtle5000
(Blanked the page)
Line 1: Line 1:
Debugging swf files is fun and interesting, try it out!


1) Install an Java IDE - for example, Apache Netbeans IDE 10.0.<br/>
(mundane details: config config config... get it working, you need to able to open and build a existing project)<br/>
2) Download the source code for a Flash decompiler, for example the ffdec project (aka JPEXS Flash Decompiler)
(more mundane: config config, get it building and working in a debug session through the Java IDE)<br/>
3) Debug the decompiler from source, while also interacting with it as you normally would.
&nbsp;&nbsp;Set a breakpoint in the Java IDE to trigger on a UI event.<br/>
[[File:Java IDE Decompiler UI Breakpoint.jpeg|thumb|left]]{{ClearFloats}}
4) Extract your installation's Data\Fallout4 - Interface.ba2 file. <br/>
Create a read-only version, so you can recover from any mistakes. <br/>
5) Explore the various swf files inside and what they do. Open your favorite swf file via the decompiler's UI.<br/>
6) Get a deeper line-of-sight into the decompiler's scaffolding around the swf object.

Revision as of 05:10, 19 May 2019