• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Edit Sc2 Models: M3 To XML & XML To M3 Converter

Here you go

The code was written by PrintLn from Sc2Mapster

I modified the structures.xml for heroes of the storm and more Art Tools like definitions. I also filled many unknowns.
- I do have permission.

So what can you do with this tool?

You can:
  • Edit Starcraft 2/Heroes of Storm Models like if they were MDL files in Wc3.
  • Help the developer community by finding bugs and unknowns on models.
  • Create Simple to use tools based on generated XMLs
  • Get to understand how Starcraft 2 models work.

Tools you may need:
Notepad++
XML Editor
or Simply Notepad.

Some easy to do things:
Add new attachments, change textures, edit model paths, etc.

How to use:

to convert from M3 to XML, drag your m3 file into M3ToXML.exe
to convert from XML to M3, drag your xml file into XMLToM3.exe

Sidenote:
Always get the structures.xml attached to this post. It will be updated for newer formats of the M3 format.
 

Attachments

  • M3ToXml.zip
    6.9 MB · Views: 982
  • structures.zip
    14.5 KB · Views: 522
Last edited:
Level 4
Joined
Mar 13, 2012
Messages
68
cant believe nobody find this , thanks man

After I drag Storm_Hero_Arthas_Base.m3 into m3ToXml.exe, I cant find xml file anywhere....
 
Last edited by a moderator:
Level 4
Joined
Mar 13, 2012
Messages
68
run it through command line show up “[errno 2]no such files or directory:"structures.xml" ”

attach the model :Storm_Hero_Uther_Base.m3 and Storm_Hero_Muradin_Base.m3 here.


----------------
can you give me Muradin and uther 3dmax mesh?
I don't need Animation ! only mesh with UV.

My computer is too bad ,and I'm im in china. My Xp system only can run chinese version of heros of the Storm.

--
I need mesh to remade warcraft 3 hero paladin and MountainKing.

Here it is.

sorry ,i Don't know how to upload on this fourm....

attachment.php


I dont sure if you received my problempack..
Attach here again.
 

Attachments

  • toblink_A.jpg
    toblink_A.jpg
    87.2 KB · Views: 439
  • UI.jpg
    UI.jpg
    894.9 KB · Views: 1,810
Last edited by a moderator:
run it through command line show up “[errno 2]no such files or directory:"structures.xml" ”

attach the model :Storm_Hero_Uther_Base.m3 and Storm_Hero_Muradin_Base.m3 here.


----------------
can you give me Muradin and uther 3dmax mesh?
I don't need Animation ! only mesh with UV.

My computer is too bad ,and I'm im in china. My Xp system only can run chinese version of heros of the Storm.

--
I need mesh to remade warcraft 3 hero paladin and MountainKing.

if you got that problem is because you probaly didn't extract or renamed structures.xml file in the zip. That file is important because it tells the converter how are M3 files structured.

Make sure to "reinstall" by extracting everything in the zip within one folder and make sure structures.xml is always in the same folder as both .exe and the dll.
 
Level 4
Joined
Mar 13, 2012
Messages
68
if you got that problem is because you probaly didn't extract or renamed structures.xml file in the zip. That file is important because it tells the converter how are M3 files structured.

Make sure to "reinstall" by extracting everything in the zip within one folder and make sure structures.xml is always in the same folder as both .exe and the dll.

of course I extract All files in one floder.
why I remove them.....
Is there any possible my system can't read structures.xml?
or cant read any xml file.
attachment.php
 

Attachments

  • xml.jpg
    xml.jpg
    33.2 KB · Views: 1,622
Level 4
Joined
Mar 13, 2012
Messages
68
still cant use . thanks anyway..
Even if this tool is useful,this tool still cant import m3 into 3Dmax,only can see some Structure about m3.
Maybe I‘ll deal with these M3 (learn ,I nearly konw nothing about mdl3)After Bllizard produce Starcraft II warcraft MOD ,Now there is no great value for hero of the storm model used in WarcraftIII。Hero’s model is too complicated and cartoon for war3
 
Level 4
Joined
Mar 13, 2012
Messages
68
Hi ,blink boy ,can you post your latest “ HeroesM3ToSc2M3.exe”here?
It‘s really useful for me! thanks!

Hope you can see this :
1. Neodex

X:\Program Files\Autodesk\3ds Max 2010\plugins 的Wc3AttachPoint.ms should add ,"Alternate"
X:\Documents and Settings\Administrator\Local Settings\Application Data\Autodesk\3dsmax\2010 - 32bit\enu\UI\usermacros 的 NeoDex Toolkit-NeoDex_Exporter.mcr should add ,"Alternate" too
=============》
because Malfrion Raven / demon hunter / etc。。should have xxx Alternate Ref . if don’t have this add ,there‘s no way add Alternate REF.

2.can you get composite material add visibility track? then Auto key it!
because somemodels use 2(even3) material change his mesh. for alternate.

demonhunter. mountain king , I have some units also change mesh for alternating.
 

Attachments

  • 111.jpg
    111.jpg
    62.7 KB · Views: 559
  • 222.jpg
    222.jpg
    80.8 KB · Views: 727
Level 4
Joined
Mar 13, 2012
Messages
68
please tell me
how can I animation UV .
neodex can't export it. even can't fix it use WME(cant save file).

This is Arthas Frostmourne glow.
I think you can understand what I'm meaning.

I think here is the problem: WME /mango‘s tool can’t save “ TVertexAnimId 0,”
Neodex can‘t export UV Animation。
vertex color , I think neodex can't change RGB value" 255 255 255"to "1,1,1"
I try to change controller of RGB,but no use
Hope you can Fix this!man!
 

Attachments

  • arthasstand1.gif
    arthasstand1.gif
    1.1 MB · Views: 1,569
Last edited by a moderator:
Level 20
Joined
Apr 12, 2018
Messages
494
Just for fun, an updated Structures.xml from the same sources with support for versions 29 and 30. That doesn't necessarily fix everything that's changed which is a little beyond my current abilities.
 

Attachments

  • structures.zip
    17.1 KB · Views: 166
Top