mirror of https://github.com/zeldaret/oot.git
better auto names for anim subdata
This commit is contained in:
parent
4201359f89
commit
9ab3c8de35
|
@ -138,7 +138,11 @@ class AnimationResource(CDataResource):
|
||||||
lambda file, offset: AnimationFrameDataResource(
|
lambda file, offset: AnimationFrameDataResource(
|
||||||
file,
|
file,
|
||||||
offset,
|
offset,
|
||||||
f"{self.name}_{frameData_address:08X}_FrameData",
|
(
|
||||||
|
f"{self.name.removesuffix('Anim')}FrameData"
|
||||||
|
if self.name.endswith("Anim")
|
||||||
|
else f"{self.name}_{frameData_address:08X}_FrameData"
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -151,7 +155,11 @@ class AnimationResource(CDataResource):
|
||||||
lambda file, offset: AnimationJointIndicesResource(
|
lambda file, offset: AnimationJointIndicesResource(
|
||||||
file,
|
file,
|
||||||
offset,
|
offset,
|
||||||
f"{self.name}_{jointIndices_address:08X}_JointIndices",
|
(
|
||||||
|
f"{self.name.removesuffix('Anim')}JointIndices"
|
||||||
|
if self.name.endswith("Anim")
|
||||||
|
else f"{self.name}_{jointIndices_address:08X}_JointIndices"
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue