-
NodeJS
-
Java 17 SDK must be added to the path.
(Requirejavap
command to be available in your terminal)
Set the path to the game root directory where the generator will get the .class
files.
node dist/index.js -json -src "C:/Program Files (x86)/Steam/steamapps/common/ProjectZomboid"
Amount of source files to compile simultaneously.
node dist/index.js -json -size 200
Bigger number is faster but there is a limit due to NodeJS subprocess character limit of the command executed.
Set the path where the generated typescript will be saved.
node dist/index.js -ts -out C:/GeneratedTS
npm run compile
Generate json files needed to generate the typescript files.
npm run json
Generate the typescript files.
npm run ts
Generate both json and ts files in one command.
npm run all