Skip to content

How to configure !setslot

EverOddish edited this page Nov 22, 2020 · 2 revisions

In cases where PokeStreamer-Tools auto-layout does not support a particular Pokemon game, you may wish to manually update sprite files on your computer.

The !setslot command allows this via DrFujiBot by copying a specified sprite file name to a specified slot file, as would normally occur automatically by PokeStreamer-Tools. Currently, all sprite files must be in the .png format.

To configure the !setslot command:

  1. Open the dashboard web interface
  2. Under Settings, set the Sprite Folder setting to the folder path that contains your sprite files.
  3. Configure OBS to display the p1.png through p6.png files as you would with PokeStreamer-Tools
  4. Use !setslot <pokemon/file name>

For example, "!setslot 3 pikachu" will copy pikachu.png to p3.png

Security consideration: Directory traversal is explicitly denied. This means that you cannot do "!setslot 1 ..\..\private_file.png" because the relative path will be detected and denied, in order to prevent private files from being displayed in an OBS stream.