A Python GUI tool to generate XML files for NPCs and Monsters in Open-Tibia servers. Built with Tkinter and optimized for Windows.
- User-friendly interface
- Generate NPC XML files
- Generate Monster XML files
- Open generated files directly
- Customizable output directory
-
Install Python 3.10+
-
Go to the Python official website.
-
Download the latest Python 3.10+ installer for Windows.
-
Run the installer and make sure to check "Add Python to PATH" before clicking "Install Now".
-
After installation, verify Python is installed by opening Command Prompt and running:
python --version
It should display something like
Python 3.11.x.
-
-
Install required Python libraries
- Open Command Prompt in the project directory and run:
pip install tk Pillow lxml
- Open Command Prompt in the project directory and run:
To run the program directly with Python:
python main.pyYou can compile the project into a standalone executable using PyInstaller.
Open a terminal in the project directory and run:
python -m PyInstaller --onefile --windowed --name "NPC & Monster XML Generator" --add-data "favicon.ico;." main.py--onefile: bundles everything into a single executable.--windowed: runs without a console window.--name: sets the name of the generated .exe file.--add-data: includes additional files like icons.
After compilation, the executable will be located in the dist folder.