AtlusScriptCompiler is a program created by User:TGE 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.
Similarly, it supports conversion of .BMD (binary message data) to and from an editable .msg document.
Usage[edit | edit source]
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[edit | edit source]
BF to Flow[edit | edit source]
BMD to Msg[edit | edit source]
AtlusScriptCompiler.exe input.bmd -Decompile -Encoding P5
Compiling[edit | edit source]
Supply the following commandline arguments to AtlusScriptCompiler.exe.
Flow to BF[edit | edit source]
AtlusScriptCompiler.exe input.bf.flow -Compile -OutFormat V3BE -Library P5 -Encoding P5
Note: This also automatically converts referenced msg files to BMD and includes them in the new BF
Msg to BMD[edit | edit source]
AtlusScriptCompiler.exe input.msg -Compile -OutFormat V1BE -Library P5 -Encoding P5