HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

[NEW] MDL Importer !

07-06-2005, 01:10 PM#181
Taylor_Mouse
Quote:
Originally Posted by Ragnarok X
Profet is death. If he was alive, he had said something at least.

Nobody counts on him anymore, we now count on UfoZ

yeah UfoZ, go go go

UfoZ, you r the man

oooops,... let myself go there for a sec

lol
07-06-2005, 04:01 PM#182
mapper
Yes I know the structure of the wmo, about the parent file storing texture data, global stuff and such, and that child wmo's have the polygons and texture coordinates, and I know it's more tricky than m2, but if you can do a wowmapview, to view all the world in WoW, I'm sure you're gonna find a way to do it :) In fact it would be great if beside's m2, beside's a possible wmo export, to ad a terrain exporter that would export the terrain to any known file format, or even a height map! I know it's a bit much what I'm asking, but after seeing where wowmapview has reached and how wowmodelview is working, I find it hard to belive that it can't be done, SO PLEASE DO IT! :)
07-07-2005, 11:33 AM#183
Taylor_Mouse
He, then why don't you do it, install Visual Studio C++.NET v1.2 and open the source. You also may want to download OPenGL SDK to be able to build the source. Once you build it, you better copy the support files ( such as the dll's ) to the release folder ( maybe you better copy it before you build ) then run it. If it runs you are half way.
Now the difference between the m2 viewer, which I can't seem to build :'(, and wich allows you to select 1 model, the mapviewer loads all the models from the map and draw's them to the screen.
If I export it, the wmo or other, and I already did, it takes hours before he finishes exporting all the data cause he will write a file for each wmo, and this takes ages. Since I'm not a good programmer, and definetly not in c++, I don't seem to be able to make a treeview with the different wmo's and export them seperatly.... :'(.
07-07-2005, 12:52 PM#184
mapper
well i'm no c++ coder, vb and vb.net are my languages, I don't understand anything from the c++ script :(. So what do you mean by "I allready did"????

PS: I could even use a program that will completely convert them!
07-07-2005, 09:36 PM#185
Taylor_Mouse
I already tried the export, which means, the program makes x files from the wmo's that r loaded for the map, but there are so many in one turn that the thing crashes after a while, when exporting this data to a file.

What do u mean, I can convert it ??
If you r able to convert the complete process to vb.net, that would be great !!
07-08-2005, 07:16 AM#186
mapper
Could you please send me that :) please!
I wasn't talcking about converting the code, right now (not sure about it) you can only convert vb and c# code to c++ using software, this happens because c++ is more complex than vb or vb.net, but I'm sure that if someone knows the c++ and vb language then he could do it. It's just reading and writing files, but i duno c++! :(
07-10-2005, 09:25 AM#187
mapper
C'mon Taylor, please send me that app.
07-10-2005, 08:37 PM#188
Taylor_Mouse
I can't, it is not an app, it is just some code, and if you want it to work you need to do it in debug mode, it is not even finished, I'm working on a convertor myself, based on the map viewer, but you will have to extract the wmo from the mpq and then convert it. But as you know, there are different types of wmo, more than I knew, so the only one I will be conerting is the ones with the vertices and not the headers or WOHD's,... so I'm kinda busy with it ; ), also I do play WoW from time to time and I animate and model stuff, so in my free time I do a lot, and I don't have that much free time, I also have two kids a sick mother in law and a wife who wants to see her mother from time to time,and she doesn't drive so....

patience young padawan, in time ...
07-11-2005, 06:46 AM#189
mapper
:o Srry bout your mother in law. Ok i'm waiting but don't do it like profet ;)
07-12-2005, 07:15 AM#190
Guest
UfoZ,you do a nice work,i like it.
Are you a game programmer?i want know how you get the format of the wow data?for example the file *.adt.
07-12-2005, 08:40 AM#191
Taylor_Mouse
To be honest, yes I am a game programmer, Darkbasic, BlitzBasic, some DirectX 9C, only 2D though,

The file format is from wiki, or something, there is the info about all the WoW files.
I worked on it yesterday, but I don't understand one thing is :

an Uint32 represents 4 bytes. The bytes I can read in from the file, that is not a problem, but the 4 bytes give me something like 4 numbers, like 120 0 30 180, but I don't know how to convert these 4 bytes to the UINT32.
What I can do is, when the 4 bytes represent a string ( 4 characters ) I can just use Chr(byte(0)) & Chr(byte(1)) & Chr(byte(2)) & Chr(byte(3)), so I can get the type of the file, for example 'MD20', which you need to check if this is good file to convert.
Once I got that issue solved, the rest is peanuts.
07-12-2005, 12:43 PM#192
mapper
^_^ So that means that you are going to release something??? ^_^
07-12-2005, 02:11 PM#193
Taylor_Mouse
My goal is to convert the frostsabre to X file, so once that can be done... yep I'll release something
07-12-2005, 02:42 PM#194
mapper
^_^ ^_^
07-13-2005, 04:20 AM#195
Guest
hey i no some u guys play wow, any yall no a good modding forum?