Download
(262Kb)
Download
Updated: 10-31-20 05:36 PM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:10-31-20 05:36 PM
Created:11-06-10 10:29 PM
Downloads:7,411
Favorites:19
MD5:

Texture Browser  Popular! (More than 5000 hits)

Version: 20.10.31
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 | 2020 Oct 31
- Updated the TOC version to 90001 for the Shadowlands 9.0.1 pre-patch.
- Frames that use backdrops are now created using the "BackdropTemplate".
- Updated the AzDropDown library to Rev 14.
- Updated the AzDialog library to Rev 02.

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)


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

Forum posts: 33
File comments: 18
Uploads: 9
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: 737
Uploads: 18
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: 11
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: 1060
File comments: 187
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: 737
Uploads: 18
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: 1060
File comments: 187
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: 737
Uploads: 18
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: 1060
File comments: 187
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: 737
Uploads: 18
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: 5
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: 737
Uploads: 18
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: 5
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: 737
Uploads: 18
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.