A native Hero Lab .por importer tool for D20PRO Virtual Tabletop.
Working with this project requires a basic fluency with Gradle. This includes installing it locally and then
- Running tasks from the command line like
gradle compile
- Importing the project into and triggering tasks from an IDE like IntelliJ.
Please go here if you are new to Gradle: https://gradle.org/guides/
Create a gradle.properties
file in the working directory and populate it with the following line:
sourceD20PRODir=D:/apps/d20Pro3.7.3
targetD20PRODir=D:/apps/d20Pro3.7.3
where sourceD20PRODir
and targetD20PRODir
are where you have installed D20PRO. These properties are used to:
- find the
D20PRO.jar
and other dependencies needed to compile the JAR. - deploy the import .jar to the proper location in
judge\addon\creature
.
For convenience a gradle.properties.sample
file is included. Make a copy of this file and rename it to gradle.properties
.
First set up the gradle.properties
as directed above. If a valid targetD20PRODir
is not found, the build will fail.
After making any code changes, run the buildAndCopyJarToD20PRO
task. This task will compile the code, build the .jar, and copy it to the specified D20PRO installation.
There is no need to restart D20PRO after rebuilding the import JAR. Simply start the creature import process again and it will hotswap in the latest code.
Under Construction
While some amount of "guerrilla debugging" is expected, it is extraordinarily likely a full fledged debugger will be needed. Instructions for launching D20PRO and remotely attach a debugger are on their way.