• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Automatically name import files accordingly.

Status
Not open for further replies.
Level 3
Joined
Jul 7, 2007
Messages
22
Hello all,

Recently I got back into editing. I remember years ago I had this tool that would allow you to import icons en mass into a saved map, and it would autoname the files accordingly (CommandButtonsDisabled) etc.

Does anyone know of such a tool? I have scoured the tools section, or I wouldn't be asking this. Maybe I am just blind?

Thanks!!
 
Well that's relatively easy to do, just have to have an MPQ editor you can programmatically give inputs and edit the war3map.imp (one of the simplest wc3 formats). If you have java, I have the libs for this ready, the application is but a few lines if you do not expect a GUI.
 
Well that's relatively easy to do, just have to have an MPQ editor you can programmatically give inputs and edit the war3map.imp (one of the simplest wc3 formats). If you have java, I have the libs for this ready, the application is but a few lines if you do not expect a GUI.

Sorry for the late response.

I would be interested in these libs, thanks!
 
I would be interested in these libs, thanks!

Well, that was unexpected. I have not put the libs for public use yet, there are some dependencies etc. Will do this in an own thread later. I have however packed a small program for your use case with minimal GUI. Tell me if it works for you.

Imports .blp, .tga and .jpg. If files are in a sub directory of the specified one, it will add them too but use the sub directory's path as additional file name prefix. For safety reasons, the map operated on is a copy of the original file and named imp_<origName>.
 

Attachments

Status
Not open for further replies.
Back
Top