Skip to content

efunn/krangler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

krangler

Python tool to convert .json node pairs into a tree.lua file for Path of Building in the Path of Exile Krangled Passives event.

How to Use

  • Install any modern Python (e.g. Anaconda - we only use Pandas and Numpy libraries which should be installed automatically)
  • download this repository with git or just click Code > Download ZIP on github
  • place your node pair .json file(s) into ./data (to generate these, use krangle-viewer tool)
  • download a portable installation of Path of Building
  • open your terminal of choice (e.g. Powershell) and navigate to the krangler folder (e.g. cd C:/Users/yourname/Downloads/krangler)
  • run python krangler.py
    • If this is the first time running the krangler, you will be prompted to enter the directory where you extracted the portable path of building ([...]/PathOfBuilding-Community/TreeData/3_22).
  • the old tree data will be copied to a new file with the current datetime in the file name in [...]/PathOfBuilding-Community/TreeData/3_22 and tree.lua will be replaced with your newly generated tree.
  • run Path of Building from the [...]/PathOfBuilding-Community/ folder and your new krangled tree should appear!

Features

  • includes list of all nodes in ./data/all_nodes_nothingness.json to null out the ones that haven't been scouted yet
  • supports any number of .json files from multiple users
  • duplicate nodes (same entry from multiple users) will work
  • will warn you when running replace_all_nodes_wrapper() if there are duplicate nodes that conflict with each other (i.e. one node mapped to different new nodes by different users)

Limitations

  • skill icons are also krangled (sorry!) due to using some older tree data
  • using a base tree.lua file from the beginning of 3.22 patch
  • PoB changed the formatting of tree.lua in later releases and I didn't have time to fix my code
  • future versions require a rewrite of krangler.py to properly parse nodes instead of doing hacky string editing

About

Tool to modify passive trees in PoB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages