Hello.
I still work on corrections about some weird transformation/animation from libxenoverse (like symetry, indirect Axis). This is also the same problem for customize skeleton on Tpose/rigging.
But, in waiting of that, I have done a new tool for switch animation from a character's ean file to another.
It's just a simple console tool. After it will be in xenoverse with UI/ drag/drop, etc ...
its name is "EanOrganizer"
EanOrganizerHere, I will just say about How to use it, and few advices.
-When you use a windows console, to simplify interactions with it, you should active the fast Edition mode. With that, you could :
-drag and drop a file (from Windows Browser) into console to copyPaste the full path/filename.
-select some text in console, and use right click to paste what is selected. (could be usefull to copy some commands after list them with 'Help')
-use up and down arrows on keyboard to get historic command.
To activate this mode : right click on the top of the window of the console -> properties -> in options tab -> check "fast Edition mode" (I traduct from french version, not sure it's exactly the name in English)
-alway work on copy of original files.
So, my tuto will talk about two cases.
The first is about simply replace STAND animation of Apple (APL) by STAND animation of Radiz (RAD). (the STAND of RAD cross is arms, APL don't).
-Launch EanOrganizer.exe
-Type 'Load ' and drag and drop APL.ean. or directly type 'Load D:\Tests\DragonBall_Xenoverse\Tests\Nouveau_dossier\APL.ean'.
(edit: Notice EanOrganizer doesn't like path with space, because it consider space like argument separations. So try to not have space, please).
-So Load also the second file : 'Load D:\Tests\DragonBall_Xenoverse\Tests\Nouveau_dossier\RAD.ean'
Notice: you could use more than 1 or 2 files. You could also use a animation from the same file as source.
The tool work with index, so now consider I have having APL.ean file on index 0 , and RAD.ean in index 1. if you forget witch order you have your loaded files, you could use the command 'GetEanFileList' witch give you the list of file with index.
It's the same with animations, you choose your animation by using index. And you could get the list of animation of a file by using the command 'GetAnimList <Eanindex>' where Eanindex is here 0 for APL.ean, 1 of RAD.ean.
So for replace a animation by another :
-First, use the "Copy" command : type 'Copy 1 0' for copy first animation (so STAND) of the second file (RAD.ean) in sort of ClipBoard. it's will be the source animation.
-Second, use 'Paste 0 0' to replace first animation (so STAND) of the first file (APL.ean). (considere to be the destination animation)
Notice : the paste replace animation but not the name of animation, to be near of the original file. It's also important to have the same number of animations. Take a look on command "Insert", "Erase", "Rename" to correct some wrong operations.
Now, you just to save the APL.ean file:
-Type 'Save 0 D:\Tests\DragonBall_Xenoverse\Tests\Nouveau_dossier\APL.modified.ean' to record in a new file.
Notice: if you don't specify the path/filename, it will use the previous filename of the file.
Great normally it's work in game and xenoviewer.
Ok. So I have to talk about a more deeper part : bones considerations.
Now, you know how to do the simple replacement. This case take care of bone name and index.
For example, you have some character with Tail, or custom bone for amrs like Picolo or Buu, so index of bone could not be the same for the same named bone.
But the tools take care of that and destroy the destination animation for all bones, and copy only part of the source animation for bones witch are in the skeleton of the file of the destination animation, and give the right bone's index in case of.
This is the default replacement.
In some case, you don't want to erase animation of all bones but just apply source animation on the destination animation for only few bones, in others world : merge animations.
Ex: if you just want to animate Tails with another animation, but keep the destination animation the rest of bones.
To do that, I add a Bone filter and a new Paste command. The goal is to say : I just want to replace animation on this bones.
-So first, (Quit old EanOrganizer and launch again) Load the two ean files.
-As the simple case, we have to Copy the STAND animation of RAD.ean as source : 'Copy 1 0'
-use 'GetBoneList 0' to have the list of bones of the first file.
-take the index you want to use. I will use arms and hands : 20 22 27 44 45 50.
-so do 'AddBoneFilter 0 20 22 27 44 45 50'. The first number "0", is for the first file.
Notice : at the finality, the tools will use the name of bones in filter, so you could also use bones of the second file.
-check if you have what you want by using : 'GetBoneFilter'. I have :
"
eanfile : 0 boneIndex : 20 boneName b_R_Arm1
eanfile : 0 boneIndex : 22 boneName b_R_Arm2
eanfile : 0 boneIndex : 27 boneName g_R_Hand
eanfile : 0 boneIndex : 44 boneName b_L_Arm1
eanfile : 0 boneIndex : 45 boneName b_L_Arm2
eanfile : 0 boneIndex : 50 boneName g_L_Hand
"
if you have some trouble, some bone you don't want, you could use 'ResetBoneFilter'.
-So now , we just have to use 'PasteWithBoneFilter 0 0' to apply on APL's STAND.
-add save in file : 'Save 0 D:\Tests\DragonBall_Xenoverse\Tests\Nouveau_dossier\APL.modified.ean'
OK. Now you have all for switching or merging animation. Hope you will enjoy it.
Have a good day.