Saga Replaced!

Ok, not really. But I did get far enough to confirm that it actually works.

Previously, I had been talking about how I could load the model when I click on Saga, but the hitareas don't show up.

I have already exhausted the lst files and there is clearly nothing there to help me, so I decided to look one more thing that was obviously different: the frame names.

We know that all female characters use the prefix 'a' in their frame names.
We know that all male characters use the prefix 's' in their frame names.

So what happens if we renamed the 'a' to 's' for every frame? This is a lot of work, so I decided not to do it, but since there is nothing else, it was the only thing left to do.

To save me from a lot of work, I deleted all of the meshes except Viara's modded boots. This leaves me with 24 bones to rename and about a hundred frames in the skeleton.

When I started renaming the finger files, I noticed that the hit areas are no longer showing up. Weird? I remembered there was an xa file "a_hand.xa" and I decided to look at that. I deleted the file and all the hitareas disappeared again.

So the problem seems to be the xa file: if the xa file cannot load properly, then the hitareas will not be loaded.

So I go and rename all of the frames to 's' prefix and then copied s_hand.xa to my PP, and in the end, I loaded Viara's boots in Saga's slot properly with all of the hit areas.



I got lazy and didn't want to rename anymore bones so I just left it as that.
But this is the reason why hit areas aren't being loaded, and this is the key to importing all other characters.

So far I can think of two ways to solve this problem:

1. rename all the skeleton frames and all the bones (long and boring way, plus you have to do it for every character you want to use)
2. modify the xa file to point to the correct frames (I don't even know how to do this, but this is much more flexible since you only have to change xa files)

So the long way is described below:

-open mo00_00_00_00.lst and edit Saga's entry (index 1) to load the girl you want.
-open the appropriate limb.lst file and change all the 'a' to 's'
-open the appropriate exp.lst file and change all the 'a' to 's'
-open the appropriate hitArea.lst file and change all the 'a' to 's'

Now you are done referencing the "male" frame names. Next you have to actually rename the frames in the xx.

-open the xx and rename every bone to start with 's' instead of 'a'
-go to the skeleton (zentai) and start renaming every frame that starts with 'a' (not 'A') to 's'

Now you can load the girl character in Saga's slot.

Too much work right?
Hopefully someone figures out how to edit xa files.

No comments:

Post a Comment