Widget:Gem Store magic

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description

This widget displays gem store data accurately. Its purpose is primarily to update Gem Store/data.

Five resources are necessary to do this:

  1. The user's levelDB ".log" file - Contains individual item availability start/end dates, prices and discounts (note that items already purchased on your account will display blank prices). This available items with price listings depend on your previous account purchases and unlocks, so be sure to use a file for an account with no purchase history if possible.
  2. Index - Contains the internal ids of at least every item currently displayed in the gemstore, plus a few other items which can be filtered out using the start/end dates from above.
  3. Catalogue details - Contains image paths, category ids
  4. Category details - Contains category names
  5. Wiki page names for item ids - Not all item names are the same as the wiki page equivalent. This is a manually updated list held at Widget talk:Gem Store magic/name fixes.

Instructions

  1. On your computer, navigate to %TEMP%
  2. Delete the gw2 cache folder.
  3. Run the Guild Wars 2 application, login, select a character, and when it loads open the gemstore / trading post window.
  4. Wait for a folder to be created like %TEMP%\gw2cache-{key varies by user}\user\Cache\Local Storage\leveldb.
  5. Close the Guild Wars 2 application, which will create an ".ldb" file and update the ".log" file.
  6. Drag either the entire folder contents into the drop zone below, or specifically pick the file with the ".log" suffix.
  7. Wait for the widget to read the file, and fetch some online resources.
  8. When it is complete, wikitext will be generated with available items at the top, and unavailable items at the bottom.

Notes

  • Special thanks to "Silver" on the GW2 Development Community Discord for their api.datawars2.ie endpoint which provides a near-mirror of the url data used by the gemstore ingame.

Widget

Controls

Instructions: (1) Select a radio button. (2) Drag a ".log" file onto the browse button. (3) Wait for the output to appear below. (4) Once an output has appeared the first time, you can then change the output type.