Forum > Resources and Tools

[TOOL] [Adt edit] ADT Converter

<< < (2/20) > >>

Steff:
Thanks for your work with this. Haven't used  jet but find the idea nice.
Can someone post some images of custom ADTs with new water :)
If this realy works i could think about swap over to cata.

Mjollna:
Hi !

Thank you for your message :)

It took us (Pag and I) a lot of time to code the program, but I think it's really linked to the fact that we really started from scratch : for me, first program being more than a quick 50 lines script, I hadn't really written a line of code in the last 4 years, and for both of us first collaborative project. We also had to understand/learn both 3.x & 4.x adt formats and compare many files (and I didn't know about 010 editor templates at the time... no colors and no apparent structures in files display...).

But in the end, there's not much to change actually. It's mainly the same data split into three files instead of being grouped in one. There are some slight differences in headers (more zeros as some offsets become useless), and no more mcin.

For retail files I think now our conversion is as close as possible to Blizz one, and we haven't run into bugs for a long time regarding them.

For non-retail files (or retail files edited), we've run into some problems since there are several tools to edit them, resulting in small differences in implementing adt format : chunk sizes, optional chunks, chunks at unusual places...

I guess if our code had better design we would have less problems with all this, but we didn't have a real plan at the beginning (actually, we didn't really expect it would work so well when we started O_o), which results in a little more work now to correct bugs. Well, we've learned from that and it'll be useful for next time :)

And we still have that problem for collisions with custom maps... I'm not really sure about the problem, but if my guess is right, it'll probably be hard to correct (at least for me).

If you're not scared about all this, and if you're interested, I don't mind showing you the source :)

I made some screenshots but it was mainly for testing purposes, so I'm sorry some of the screens are, well... far from having great aesthetics :)
Here you go :

-- Retail map --
-> Kalidar.

-- Custom map --
-> A very quick test
with wmo + M2 + water (mclq).

-- Custom map --
-> Another test,
this time with mh2o (included with Gretchin's app). Yes I know it looks really ugly, the patch was a real patchwork of different things piled together. I think I have fraps video of that somewhere, I can upload it if someone's interested.

-- Retail map --
And the last one is 3.3.5
-> Northrend_27_22.adt
offsetfixed to more or less 30_30, and *then* converted. There's also water at the bottom (most likely mh2o).

-- Retail map --
I don't resist to add
-> this one,
 it has no water but I just love the way textures alone can be swapped with Cata adt xD

Everon Mightbane:
To add the water in, what did you use?

Mjollna:
At first I used allwater option from Taliis, and then we made a special update to support Gretchin's All water wotlk. It should work with both... Tell me if it doesn't, I don't have much feedback/testing from worldbuilders and we are probably going to find other problems with custom maps conversion.

It might be safer to add water just before you convert, to be sure there's no problem. The app adds mh2o at the end of the file, so the converter ("worldbuilding" option) is waiting for it at the end of the file. If it's not, it will probably not like it and reject the adt :)

funnybunny:
has anyone been able to play cata using this tool? i have found now way to play using any edits :[

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version