Help:Tools/EventEditor

From ZeldaMods (Breath of the Wild)
< Help:Setting up tools
Revision as of 11:42, 20 October 2018 by imported>Leoetlino (Leoetlino moved page Help:Tools/EventEditor to Help:Tools/EventEditor)
Jump to navigation Jump to search
EventEditor
Author(s) leoetlino
Source code https://github.com/leoetlino/event-editor
License GPLv3
Written in Python
Platform support Cross-platform

Setup

  1. Ensure you have a 64 bit version of Python 3.6+ before continuing. You will not be able to install or launch EventEditor otherwise.
  2. Install PyQt5.
    • If you're on Linux, use your package manager. The package for Debian is called python3-pyqt5. You will also need to install python3-pyqt5.qtwebengine.
    • If you're on Windows, install the PyQt5 package. [CLI help]
  3. Install the eventeditor package. [CLI help]

The editor can now be launched with the eventeditor command. [help]

Enabling auto completion support

To avoid having to type actor, parameter, action and query names manually, EventEditor has built-in support for auto completion.

To enable the feature, the program must be configured to look in the game's content files by adding:

[paths]
rom_root=/path/to/game_rom

to EventEditor's configuration file, where /path/to/game_rom is a path such that /path/to/game_rom/Pack/Bootup.pack/Actor/AIDef/AIDef_Game.product.sbyml exists.

An easy, recommended way to get the required file structure without having to extract every single archive is to use botwfstools.

Configuration file

The configuration file is stored:

  • On Linux or macOS: at ~/.config/eventeditor/eventeditor.ini
  • On Windows: at %APPDATA%/eventeditor/eventeditor.ini