Gildor's Forums

Author Topic: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles  (Read 2298 times)
09williamsad
Sponsor
Jr. Member
*
Posts: 49



View Profile
Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« on: October 17, 2021, 18:01 »

Umodel build: 1573
Game date: 2021-10-16
Unreal Version: 4.25

Textures and static meshes seem fine.

The skeletal meshes from "Art\Model" have this error:
Code:
Loading SkeletalMesh4 SK_A0002_V03_C00 from package A0002_Bird/V03/C00/Mesh/SK_A0002_V03_C00.uasset
******** Loading object SkeletalMesh4'SK_A0002_V03_C00.SK_A0002_V03_C00' ********
*** ERROR: Serializing behind stopper (1E9C5+A0008 > 30BBB)
FFileReader::Serialize: File=SK_A0002_V03_C00.uexp <- TArray::SerializeSimple <- FStaticLODModel4::SerializeRenderItem <- TArray::Serialize: 2/3 <- USkeletalMesh4::Serialize <- LoadObject: SkeletalMesh4'SK_A0002_V03_C00.SK_A0002_V03_C00', pos=1F6FE, ver=518/0 (unversioned), game=ue4.25 <- UObject::EndLoad <- LoadWholePackage: A0002_Bird/V03/C00/Mesh/SK_A0002_V03_C00.uasset <- ExportPackages <- CUmodelApp::ShowPackageUI <- Main: umodel_build=15732

Most of the animations have this error:
Code:
Loading AnimSequence4 A_cmm_SplDmgF_P0011_Dmg_01_SplKgk from package APK/Content/Art/demo/cmn/DmgFace/P0011/A_cmm_SplDmgF_P0011_Dmg_01_SplKgk.uasset
ObjectProperty: unknown UAnimSequence4 BoneCompressionSettings
Loading Skeleton S_P0000_V00 from package APK/Content/Art/Model/Plc/P0000_Common/V00/S_P0000_V00.uasset
StructProperty: unknown USkeleton VirtualBoneGuid
WARNING: AnimRetargetSources[SK_N1017_V00_C00] has wrong bone count 8872 (should be 13419)Exporting objects ...
« Last Edit: September 18, 2024, 14:49 by spiritovod » Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2221


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #1 on: October 17, 2021, 22:54 »

Skeletal meshes works fine with official build and 4.25-plus override. As for animations, apparently the game is using kind of master skeleton, specific facial animations and additive animations which are not marked as additive, so auto-search and bulk export will pick up like every existing anims for current mesh (which obviously will be of no good). Exporting of "normal" compatible animations works fine.

Update: Switch version of the game is using ACL animations, which are supported with specific build from this topic.


* Clipboard10.jpg (118.18 KB, 2542x1226 - viewed 555 times.)
« Last Edit: August 22, 2024, 00:04 by spiritovod » Logged
09williamsad
Sponsor
Jr. Member
*
Posts: 49



View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #2 on: October 18, 2021, 22:15 »

Thanks, all barring some animations export fine.

For those interested, converted models, textures and audio is now in my archive.
I cannot post it here due to site policy, but if you google my username you should find it.
Logged
animanXPS
Newbie
*
Posts: 14


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #3 on: June 10, 2022, 19:43 »

Switch version has been released, but I get a !bIndexIsFrozen error and can't seem to load it.
Looking at the logs, it seems that this is a special storage method for pak that was implemented only in UE4.25, and umodel does not support it.
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2221


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #4 on: June 11, 2022, 06:00 »

@animanXPS: Only native unrealpak from 4.25 engine properly supports "frozen index" format. You can find it here in alternative tools section.
Logged
animanXPS
Newbie
*
Posts: 14


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #5 on: June 11, 2022, 17:28 »

@animanXPS: Only native unrealpak from 4.25 engine properly supports "frozen index" format. You can find it here in alternative tools section.

Thank you, spiritovod!
It sure seems to work about pak.
It appears that the switch version of this game contains audio, video, and other streams in the *.pak, while the character models and other content is contained in the *.ucas file. I would like to find a way to extract about this ucas file.

As for UnrealPakViewer, it doesn't seem to work: selecting pak causes a force close, and selecting ucas causes the program to stop functioning.
« Last Edit: June 11, 2022, 17:37 by animanXPS » Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2221


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #6 on: June 12, 2022, 00:50 »

@animanXPS: UnrealPakViewer is third-party tool, so it may not work in some cases, because current implementation of frozen index, inherited by 4.25 plus branch, is a bit different than original one. Just use native unrealpak for such packages, it works fine. As for ucas files, there is no point in extracting anything from them directly (more info here) - but you can use either build from this topic or from this one (since switch version is using ACL animations) with 4.25 plus override to get something from them. Batch operations like scan or export will not work though, as there are some issues with blueprints, which are not supported anyway.

Switch version of the game is very particular case, which was not expected in umodel at all. Frozen index was originally limited to 4.25 engine, while zen store format (utoc/ucas) appeared in 4.26 - but it seems there are 4.25 plus games, which are using those formats combined. In the same time, umodel relies on existing pak to determine package version and presence of related zen packages - but if pak is not supported, related zen packages can't be loaded even if they're supported.
« Last Edit: August 21, 2024, 23:58 by spiritovod » Logged
animanXPS
Newbie
*
Posts: 14


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #7 on: June 12, 2022, 04:12 »

@animanXPS: UnrealPakViewer is third-party tool, so it may not work in some cases, because current implementation of frozen index, inherited by 4.25 plus branch, is a bit different than original one. Just use native unrealpak for such packages, it works fine. As for ucas files, there is no point in extracting anything from them directly (more info here) - but you can use either build from this topic or from this one (since switch version is using ACL animations) with 4.25 plus override to get something from them. Batch operations like scan or export will not work though, as there are some issues with blueprints, which are not supported anyway.

Thank you! They certainly work! The animations loaded fine in the acl version too. Thanks for your help.

I discovered by accident yesterday in the NARUTO thread on discord, FModel can also load it with the 4.25plus setting.
Logged
Yumo
Newbie
*
Posts: 4


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #8 on: August 21, 2024, 20:44 »

I extracted the animations from "Demon Slayer: Kimetsu no Yaiba – Hinokami Chronicles" but when I try to import it into Blender, it says that there are over ten thousand bones in the PSA file that cannot be found. Does anyone know anything about this?
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2221


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #9 on: August 22, 2024, 00:47 »

@Yumo: It's mentioned in my post above. The game is using master skeleton with all possible bones clamped into it. Though if you're exporting only selected animations, compatible with particular mesh, results should be less confusing.
Logged
Yumo
Newbie
*
Posts: 4


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #10 on: August 22, 2024, 03:33 »

Actually, I’ve already seen your post, and I left a reply because I encountered the same issue I mentioned when applying the Tanjiro PSA to the Tanjiro PSK.
Is there anything to do something specific in UModel at extraction "animation compatible with specular mesh"?
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2221


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #11 on: August 22, 2024, 22:45 »

@Yumo: Could you explain the issue in more details then? I've tried to export SK_P0001_V00_C15 mesh with A_P0001_V00_C00_AtkThrow01_Cut animation and it looks the same way in both umodel and blender, more or less correct (there are also animation curves there, which are not supported by umodel), while no errors popped up in blender. I can only comment on possible causes of inconsistencies between export from umodel and export in other tools, because umodel is doing things under the hood to improve previewing (like retargeting), while export is done as-is. If you got some kind of warning, which doesn't prevent psa animation to work in blender, it's probably expected for this game due to already mentioned reasons. It's also possible that you have issues due to import plugin, you can check legacy one with old blender version.
Logged
Yumo
Newbie
*
Posts: 4


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #12 on: August 27, 2024, 10:55 »

Sorry for delayed response.
There are a few issues during importing with Blender and exporting to fbx

1. When importing the PSK, 1 invalid face is discarded.
2. When importing the PSA, the warning about 13k missing bones that I mentioned popped up.
However when I play the animation in the Action Editor in the animation in the animation windows, it seems to work fine
3. After exporting to fbx and checking the exported file in Autodesk FBX Review, the file seems to be distorted

+ the file "SK_P0001_V00_C15" that you mentioned does not exist in my files. Could this be related?


* 1724741674850.png (99.78 KB, 880x672 - viewed 71 times.)
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 2221


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #13 on: August 27, 2024, 15:21 »

@Yumo: Actual mesh doesn't matter here, all SK_P0001_V00_Cxx meshes are Tanjiro skins with almost the same bones. I've only selected one of them for proper example. If it works correctly in blender despite warnings, I can't help. It depends on the game and its specifics and also on the psk/psa importer and its settings (there are various versions), since both umodel and importer are doing things for the output to look correct. The rest, like how to correctly convert such things from blender to fbx, should be addressed rather to blender communities.
Logged
Yumo
Newbie
*
Posts: 4


View Profile
Re: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles
« Reply #14 on: August 27, 2024, 15:41 »

Thank you for your help
I'll come back if I find solution Smiley
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS