/EverDrive-Packs-Lists-Database-UI

Python based (tkinter) Graphical User Interface for SmokeMonster EverDrive-Packs-Lists-Database pack scripts.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

EverDrive-Packs-Lists-Database-UI

The EverDrive Packs List Database UI is Graphical User Interface for the EverDrive Packs Lists Project for easier usage.

This application requires the pack scripts folder, as such it accepts a parameter containing the pack scripts folder, it also can save the scripts location for later usage on an ini file (gui_pack.ini), it also have logic to look for the pack scripts in some common places; in case none of the above methods result in a valid pack scripts folder the UI will present the user with a dialog to select a pack scripts folder, if no scripts folder is selected the build and parse buttons will be disabled.

The UI uses file dialogs to help on selecting folders and files, performs some basic validation, then you have the option of obtaining the command to copy and pasted on a console to run it from there, or execute the command from within the UI itself.

The interface consists of 2 tabs, one for build_pack.py (default tab) and the other for parse_pack.py.

Build tab

The first 3 input fields are required, the 4th is optional also the advanced options are present and preselected to default values, be careful with this ones.

Parse tab

The 2 input fields are required.

GUI

gui_pack.py Graphical User Interface for parse_pack.py and build_pack.py:

"C:\XXX\gui_pack.py"

-s (or --scripts-folder) indicates the folder were the build_pack.py and parse_pack.py scripts are located.

--save indicates if the provided parameter folder is saved on a ini file, defaults to False

Depending on your python installation, you may need to begin your command with the location of python.exe (for example, C:\Users\XXX\AppData\Local\Programs\Python\Python36-32\python.exe).

Wiki

wiki.

Requirements

EverDrive-Packs-Lists-Database scripts

python 3.5 or newer

Linux, MacOS, or Windows

Python 3 is a requirement the installer for Mac and Windows include tkinter by default, however on *nix systems python3-tk is also a requirement.

(Linux and MacOS users might need to convert the script and SMDB files first with the command dos2unix)

Coding

@Aleyr.

Similar tools