Please read these instructions to make sure you are using this correctly!

Choose the type and enter the name of the trainer—just the name, not the class—and their full party of pokemon.

This is the order of their actual party, NOT the order in which they were sent out! So in closed log randomized game, you might not always have the necessary information.

ALL names are case sensitive! Enter the randomized name (as seen in-game or in the .log file), NOT the non-randomized name shown by the in-game log viewer.

Note that your rival's name is NOT the one you entered at the start. The only way to know this name is to obtain it from the log file. (In a non-randomized game, the placeholder is "TERRY")

Thanks to CyanSixFour and psoh612, whose research this tool is based on.