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.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      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