- Check that the bug hasn't been reported in an existing issue.
- Make sure you are running the latest version of the program; click "Check for Update" at the bottom left corner.
- If you've found an issue with offence or defence calculations, make sure you check the breakdown for that calculation in the Calcs tab to see how it is being performed, as this may help you find the cause.
- Please provide detailed instructions on how to reproduce the bug, if possible.
- If the issue affects a specific build, please provide the build share code: In the Import/Export Build tab, click "Generate", then "Share with Pastebin" and add the link to your post.
Feature requests are always welcome. Note that not all requests will recieve an immediate response.
- Check that the feature hasn't already been requested; look at all issues with titles that might be related to the feature.
- Make sure you are running the latest version of the program, as the feature may already have been added; click "Check for Update" at the bottom left corner.
- Be specific! The more details, the better.
- Small requests are fine, even if it's just adding support for a minor modifier on a rarely-used unique.
- Pull requests must be made against the 'dev' branch, as all changes to the code are staged there before merging to 'master'.
- Make sure that the changes have been thoroughly tested!
The easiest way to make and test changes is by setting up a development install, in which the program runs directly from a local copy of the repository:
- Clone or download the repository; make sure you grab the dev branch. If you have Git installed, you can use this command:
git clone -b dev https://github.com/Openarl/PathOfBuilding.git
. - Copy the 'TreeData' folder from your main installation into the repository; if you used the .exe to install then it will be in "%ProgramData%\Path of Building".
- Create a shortcut to the 'Path of Building.exe' in your main installation of the program.
- Add the path and filename of the repository's 'Launch.lua' as an argument to the shortcut; you should end up with something like:
"C:\Program Files (x86)\Path of Building\Path of Building.exe" "C:\Path of Building\Launch.lua"
.
You can now use the shortcut to run the program from the repository. Running the program in this manner automatically enables 'Dev Mode', which has some handy debugging feature:
F5
restarts the program in-place (this is what usually happens when an update is applied).Ctrl
+~
toggles the console; ConPrintf can be used to output to it.- Holding
Alt
adds additional debugging information to tooltips:- Items and passives show all internal modifiers that they are granting.
- Stats that aren't parsed correctly will show any unrecognised parts of the stat description.
- Passives also show node ID and node power values.
- Conditional options in the Configuration tab show the list of dependant modifiers.
- While in the Tree tab, holding
Alt
also highlights nodes that have unrecognised modifiers. - Holding
Ctrl
while launching the program will rebuild theModCache
Note that the updates system is disabled in Dev Mode, so you must update manually.
The repository also contains the system used to export data from the game's Content.ggpk file. This can be found in the Export folder. The data is exported using the scripts in Export/Scripts, which are run from within the .dat viewer. The viewer can be run using the same method as the main program: passing the path to Export/Launch.lua to Path of Building.exe. Once open, enter the path to your PoE installation's Content.ggpk file in the text box at the top left; if successful, you will see a list of the data tables in the .ggpk file. Double-clicking a script in the scripts list will run it, and the box to the right will show any messages from the script.