9.1.0 • Published 5 months ago

pathofexile-dat v9.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
5 months ago

pathofexile-dat

This package can be used as a library to read game files, or as a command line tool to extract them.

Exporting data

  1. Install the package globally:
> npm install --global pathofexile-dat
  1. Create a directory to store the exported data. Create a config.json in it:
{
  // Game data will be downloaded from PoE update servers.
  // Latest version can be found by visiting https://raw.githubusercontent.com/poe-tool-dev/latest-patch-version/main/latest.txt
  // Remove if you want to use Steam installation directory.
  "patch": "3.20.1.1",

  // Self-explanatory. Not required if you have provided "patch" above.
  "steam": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Path of Exile",

  // Files to export
  "files": [
    // exported as-is
    "Metadata/StatDescriptions/stat_descriptions.txt",

    // images from sprites are exported as PNG
    // you will need to install ImageMagick for this to work
    "Art/2DArt/UIImages/InGame/InventorySquare",

    // dds files are exported as PNG too
    "Art/2DItems/Maps/Atlas2Maps/New/Base14UberBlighted.dds"
  ],

  // Add this field if you don't want to export Tables in all available languages.
  "translations": ["English", "Russian"],

  // Tables to export
  // Names and columns can be explored here https://github.com/poe-tool-dev/dat-schema/tree/main/dat-schema
  "tables": [
    {
      "name": "BaseItemTypes",
      "columns": [
        "Id",
        "Name",
        "IsCorrupted"
      ]
    },
    {
      "name": "ItemClasses",
      "columns": ["Id"]
    }
  ]
}
  1. (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
  1. 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"
9.1.0

5 months ago

9.0.0

6 months ago

8.0.0

10 months ago

7.0.0

1 year ago

7.0.1

1 year ago

6.0.0

2 years ago

5.2.0

2 years ago

5.1.1

2 years ago

5.1.0

2 years ago

5.0.0

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.5

3 years ago

4.0.0

3 years ago

3.0.0

3 years ago

2.1.4

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.3

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago