> For the complete documentation index, see [llms.txt](https://docs.shrinefox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shrinefox.com/flowscript/atlusscriptcompiler/run-via-commandline.md).

# Run via Commandline

This method is the traditional way to use the compiler.

{% hint style="success" %}
For an even easier time, see how to [**Run via GUI**](/flowscript/atlusscriptcompiler/run-via-gui.md) (graphical user interface).\
If using that method, you can safely skip this page and the upcoming [**Compile**](/flowscript/atlusscriptcompiler/run-via-commandline/compile.md) and [**Decompile**](/flowscript/atlusscriptcompiler/run-via-commandline/decompile.md) sections.
{% endhint %}

## Usage

### Command Prompt

If you tried to run [**AtlusScriptCompiler**](/flowscript/atlusscriptcompiler.md) like a typical `.EXE`, the program would appear to quickly open and close without doing anything. That's because *commandline* programs must be run from the Windows Command Promp&#x74;**,** which we will shortened as "CMD" from here on out.

1. Press `Windows Key + R` and type `cmd`.
2. Press Enter.
3. Drag `AtlusScriptCompiler.exe` onto the CMD window,\
   OR\
   Type the full path to the program in the CMD. Wrap it in quotes in case any folder names contain spaces.
4. Press `Enter`.

Your CMD window should look like this:

```
Microsoft Windows [Version 10.0.22000.120]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Username>"C:\Path\To\AtlusScriptCompiler.exe"
```

At this point, the program should just spit out a list of **arguments** to use.

### Arguments

**Arguments** are the commands that *commandline* programs take as user input. \
You can type them after path to the program you're executing to tell it what to do.&#x20;

For instance, to [Decompile](/flowscript/atlusscriptcompiler/run-via-commandline/decompile.md) a Persona 5 `.BF` script, you'd type:

```
C:\Users\Username>"C:\Path\To\AtlusScriptCompiler.exe" "C:\Path\To\input.bf" -Decompile -Library P5 -Encoding P5 -Out "C:\Path\To\output.flow"
```

{% hint style="success" %}
By now, you know that AtlusScriptCompiler can [compile](/flowscript/atlusscriptcompiler/run-via-commandline/compile.md) `.FLOW` and `.MSG` files, and [decompile](/flowscript/atlusscriptcompiler/run-via-commandline/decompile.md) `.BF` and `.BMD` files. You're also acquainted with how to start the program. \
\
If not, start from [**Intro to Scripting**](/master.md).
{% endhint %}

To learn what each argument means, and which to use in different scenarios, keep reading.

{% content-ref url="/pages/-MgwkH0bTnsDEeeLeijr" %}
[Decompile](/flowscript/atlusscriptcompiler/run-via-commandline/decompile.md)
{% endcontent-ref %}
