• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

How to change texture path of MDX file with command line?

Status
Not open for further replies.
Level 3
Joined
Aug 18, 2018
Messages
13
Hello. I have a bunch of mdx files with lots of blp files. I want to change all the blp path of them. It took me plenty of time to deal with them one by one using a tool called MDX Pather. So I would like to write a .bat file to do that. However this tool doesn't provide users with command line to use. Is there a good way to solve this problem? Thank you!
 
What you can do :
  • Use a tool to batch all your mdx to mdl, like Model Optimizer and Converter v1.2.1
  • MDL being a human readable format, you can search for the texture path inside the mdl file and edit it
  • Batch convert your mdl back to mdx

Using tools like Visual studio code, you can search & replace text in multiple files inside a workspace/folder.
I did this to edit 100+ mdx files because I need to add a prefix to the texture path.
24-02-07-19-04-41.jpg
 
Last edited:
Status
Not open for further replies.
Top