Tutorial Finding Correct Import Paths

Ryuu

I am back with Chocolate (:
Reaction score
64
Finding Correct Import Paths
by Ryuu​

What is this?
This a tutorial about import paths. In this tutorial, you'll basically learn how to find the correct import paths when importing using the Import Manager.

Why do we need to find correct import paths?
Normally, files imported into the map using the Import Manager will come up with the import path as war3mapImported/<FileName>.<FileExtension>. However, most of the time, this import path is wrong.

So how do we find the correct one?
Let's move on.

Firstly, you need to find a file. For this tutorial, we'll use a model known as Rukia.mdx. Yes, it is based on a character from Bleach. Now, open up Import Manager (F12) and select File > Import File....

You should see this:

untitled-4.jpg


Now, select your model (models comes in .mdx extensions) and click Open.

This should now appear in the Import Manager:

untitled-6.jpg


Note that this model is the shape only. It is a plain, colorless form. Hence, in order for Warcraft to identify it as a proper model, we need a texture. The texture is like the coloring and the outside of the model. With the texture, the model is complete.

Usually, when you download a model from TH.net or other websites, the package should include a texture file.

Now, select File > Import File... again and this time select your texture (textures comes in .blp extensions) and click Open.

You should see this in the Import Manager:

untitled-7.jpg


However, World Editor still cannot identify these files as a 'model', because the path is wrong. The paths doesn't lead to the file at all. You need to specify the correct path before World Editor can finally show the model.

This can be done so by first locating the model in your local hard drive. Depending on where you installed it, right-click your model.

untitled-8.jpg


Select Properties. The following should appear:

untitled-9.jpg


Select Change.... The following should appear:

untitled-10.jpg


Scroll down the list till you find Notepad. Click on it, then select OK.

Now select OK again, and then double-click on the model.
You should see SOMETHING like this:

untitled-11.jpg


Yeah, that's a whole chunk of gibberish. But 99% of that junk there is no concern to us. We only need the first four lines of that.

Keep scrolling right, keeping your eyes on the first four lines, till you find something that has your texture's name on it:

untitled-12.jpg


That is the correct import path to the texture, Rukia.blp. Now head back to the Import Manager, and double-click on Rukia.blp. You should see this:

untitled-13.jpg


Tick Use custom path. That should make the field editable.
So replace the things in the field with Rukia.blp, the import path that we had found in the chunk of gibberish. It should look something like this:

untitled-14.jpg


Click on OK.
Done!

What about the model's import path?
Set it to simply anything. (e.g. Ryuu.mdx)

Thank you for reading!! I hope this short tutorial helps you :)
 

Gwafu

Active Member
Reaction score
12
well, there IS REALLY NO method for finding model's import path
you can set its path on anything
 

Jesus4Lyf

Good Idea™
Reaction score
397
well, there IS REALLY NO method for finding model's import path
you can set its path on anything
>What about the model's import path?
>Well, there isn't really any method to find it. But I'll promise I'll find it.
Yea, models don't have an import path... ;)

Looks like a useful tut. ^^
 

Ryuu

I am back with Chocolate (:
Reaction score
64
Oh, I see.
Right, thanks for the advice !

EDIT:
What was I talking about? That was no advice..
I actually meant:

Oh, I see.
Right, thanks for telling me !
 
Reaction score
341
Well, this only explains import paths for models.

Also, your doing it wrong. Converting to MDL lets you see all of the textures (easily at least).
 

Ryuu

I am back with Chocolate (:
Reaction score
64
This does work, it was something I realised while trying to figure out my texture's path.
 
Reaction score
341
This does work, it was something I realised while trying to figure out my texture's path.

I said your doing it wrong, I didn't say it didn't work :nuts:

The MDX version might also not show all of the textures, due to the encoding.
 

Ryuu

I am back with Chocolate (:
Reaction score
64
> I said your doing it wrong, I didn't say it didn't work

Ah sorry. I didn't read correctly.

> The MDX version might also not show all of the textures, due to the encoding.

It shows all of it.
I've tried this method on another model with five textures, and all of them came up in the notepad.
 
Reaction score
341
It shows all of it.
I've tried this method on another model with five textures, and all of them came up in the notepad.

So it worked on five models? There are thousands of models, notice the word might.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top