ggpk
Old: ChuanHsing 2023-01-24 12:53:42
New: ChuanHsing 2023-01-24 12:55:53
| Old | New | Differences | |
|---|---|---|---|
| 1 | - | # | |
| 1 | + | # GGPK | |
| 2 | 2 | ||
| 3 | - | ||
| 3 | + | <a href="https://i.imgur.com/a/AZCBdP4.png" data-lightbox="panel"></a> | |
| 4 | 4 | ||
| 5 | + | ## Data Export | |
| 5 | 6 | ||
| 7 | + | The game data does not have any official API, and only possible data can be analyzed from the game files. | |
| 6 | 8 | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ## Development Tool | |
| 9 | + | Almost all data is stored in .dat64 files within Content.ggpk. But they only have data, no headers. You can start with the .dat64 format, the [PoE dat schema](https://github.com/poe-tool-dev/dat-schema) project is the latest format. Or try to parse the .dat format from [PoE Dat Viewer](https://snosme.github.io/poe-dat-viewer/) yourself. [RePoE](https://github.com/brather1ng/RePoE/) collects many common and processed .dat files and exports them to .json format. | |
| 11 | 10 | ||
| 12 | 11 | Site | Description | |
| 13 | 12 | - | - | |
| 14 | - | [Tooldev Discord Channel](https://discord.gg/pathofexile) | #tooldev-general | |
| 15 | - | [PoeSharp](https://github.com/andreandersen/PoeSharp) | C# Library to deal with PoE stuff | |
| 16 | - | [PoE Go](https://github.com/ccbrown/poe-go) | an entry-level guide to writing tools for PoE in the Go programming language. | |
| 13 | + | [PyPoE](https://github.com/Project-Path-of-Exile-Wiki/PyPoE) | Collection of Python Tools for Path of Exile, mostly used by wiki | |
| 14 | + | [RePoE](https://github.com/brather1ng/RePoE/) | Repository of Path of Exile resources for tool developers. | |
| 15 | + | [Poe Dat Viewer](https://snosme.github.io/poe-dat-viewer/) | Web-base Poe Dat Viewer | |
| 16 | + | [PoE dat schema](https://github.com/poe-tool-dev/dat-schema) | Source of truth schema for dat files. | |
| 17 | + | [Path Of Building Fork schema](https://github.com/PathOfBuildingCommunity/PathOfBuilding/blob/dev/src/Export/spec.lua) | Source of Path Of Building Fork schema | |
| 18 | + | [Path of Go](https://github.com/oriath-net/pogo) | Golang tools for reading PoE data files | |
| 19 | + | [LibGGPK2](https://github.com/aianlinb/LibGGPK2) | Windows GUI tool to view Content.ggpk and export | |
| 17 | 20 | ||
| 18 | - | ## APIs | |
| 19 | - | Site | Description | |
| 20 | - | - | - | |
| 21 | - | [PoE API](https://poedb.tw/us/poe-api) | PoEDB collections of official API | |
| 22 | - | [Official Website API](https://www.pathofexile.com/developer/docs) | OAuth 2.0 API endpoints of Path of Exile | |
| 23 | - | [POESESSID](POESESSID) | |
| 24 | - | [API:Passive_Skill_Tree](API%3APassive_Skill_Tree) | |
| 25 | - | [API:OAuth](API%3AOAuth) | |
| 26 | - | [API:Ladder](API%3ALadder) | |
| 27 | - | [API:Trade](API%3ATrade) | |
| 28 | - | [API:Public_Stashes](API%3APublic_Stashes) | |
| 29 | - | [ggpk](ggpk) | |
| 21 | + | PyPoe stable.py to spec.json | |
| 22 | + | ``` | |
| 23 | + | from PyPoE.poe.file.specification.data import stable | |
| 24 | + | from json import dump | |
| 25 | + | with open('D:/spec.json', 'w') as f: | |
| 26 | + | dump(stable.specification.as_dict(), f) | |
| 27 | + | ``` |