AMR Annotation and Pandora's Analysis Report #178
Replies: 2 comments 4 replies
-
several ways to go about this, it really just depends on how monitor wants to incorporate it and whether we can programmatically determine the right timings for annotations at a universal level. I supposed you could expose some options in the GUI but in any case I think we could work from Hkx/PackFileValidator.cs or somewhere else after decoding to xml, search for any markers of motion and confirm that we don't have amr annotations already in there and then I think if you can determine when to add them you could just add them to the xml by calling the insertelementchange class. I believe that would be equivalent to adding annotations with hkanno and would be preferable since we're already in the files but alternatively you can bundle hkanno64 and call it from cs like so
obviously this doesn't contain the logic for determining which animations to patch or how to populate the annotation array but its a functional jumping off point if you want to try building it yourself. I am interested in the idea of programmatically determining movement direction to automatically assign keytrace conditions for OAR so it would be cool if we could figure that out. Otherwise imo the best solution is probably to stick with some degree of manual preparation or bundling patches since new mods should be using amr to begin with. If you want to mess around with it on your own and don't want to use CS you can easily call that command line from python |
Beta Was this translation helpful? Give feedback.
-
yes its 32bit application made to run 64bit havok (which you must provide yourself and is not bundled with it, I did give you a link to it though) and produce 64 bit animations. there's no actual reason for hkanno to be 64 bit since it should never use much memory. nemesis similarly is 32 bit but produces 64 bit hkx files for skyrim, however that would be an example of an app that benefits from 64 bit since it crashes so much. It looks like you pretty much just translated the script I provided to powershell with a few changes. Were you running into issues with what I gave or is ps just preference? |
Beta Was this translation helpful? Give feedback.
-
Here we would like to consider how to apply AMR annotation data in Pandra.
If that is possible, Patch will no longer be necessary.
Related Issues
CrouchSlide_slide$0
CrouchSlide_xml_diff(Generated by hkxconv)
animationdatasinglefile_diff
Result
If we can do either of the following from this image with this engine, we might be able to avoid making your own Patch.
Unfortunately, I don't know if that is possible as I can write some code but have little knowledge of C# and Havok Animation.
Beta Was this translation helpful? Give feedback.
All reactions