Skip to content
Ross Allan edited this page Jan 21, 2014 · 3 revisions

Scaleform assets.

Basically SWF files with images stripped (the stripped images are typically exported as DDS file and then referenced by Scaleform specific SWF tags, allowing texture atlasing).

Disassembly steps:

  1. Rename to .swf
  2. Change the file header using a hex editor. First three bytes from "GFX" -> "FWS" or "CFX" -> "CWS"
  3. Decompress with flasm if header bytes were "CFX". Use ./flasm -x <filename>.swf
  4. Open the file with SWiX SWF editor
  5. UI layout is visible here.
  6. To disassemble the actionscript convert ABC data tag at the bottom of the file to binary (base64 -> bin)
  7. Use RABCDasm to disassemble the extracted .abc data

It may be possible to extract the .abc using RABCDasm's abcexport utility, however this crashes with an "Incorrect file length in file header" error for some unknown reason.

Clone this wiki locally