MDLDecompiler: Difference between revisions
Cannonfodder (talk | contribs) No edit summary |
|||
Line 18: | Line 18: | ||
You can download working versions of the tools from the links below. | You can download working versions of the tools from the links below. | ||
* [http://www.hl2.boo.pl/applications/MdlDecompilerFixed/MDL%20Decompiler%20Fixed.rar Hooch's fixed version of MDL Decompiler (No need to change "IDST0" to "IDST," and no more AppId error)] | |||
* [http://www.chaosincarnate.net/cannonfodder/cftools.htm Cannonfodder's original MDLDecompiler (for an updated version use studiocompiler)] | * [http://www.chaosincarnate.net/cannonfodder/cftools.htm Cannonfodder's original MDLDecompiler (for an updated version use studiocompiler)] | ||
* [http://kathar.net/other/mdldecompiler.exe Erik's fixed version of MDLDecompiler] | * [http://kathar.net/other/mdldecompiler.exe Erik's fixed version of MDLDecompiler] |
Revision as of 05:28, 13 August 2011
MDLDecompiler is a tool written by Cannonfodder for decompiling Source models back into their component parts; namely SMD, VTA and QC files.
MDLDecompiler only works with version 44 MDL files from the orignal HL2 or Episode 1 and cannot decompile newer Orangebox models which are version 48. A work around for this is to edit the MDL in a HEX editor (such as PSPad) and change the 5th byte from hex 0x30 to 0x2C or, in ASCII, from a "0" (zero) to "," (comma). If the 5th byte is a "." change it to a comma anyway, it still works!
For Dummies: Change IDST0 or IDST- or IDSTwhatever to IDST, NOTE THE COMMA
Animations: Certain mdl's only have animations in them, but come with a .ani file. Same procedure: Change the .mdl's header to IDST, and the .ani's header to IDAG, NOTE THE COMMA
Some issues with the original Cannonfodder decompiler were fixed by Erix920 but some bugs still remain.



External links
You can download working versions of the tools from the links below.