March 28, 2024, 14:05
bigger smaller reset     1020px Wide width Full width Reset   * *

Gildor's Forums

  Homepage Facebook Read news on Twitter Youtube channel Github page
Welcome, Guest. Please login or register.
Did you miss your activation email?

« previous next »
Print
Author Topic: Bone offsets in ExportList  (Read 133 times)
Cult_7191
Newbie
*
Posts: 4


View Profile
« on: October 25, 2022, 13:47 »

Hi, would it be possible to add the offsets for SkeletalMesh bones through the ExportList cmd? I'm glad UE Viewer can list the offsets and locations of different packages embedded with in upk files but I'm not sure how to find the offsets for specific bones. It's obviously clear that I know very little about programming or UE3 in general but I wanted to ask for this feature since I believe it would be very beneficial. Thanks for your time
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7978



View Profile WWW
« Reply #1 on: October 25, 2022, 13:52 »

What do you mean with "offsets of skeletal mesh bones"?
Logged
Cult_7191
Newbie
*
Posts: 4


View Profile
« Reply #2 on: November 09, 2022, 15:09 »

Well, UE Viewer can list the offsets and locations of packages from upk files with the cmd "umodel.exe -list Package.upk >ExportList.txt", I was wondering if it would be possible to find the locations of bones from skeletalmeshes. Sorry, I didn't see expect a reply so soon, Thanks for responding.
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7978



View Profile WWW
« Reply #3 on: November 10, 2022, 00:11 »

You can modify the source of UModel to get everything you want. In bone serializer, just print the value returned by Ar.Tell() - this returns actual position in the source stream.
Logged
Cult_7191
Newbie
*
Posts: 4


View Profile
« Reply #4 on: November 10, 2022, 01:05 »

That's amazing, thank you! I'll look for it myself of course but where could I find that bone serializer?
« Last Edit: November 10, 2022, 01:14 by Cult_7191 » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7978



View Profile WWW
« Reply #5 on: November 10, 2022, 01:32 »

For UE4, this is FReferenceSkeleton class. For UE3, this is USkeletalMesh3::RefSkeleton field. Both has arrays inside.
Logged
Cult_7191
Newbie
*
Posts: 4


View Profile
« Reply #6 on: November 10, 2022, 01:47 »

Thanks again! UE3 seems to be very limited compared to 4
Logged
Print 
« previous next »
Jump to:  

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