You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+24-8Lines changed: 24 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
* Please provide detailed instructions on how to reproduce the bug, if possible.
24
24
* Provide a build share code for a build that is affected by the bug, if possible.
25
25
In the "Import/Export Build" tab, click "Generate", then "Share" and add the link to your post.
26
-
26
+
27
27
Build share codes allow us to reproduce bugs much more quickly.
28
28
29
29
## Requesting features
@@ -236,6 +236,8 @@ Docker alternative:
236
236
*[How skills work in Path of Building](docs/addingSkills.md)
237
237
238
238
## Exporting GGPK data from Path of Exile
239
+
> [!WARNING]
240
+
> This will not work on files from the torrent that is released before league launches, as it contains no `Data` section.
239
241
240
242
Note: This tutorial assumes that you are already familiar with the GGPK and its structure. [poe-tool-dev/ggpk.discussion](https://github.com/poe-tool-dev/ggpk.discussion/wiki)
241
243
is a good starting point.
@@ -244,6 +246,9 @@ The `./src/Data` folder contains generated files which are created using the scr
244
246
If you change any logic/configuration in `./src/Export`, you will need to regenerate the appropriate `./src/Data` files. You can do so by running the `./src/Export` scripts using the `.dat` viewer at `./src/Export/Launch.lua`:
245
247
246
248
### Obtain an Oodle extractor
249
+
> [!TIP]
250
+
> Binaries are usually available at https://github.com/zao/ooz/releases.
251
+
247
252
Note: For this tutorial, you will need a working installation of [Visual Studio Community](https://visualstudio.microsoft.com/vs/community/)
248
253
as well as some familiarity with build tools such as [CMake](https://cmake.org).
249
254
1. In Visual Studio, clone the following repository using this command:
@@ -252,13 +257,24 @@ as well as some familiarity with build tools such as [CMake](https://cmake.org).
252
257
2. Configure CMake.
253
258
3. Build `bun_extract_file.exe`, `libbun.dll` and `libooz.dll`.
254
259
255
-
### Set up the exporter
256
-
1. Copy `bun_extract_file.exe`, `libbun.dll` and `libooz.dll` to `./src/Export/ggpk/`.
257
-
2. Create a shortcut to `./runtime/Path{space}of{space}Building.exe` with the path to `./src/Export/Launch.lua` as first argument. You should end up with something like: `"<path to repo>\runtime\Path{space}of{space}Building.exe" "<path to repo>\src\Export\Launch.lua"`.
258
-
3. Run the shortcut, and the GGPK data viewer UI will appear. If you get an error, be sure you're using the latest release of Path of Building Community.
259
-
4. Paste the path to `Content.ggpk` (or, for Steam users, `C:\Program Files (x86)\Steam\steamapps\common\Path of Exile`) into the text box in the top left, and hit `Enter` to read the GGPK. If successful, you will see a list of the data tables in the GGPK file. Note: This will not work on the GGPK from the torrent file released before league launches, as it contains no `Data` section.
260
-
5. Click `Scripts >>` to show the list of available export scripts. Double-clicking a script will run it, and the box to the right will show any output from the script.
261
-
6. If you run into any errors, update the code in `./src/Export` as necessary and try again.
260
+
### Set up the exporter
261
+
1. Copy `bun_extract_file.exe`, `libbun.dll` and `libooz.dll` to `.\src\Export\ggpk\`.
262
+
2. Create a shortcut to `.\runtime\Path{space}of{space}Building.exe` with the path to `.\src\Export\Launch.lua` as the first argument. You should end up with something like:
263
+
264
+
"<path to repo>\runtime\Path{space}of{space}Building.exe" "<path to repo>\src\Export\Launch.lua"
265
+
3. Run the shortcut. "Dat View", the GGPK data viewer UI, should appear. If you get an error, be sure you're using the latest release of Path of Building Community.
266
+
4. Click `Edit Sources...` to display the "New DAT Source" popup. Click `New` and enter a name.
267
+
5. Paste the full path to `Content.ggpk` into the "Source from GGPK/Steam PoE path" box and hit `Enter`. For the stand-alone client, the path must include the file-name. (Do not put anything in the "Source from DAT files" box unless you have already manually unpacked the relevant files.)
268
+
269
+
Example input for the stand-alone client:
270
+
271
+
C:\Path of Exile 2\Content.ggpk
272
+
Example input for Steam:
273
+
274
+
C:\Program Files (x86)\Steam\steamapps\common\Path of Exile 2
275
+
If successful, you should see some cmd windows pop up as the files are unpacked, and then a list of the data tables in the GGPK file should appear.
276
+
6. Click `Scripts >>` to show the list of available export scripts. Double-clicking a script will run it, and the box to the right will show any output from the script.
277
+
7. If you run into any errors, update the code in `./src/Export` as necessary and try again.
262
278
263
279
## Using the inbuilt profiler
264
280
The profiler is found at https://github.com/charlesmallah/lua-profiler and is written entirely in lua under a MIT license.
0 commit comments