AtlusScriptCompiler

AtlusScriptCompiler is a program created by TGEnigma as a part of his AtlusScriptToolchain. It can be used to convert .BF (binary flow) scripts into editable .flow documents by decompiling them. It can also Compile them back into BF. It can also convert .BMD (binary message data) to and from an editable .msg document.

Usage
The compiler uses Libraries for each game that define the functions and their parameters. In order to create a library, function signatures must be dumped from the game using a script like this one.

Decompiling
Supply the following commandline arguments to AtlusScriptCompiler.exe. The following uses Persona 5's BFs as an example:

BF to Flow
Note: This also automatically converts BMD files contained in the BF to msg

Compiling
Supply the following commandline arguments to AtlusScriptCompiler.exe.

Flow to BF
Note: This also automatically converts referenced msg files to BMD and includes them in the new BF