This package can be used as a library to read game files, or as a command line tool to extract them.
- Install the package globally:
> npm install --global pathofexile-dat
- Create a directory to store the exported data.
Create a
config.json
in it:
- (Optional step). If you're exporting images, you will need to install ImageMagick.
# on Windows
# don't forget to restart your terminal, so that it is available in the PATH.
winget install ImageMagick
# on Linux
sudo apt install imagemagick
- Open a terminal, so that your working directory is the one you created in step 2. Run
pathofexile-dat
C:\..\my_export_dir> pathofexile-dat
Loading bundles index...
Loading schema for dat files
Exporting table "Data/BaseItemTypes"
Exporting table "Data/ItemClasses"