Dev utility for TM2020, MP4, and Turbo that reloads local .Script.txt files in-game after you save a new version, without requiring a restart.
Additionally for MP4 title pack development it includes:
- Very basic and lightweight socket server for remote script reloading from external tools like VSCode (which can be set up as task or/and run on save commands with appropiate extensions)
- .refreshignore file support to filter folders during refresh (that file is expected to be in title packs root folder - globbing not supported)
- These features are only enabled if the title pack is loaded in edit mode
- Configurable socket port in settings (default is 30005)
Socket server will ONLY initialize if title pack is loaded in edit mode and will shut down upon unloading eg. make sure title pack is loaded.
Working examples of the .refreshignore, tasks.json and Python code which triggers the socket server are included in server-examples folder in the .op plugin file itself, which can be also found in the Github repo as well