• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Replacing Icons in a map without editing MPQ archive?

Status
Not open for further replies.
Level 3
Joined
May 14, 2020
Messages
22
Im trying to edit icons in a map which gives MPQ error opening archive. I know all the icons paths that are used, so instead of editing files in the map, i change files in my wc3 folder under the correct path.
However, there are a few icons that are were added directly into the map, so they override what i put in my wc3 folder. Despite that, when i right-click the item ingame on my Hero, icons load. Also the icon being loaded is TGA file, while BLP and BMP dont get loaded.
How do i get the main icon to also use the same file?
I accidentally discovered this as i had no idea that "hovering item icon" isnt the same as the main item icon. Is there something else important im missing too?
1657388370945.png
 
Level 17
Joined
Feb 25, 2013
Messages
303
You mentioned icons from the map overriding your local files, so I can assume you're on an old version. In the latest version, any Local files will override map files as well. Not editing the MPQ file, you are at mercy of the version to be able to override anything. That hovering icon being different than the main one is interesting, I am not aware of this being a separate file in any scenario, but rather being a smaller mipmap of the icon itself, so maybe that is the case there? As for loading icons, TGA,BLP, TIF, (and in 1.32+ DDS) should work, depending on the patch taking different priorities
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,197
Local file changes only affect your client. Unless you are playing singleplayer you probably should modify the map itself. If the map is protected you likely need to contact the original map author for a copy of the map which is not protected.

This is why I oppose map protection in general as it ends up causing problems like these 10 years or so later.
 
Status
Not open for further replies.
Top