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/wiki/CMDL_(Donkey_Kong_Country_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_prime_hacking_research.html)!
Currently it only converts the model data (Positions, Normals, UVs) and no material or anything.
Example:
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:
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/wiki/CMDL_(Donkey_Kong_Country_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_prime_hacking_research.html)!
Currently it only converts the model data (Positions, Normals, UVs) and no material or anything.
Example:
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:
- The code is a total mess in it's current form because it was hacked together
- It WILL crash on a lot of files because it was not tested to the fullest extend
- Not all Models are working correctly, because of the above!