• 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.

Using MPQ Editors to Import Files

Status
Not open for further replies.
Level 5
Joined
Aug 12, 2010
Messages
149
Importing files with the World Editor can be pretty slow.

Is it possible to use MPQ editing software to import files or alter paths for already-imported files?

I've tried but haven't been having any luck.
 
Level 16
Joined
Aug 7, 2009
Messages
1,406
I'm using this, this is really fast and easy to use:

JASS:
//: ================================================
//:                I M P O R T S
//: ================================================ 
//! textmacro ImportIcon takes NAME
    //! external FileImporter maps\IID\import\$NAME$.blp ReplaceableTextures\CommandButtons\$NAME$.blp
    //! external FileImporter maps\IID\import\DIS$NAME$.blp ReplaceableTextures\CommandButtonsDisabled\DIS$NAME$.blp
//! endtextmacro

//! runtextmacro ImportIcon("BTNINV_Chest_Chain_12")
//! runtextmacro ImportIcon("BTNINV_ThrowingKnife_03")
//! runtextmacro ImportIcon("BTNMagical")
//! runtextmacro ImportIcon("BTNMarchers")
//! runtextmacro ImportIcon("BTNANA_One")
//! runtextmacro ImportIcon("BTNANA_Two")
//! runtextmacro ImportIcon("BTNANA_Three")
//! runtextmacro ImportIcon("BTNANA_Four")
//! runtextmacro ImportIcon("BTNINV_Bracer_07")
//! runtextmacro ImportIcon("BTNINV_Gauntlets_18-S")
//! runtextmacro ImportIcon("BTNObsidianKukri")
//! runtextmacro ImportIcon("BTNFlipLeft")
//! runtextmacro ImportIcon("BTNFlipRight")

You should also create a folder for imports and use FileImporter. Create a new trigger for imports, import everything that you need, save and reopen then map and turn off this trigger. Easy as hell.
 
Status
Not open for further replies.
Top