Tool-assisted speedrun (TAS) for Fireboy and Watergirl 1 - The Forest Temple
This speedrun works by reverse-engineering the game's .swf file and directly injecting a frame-by-frame sequence of controls.
These controls, and the order at which levels should be completed, are written out by hand in the /tas
directory prior to injection. mod.py
parses these files, disasembles the base .swf file, generates and injects bytecode, and then outputs the reasembled .swf file at fbwg-tas.swf
.
This was easiest way I could find to reliably execute frame-perfect controls (especially seeing as off-the-shelf TAS software don't really work well with flash).
Since the TAS controls are injected directly into the .swf file, if all you want to do is run the TAS, you just need to download fbwg-tas.swf
and play the file as you normally would.
Please take a look at the Wiki