Quantcast
Download
(261 Kb)
Download
Updated: 08-20-18 02:20 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-20-18 02:20 AM
Created:11-06-10 10:29 PM
Downloads:5,420
Favorites:17
MD5:

Texture Browser  Popular! (More than 5000 hits)

Version: 18.08.20
by: Aezay [More]

Texture Browser
This is a developer tool which allows you to browse all icons within WoW's interface. It should probably have been named "Icon Browser" instead.

You can shift click on a texture entry to paste the path into the chat box, and then copy it from there to insert into your code.

To open, use slash command "/tb" or "/texturebrowser".

ArtTextureID
As texture paths in-game was phased out in favor of textureIDs, it was no longer possible to do any meaningful navigation or filtering using this tool.
To fix that issue, a complete table of all valid textureIDs mapped to their real texture paths, has been supplied with this addon through the "ArtTextureID.lua" file.

The downside is that as more and more icons are added to the game, this file needs to be updated.
Another thing is that it takes up quite a bit of memory, so its recommended to only enable this addon when needed.

Icon Count
As of patch 4.0.1a, a total of 6233 icons can be viewed using this tool.
As of patch 4.0.3a, a total of 7949 icons can be viewed using this tool.
As of patch 8.0, a total of 20073 icons can be viewed using this tool.

Texture Browser Changes | 2018 Aug 20
- Updated the TOC version to 80000 for the Battle for Azeroth 8.0 pre-patch.
- Now includes the "ArtTextureID.lua" file which contains all the paths of textures. See the readme file for notes on why this is included.
- Added "Filter" button. Allows you to apply a specific filter, instead of only narrowing down the results using the dropdowns. Shift-click to clear filter.

Texture Browser Changes | 2015 Feb 16
- TOC version has been changed to 60000 for the Warlords of Draenor 6.0.2 patch.
- No longer causes an error in cases where an enumerated texture is nil.
- Unreleased Version.

Texture Browser Changes | 2013 Jul 20
- Changed the TOC version to 50300 for the 5.3 patch.
- Updated to work with the new API functions for retrieving macro icons. That is, GetMacroIcons() and GetMacroItemIcons().

Texture Browser Changes | 2010 Nov 10
- Added textures from achievements and feats of strength.
- Added textures from spells using the GetSpellInfo() function.
- No longer shows duplicate textures.
- When linking a texture path into the chat edit, it will now use double blackslash, instead of just a single one.
- Added a large 128 x 128 texture preview to the right side of the frame.
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
13.07.20
8kB
Aezay
07-19-13 04:42 PM
10.11.10
8kB
Aezay
11-10-10 11:05 AM
10.11.07
7kB
Aezay
11-06-10 10:29 PM


Post A Reply Comment Options
Unread 03-01-16, 07:08 PM  
EvilMaddness
A Fallenroot Satyr
 
EvilMaddness's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 16
Uploads: 5
Add-on not working right

I just downloaded this and logged in and the screen is showing all the textures hidden. If I go over one of the textures in the list it just shows a highlighted box with nothing on it.
__________________
The Maddness Within lua
Report comment to moderator  
Reply With Quote
Unread 02-15-15, 07:27 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 736
Uploads: 20
Re: Error on use, no textures showing

Recompense
Does this version work fine, or are there other bugs?

http://aezay.dk/addons/
Report comment to moderator  
Reply With Quote
Unread 02-07-15, 10:01 PM  
Recompense
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 160
Uploads: 18
Error on use, no textures showing

Receiving this error immediately upon using /tb:

Message: Interface\AddOns\TextureBrowser\core.lua:179: attempt to index local 'texture' (a number value)
Report comment to moderator  
Reply With Quote
Unread 07-16-13, 11:07 AM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1056
File comments: 186
Uploads: 25
Unless you want to free up the memory every time, you could even just create the table like local MacroIcons = GetMacroIcons() outside the function.

Otherwise, you could wipe the table in the OnHide function to be more in-line with the rest of the addon.

There doesn't seem to be any downside to calling GetMacroIcons(tbl) without wiping it first, it either wipes it internally or replaces all of the entries with themselves.
Report comment to moderator  
Reply With Quote
Unread 07-16-13, 10:45 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 736
Uploads: 20
semlar
Yes, that was exactly what I was thinking, to create the table locally and supply the function with it. Was just wondering if it would be fine to call both GetMacroIcons(tbl) and GetMacroItemIcons(tbl) without calling wipe(tbl) in between. What I mean mean is, do those two functions support being called with non-empty tables?

I'll try and put out an update before the week is over.
Report comment to moderator  
Reply With Quote
Unread 07-14-13, 07:33 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1056
File comments: 186
Uploads: 25
Originally Posted by Aezay
semlar
If that is all that is needed to make this addon work with WoW today, I could update it. Are there any other issues?
Everything seems to work aside from those 2 api functions.

GetMacroIcons returns a table of texture names, but it can also take an optional table to fill up for an argument instead of creating a new one every time it's called, so it would be marginally more efficient to create a table outside the OnShow function to fill up, but it probably doesn't matter much.
Report comment to moderator  
Reply With Quote
Unread 07-14-13, 06:34 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 736
Uploads: 20
semlar
If that is all that is needed to make this addon work with WoW today, I could update it. Are there any other issues?
Report comment to moderator  
Reply With Quote
Unread 07-14-13, 05:45 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1056
File comments: 186
Uploads: 25
In case someone wants to use this.. (patch 5.3)

In core.lua replace
Lua Code:
  1. for i = 1, GetNumMacroIcons() do
  2.     AddTexture(GetMacroIconInfo(i));
  3. end
  4. for i = 1, GetNumMacroItemIcons() do
  5.     AddTexture(GetMacroItemIconInfo(i));
  6. end
with
Lua Code:
  1. for i, texture in ipairs(GetMacroIcons()) do
  2.     if texture and texture ~= '' then
  3.         AddTexture('interface/icons/' .. texture)
  4.     end
  5. end
Last edited by semlar : 07-14-13 at 05:48 PM.
Report comment to moderator  
Reply With Quote
Unread 09-15-12, 04:45 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 736
Uploads: 20
oscarucb
I see the GetNumMacroIcons() and GetNumMacroItemIcons() was removed. This require some code changes for this addon to work again. I'll try to look into it.
Report comment to moderator  
Reply With Quote
Unread 09-10-12, 01:44 AM  
oscarucb
A Murloc Raider
 
oscarucb's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 15
Uploads: 1
Broken in 5.0.4:

Date: 2012-09-10 03:42:35
ID: 1
Error occured in: Global
Count: 3
Message: ..\AddOns\TextureBrowser\core.lua line 190:
attempt to call global 'GetNumMacroIcons' (a nil value)
Debug:
TextureBrowser\core.lua:190:
TextureBrowser\core.lua:187
[C]: Show()
TextureBrowser\core.lua:362: ?()
..\FrameXML\ChatFrame.lua:4358:
..\FrameXML\ChatFrame.lua:4304
[C]: ChatEdit_ParseText()
..\FrameXML\ChatFrame.lua:4052: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:4091: ChatEdit_OnEnterPressed()
[string "*:OnEnterPressed"]:1:
[string "*:OnEnterPressed"]:1
Report comment to moderator  
Reply With Quote
Unread 12-18-10, 07:06 PM  
jbashara
A Deviate Faerie Dragon
 
jbashara's Avatar

Forum posts: 17
File comments: 35
Uploads: 0
Sorry, just to confirm then, is this only an icon browser or does it support spell textures (for use in addons like SexyMap) as well?

Thanks
__________________

"People with real courage and character always seem sinister to the rest."
- Herman Hesse, Damian
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 10:46 PM  
Limb0
A Cobalt Mageweaver
 
Limb0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 220
File comments: 298
Uploads: 10
Originally posted by Aezay
Limb0
Just looked at that addon, it comes with a precompiled list of texture paths. I have no intention of doing that, I just want to gather as many from ingame functions etc, so I don't have to update a precompiled list.

I guess I should have named this addon for "Icon Browser" instead ^^
Oops, I didn't realize it had a list like Shared Media. Completely unintentional and blond of me (not the first time)..
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 08:26 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 736
Uploads: 20
Limb0
Just looked at that addon, it comes with a precompiled list of texture paths. I have no intention of doing that, I just want to gather as many from ingame functions etc, so I don't have to update a precompiled list.

I guess I should have named this addon for "Icon Browser" instead ^^
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 10:01 AM  
Limb0
A Cobalt Mageweaver
 
Limb0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 220
File comments: 298
Uploads: 10
Originally posted by Aezay
..got any good ideas as to where I can gather more texture paths?
You could check out the old addon, Texbrowser. I thought this was the updated version (last updated 2 years ago), but your addon adds the copy function which I prefer.

Looking forward to the next version.
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 07:45 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 736
Uploads: 20
hairy_palms
Thanks, that issue will be fixed in next release.
I've also made it include textures from all achievements, as well as all spells using GetSpellInfo(), got any good ideas as to where I can gather more texture paths?
Last edited by Aezay : 11-07-10 at 07:46 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.