Users browsing this thread: 1 Guest(s)
DKCR (Wii) - CMDL to OBJ Tool
#1
Hey there,

i decided to write a little tool to convert CMDL files from Donkey Kong Country Returns to OBJ files which can be viewed by a lot of programs.
Most of the information was taken from here: http://www.metroid2002.com/retromodding/...y_Returns)
or the Metriod Prime 3 page and of course by looking at the files in a HEX-Editor.
Special Shout-out to Parax for his awesome MaxScript Tool which i also used to understand a few things (https://m2k2.taigaforum.com/post/metroid...earch.html)!

Currently it only converts the model data (Positions, Normals, UVs) and no material or anything.
Example:
[Image: RIuJKkY.png]

I decided to upload the source code so people can play around with it.
It can be found here: https://github.com/KammererTob/dkcr_cmdl_to_obj

PLEASE BE AWARE:
  1. The code is a total mess in it's current form because it was hacked together
  2. It WILL crash on a lot of files because it was not tested to the fullest extend
  3. Not all Models are working correctly, because of the above!
Reply
Thanked by: Doronetty, Hiccup, frk_14
#2
(04-26-2015, 11:28 AM)puelo Wrote: Hey there,

i decided to write a little tool to convert CMDL files from Donkey Kong Country Returns to OBJ files which can be viewed by a lot of programs.
Most of the information was taken from here: http://www.metroid2002.com/retromodding/...y_Returns)
or the Metriod Prime 3 page and of course by looking at the files in a HEX-Editor.
Special Shout-out to Parax for his awesome MaxScript Tool which i also used to understand a few things (https://m2k2.taigaforum.com/post/metroid...earch.html)!

Currently it only converts the model data (Positions, Normals, UVs) and no material or anything.
Example:
[Image: RIuJKkY.png]

I decided to upload the source code so people can play around with it.
It can be found here: https://github.com/KammererTob/dkcr_cmdl_to_obj

PLEASE BE AWARE:
  1. The code is a total mess in it's current form because it was hacked together
  2. It WILL crash on a lot of files because it was not tested to the fullest extend
  3. Not all Models are working correctly, because of the above!

This is great, but does it work with Metroid Prime 3? I would love to start ripping from it. Also, is there an assembled version of this? I cannot for the life of me assemble a single source I find...
Like a page from a self help book...
Reply
Thanked by:


Forum Jump: