This is a tool for cleaning Blue Archive dialog files so it could be easily readable and be used in a translation tool.
You will need node.js installed in your machine to run ba-dialog-cleaner.
Go to this link and download the latest LTS version of node js https://nodejs.org/en/download.
Once you installed node.js, ensure that it is installed in your machine by running node -v in any console/terminal.
Now to run the ba-dialog-cleaner.js simply follow these steps:
- Put the
ba-dialog-cleaner.jsin its own directory/folder. - Open your console and change the directory to the folder where you put the script.
- if you're using VS Code, press
ctrl + ~to open the terminal.
- if you're using VS Code, press
- Now put the
.txtfiles in the directory to where you put the script file. - Now run the script in your console using this syntax
node ba-dialog-cleaner.js - The script will run and clean all the text files and put all the cleaned text files in a folder called "clean".
- Enjoy! ^^
Funny Note: Notice that the README file is in
.mdfile format... since it got also included in the cleaning too if when I tested.