DarklightGames / io_scene_psk_psa

A Blender extension for importing and exporting Unreal PSK and PSA files
GNU General Public License v3.0
378 stars 24 forks source link

Collapsing skeleton after adding action #62

Closed boobzzz closed 8 months ago

boobzzz commented 9 months ago

Hey @cmbasnett, need your help, I'm having exact the same issue as this one #59. Can you please take a look when you have a chance? Attached assets that I'm using, jumpStart animation works as expected, jumpLand is the one that causes this collapse. Added both just to compare Add-on version: 6.1.0 Blender version: 4.0 Screenshot 2024-01-04 221104 assets.zip

cmbasnett commented 8 months ago

@boobzzz Hey, just had a look and was able to reproduce the issue. What program was used to export these files?

boobzzz commented 8 months ago

FModel 4.4.3.4. What I noticed is that all jumpLand animations have this effect, there is a bunch of different ones, with gun, with riffle, forward and so on, when jumpStart animations work perfectly fine

cmbasnett commented 8 months ago

I think it's possible that the animations being exported are "additive" animations, meaning that the transforms in the animation are meant to be added on top of a "base" animation (this can be done in Blender using the NLA). Knowing what that base animation might be would require a more in depth knowledge of how the game plays these animations.

Does the export of the animations from FModel also come with a sidecar config file?

What game is this for, by the way?

boobzzz commented 8 months ago

FModel exports only .psa files without a config file This is my pet project, trying to learn UE. Being inspired by the game Returnal, decided to recreate some part of it using its assets

boobzzz commented 8 months ago

Hey, tried to use your version of UE Viewer and have error while importing .psa. Can you please have a look? image SK_Player.zip

cmbasnett commented 8 months ago

The issue here is that UEViewer exports an invalid .ini format. I haven't gotten around to handling this yet as I just recently added parsing support for some well-formed config files. As a test, you can delete the [UseTranslationBoneNames] and everything under it's heading in the config file; it should then work.

boobzzz commented 8 months ago

Yep, import works like a charm. But jumpLand looks collapsed as it was with FModel. Definitely this is some kind of additive animation, so I would have to figure out how to combine them together. Thanks a lot for the help and thank you for the add-on, really helped me a lot

cmbasnett commented 8 months ago

I will open a new issue to handle the malformed config files, but I'll close this one since there's nothing actually incorrect here.