About this mod
WIP test mesh featuring Aerith Standard Hair with Aerith Sexy Dress to help develop a method for hacking Bonamik (BNM) files to get hair physics and dress physics from different outfits
- Permissions and credits
the hair physics is broken. Similarly, if copying skirt from sexy BNM to standard BNM, the hair physics works, but the skirt physics is broken.
I've uploaded the script, original JSON files, and resulting hacked JSON files here:
To see this in action, I have created and uploaded this basic mod which is largely Aerith's standard costume but with the sexy dress. The sexy dress mesh is fused onto the standard mesh, but no weight transferring has been done, so the standard mesh hair has the unmodified standard mesh vertices/weights, and the sexy dress has the unmodified sexy dress vertices/weights.
z_aerith_std_hair_sexy_skirt_original_sexy_bnm_no_hacks_p.pak: This has the model UASSET pointing to the sexy dress BNM/KDI without any modifications to any of the BNM/KDI. As expected, the sexy dress physics works (as well as the original worked, anyway), but the hair physics is not working since the hair vertices from the standard hair don't exist in the sexy dress BNM.
z_aerith_std_hair_sexy_skirt_hacked_hair_in_sexy_bnm_p.pak: This has the model UASSET pointing to the original sexy dress KDI and to my hacked version of the sexy dress BNM which has the m_Solvers, m_Bodies, and m_Links containing 'Hair' from the standard BNM. As seen, the mod is playable in-game, and the sexy dress physics still works, but the hair physics is messed up, hence this being a WIP.
z_aerith_std_hair_sexy_skirt_hacked_skirt_in_std_bnm_p.pak: This has the model UASSET pointing to the original sexy dress KDI and to my hacked version of the standard BNM which has the m_Solvers, m_Bodies, and m_Links containing 'Skirt' from the sexy dress BNM. As seen, the mod is playable in-game, and the hair physics now works (proving that we don't need the standard KDI to get working standard hair physics), but the sexy dress physics is now broken (legs clip through dress when moving), hence this being a WIP.
hack_bnm_json.zip: contains my python script (hack_bnm_json.py) along with the original JSON files and the hacked versions, and text files detailing the location of 'Hair' and 'Skirt' in the JSONs. These can also be found on my github: https://github.com/peek6/ff7r_bnm_modding
If anyone has successfully hacked physics from one BNM into another BNM and can send me the JSONs, I can take a look and maybe figure out which part my script isn't doing properly.