From b40295d8716236ba685147c9ba32afe9900c64cc Mon Sep 17 00:00:00 2001 From: Josh Freeman Date: Tue, 21 Mar 2017 10:11:47 +0000 Subject: [PATCH] Update icon_paths.md --- research/icon_paths.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/research/icon_paths.md b/research/icon_paths.md index 77be45c8c..aa21365c2 100644 --- a/research/icon_paths.md +++ b/research/icon_paths.md @@ -18,3 +18,21 @@ $path = $extended : '0'. $icon[1] . $icon[2] .'000'; ``` +The result would be: + +- `26039` +- Is less than 5? **yes** +- Folder: `0 24 000` (the 0 we prepended) +- Filename: `026039` +- Result: ![Icon!](https://secure.xivdb.com/img/game/026000/026039.png) + +# XIVDB Icons + +It's possible to obtain icons based on their in-game ID, for example: + +- Word of the Magnate Replica = `16923` +- Take first number for folder: `1` +- Path: `/img/game_local/ 1 / 16923 .jpg` +- Result: ![Icon!](https://secure.xivdb.com/img/game_local/1/16923.jpg) + +The XIVDB icons are not always available, when a new patch comes out it is difficult to get the latest icons.