Skip to content

๐Ÿ–ฅ๏ธ This is a terminal-based Python application to convert text data files from Fynn to Atlas

License

Notifications You must be signed in to change notification settings

junedabat/python-fynn2atlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ๐Ÿ–ฅ๏ธ Fynn to Atlas Converter โš”๏ธ

๐Ÿ–ฅ๏ธ This is a terminal-based Python application to convert text data files from Fynn to Atlas

Made on the request of my friend, Chatty, for their FF2 translations

Requirements

๐Ÿ“ฅ Setup

  • ๐Ÿ“ Clone the repository

    • Method 1: Github's interface

      • Click the green "Code" button on the repository's page on Github
      • Click the "Download ZIP" option
      • Extract the newly downloaded ZIP file
    • Method 2: Git command-line

      • Type the following command on your command-line interface (e.g.: cmd, powershell, bash, etc... ):
      git clone https://github.com/junedabat/python-fynn2atlas
      

โ–ถ๏ธ Usage

  • Place the file you want to convert in the same directory as the fynn2atlas.py file
  • Execute the following command, where:
    • <file_to_convert.txt> is the name of the file you want to convert
    • <format_to_convert_to> is the name of the format you want to convert your file to (either fynn or atlas)
    • <output_file.txt> is the name of the output file, created from the conversion
    • [--include_end_tags] is the option to add <END> tags, when converting from Fynn to Atlas
python3 <file_to_convert.txt> <format_to_convert_to> <output_file.txt> [--include_end_tags]
  • Once converted, you'll find the output file in the export subdirectory

๐Ÿ“ Examples

  • Convert data_enemy.txt from Fynn to Atlas (output: atlas_data_enemy.txt):

python3 fynn2atlas.py data_enemy.txt atlas atlas_data_enemy.txt
  • Convert data_enemy.txt from Fynn to Atlas, and include <END> tags (output: atlas_data_enemy.txt):

python3 fynn2atlas.py data_enemy.txt atlas atlas_data_enemy.txt --include_end_tags
  • Convert atlas_data_attack.txt from Atlas to Fynn:

python3 fynn2atlas.py atlas_data_attack.txt fynn data_attack.txt

About

๐Ÿ–ฅ๏ธ This is a terminal-based Python application to convert text data files from Fynn to Atlas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages