8,471
edits
Paradox-01 (talk | contribs) (dumping old methods) |
Paradox-01 (talk | contribs) (Iritscen, you know what to do. XD) |
||
Line 1: | Line 1: | ||
==Problem with exporting a textured character with non-native TRAC animation== | |||
This problem occurs with OniSplit v0.9.99.0 and earlier. | |||
There are basically two commands: | |||
OniSplit -extract:dae outputPath -anim:TRAMname.oni inputPath/ONCCorTRBSname.oni | |||
OniSplit -extract:xml outputPath -anim-body:ONCCorTRBS.oni | |||
First one cannot export TRAMs that aren't listed in character's TRAC. | |||
The second cannot export characters with textures at all. | |||
A textual comparison with WinMerge reveals that the outputs of native TRAMs are almost the same. | |||
Except the chunks of <library_images>, <library_effects> and <library_materials> are missing in the second dae. | |||
It follows <visual_scene> where the id has a different name which is not that interesting. | |||
Inside, there are <instance_geometry> nodes which are pretty much empty for the first dae. | |||
Here you can see Konoko performing Barabus' super kick. I restored only a few bones. Proof of concept. | |||
https://dl.dropboxusercontent.com/u/139715/OniGalore/recover_textures_for_characters_with_non-native_animation.png | |||
In other words: for a complete textured and animated character you need to post-edit the dae which is actually xml code. | |||
If we doesn't get Neo to fix it we will have to export the character twice automatically and let the OniSplit GUI provide the final dae. | |||
[https://dl.dropboxusercontent.com/u/139715/OniGalore/recover_textures_for_characters_with_non-native_animation.zip HERE] are the two different exports you can experiment with. | |||
==old== | ==old== | ||
===how convert dae to xml / oni ...=== | ===how convert dae to xml / oni ...=== |
edits