This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SUGGESTION] Adt converter(extractor)  (Read 1732 times)

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
[SUGGESTION] Adt converter(extractor)
« on: January 26, 2012, 03:55:50 pm »
I propose that fully adt to txt converter (advanced analog loadinfo  fileinfo)
using a cmd tool can be:
Transferswap Heighmap
Transferswap  Texturemap
Transferswap  Water heighmap
Transferswap  m2
Transferswap  wmo
Transferswap  chunk flags
Transferswap  tilesets
Can manually (via notepad) repair damaged ADTs
------

ADTexport.exe (for extract adt > source)
ADTimport.exe (for import with compile to adt)


*Converts process (for example Kalimdor_0_0.adt > Kalimdor_0_0.adt.txt > Kalimdor_0_0.adt)

I myself do not own C + +  Delphi  C # etc, however I think that there are people who support me, this tool is very necessary.



As I imagine it work:

1) ADTexport.exe  > Kalimdor_0_0.adt  = (see below)

Quote from: "Extracted files"
Kalimdor_0_0.adt.Heighmap.png - Heighmap in PNG (Approximately as Taliis) (but taliis most often corrupts ADT)

Kalimdor_0_0.adt.Texturemap0.png
Kalimdor_0_0.adt.Texturemap1.png
Kalimdor_0_0.adt.Texturemap2.png
Kalimdor_0_0.adt.Texturemap3.png
0-*** (Depending of the  tilesets number)

Kalimdor_0_0.adt.water.png - Heighmap in PNG

Kalimdor_0_0.adt.doodads.txt  - m2 and wmo info

Kalimdor_0_0.adt.detail.txt - detail doodads IDs and Detail doodads chunk spawn flags (00000000,b)

Kalimdor_0_0.adt..txt - base info:
path to all extracted files from this adt (Loads of these pathways within Txt, all files to compile into .Adt

Quote from: "Kalimdor_0_0.adt.txt structure"
Heighmap path: C:Program filesModKalimdor_0_0.adt.Heighmap.png

Tileset 0 TilesetWestfallWestfall_road02.blp path: C:Program filesModKalimdor_0_0.adt.Texturemap0.png

Tileset 1 TilesetWestfallWestfallLeaf.blp path:  C:Program filesModKalimdor_0_0.adt.Texturemap1.png

Tileset 2 TilesetWestfallWestfallGrassDark.blp  path:  C:Program filesModKalimdor_0_0.adt.Texturemap2.png

Tileset 3 TilesetWestfallWestfallrock.blp path: C:Program filesModKalimdor_0_0.adt.Texturemap3.png

Water path: C:Program filesModKalimdor_0_0.adt.Water.png

Doodads path: C:Program filesModKalimdor_0_0.adt.Doodads.txt

Detail path: C:Program filesModKalimdor_0_0.adt.Detail.txt


.....

2) ADTimport.exe  >  Kalimdor_0_0.adt.txt  = Kalimdor_0_0.adt
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

Keta

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 210
    • View Profile
Re: [SUGGESTION] Adt converter(extractor)
« Reply #1 on: January 27, 2012, 04:58:54 pm »
I vote for this to be made! Would really help me in many cases. For example, right now I'm struggling with an ADT which I JUST CANT SEEM TO GET TO WORK. No matter what I try. So this would be very nice. Making it possible to repair it... Well, make a new one with all info from the corrupt one, but yeah xP

Thanks
Keta
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [SUGGESTION] Adt converter(extractor)
« Reply #2 on: January 27, 2012, 05:39:50 pm »
This afternoon I tried about 8 hours to repair corrupted adt, - repaired. But I really do not like to repeat it again ...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more