Skip to content

[ResourceLib] ATMDs with audio event references fail to convert #44

@Notexe

Description

@Notexe

Trying to convert any ATMD that has references to WWEV resources (audio events) results with a unrecognized segment error.

In this example I tried converting 00E07991234EB1DF.ATMD (From Hitman 3):
[WARNING] Found unrecognized segment (64603664). Skipping.

Snippet of the file which I think has missing data:

                {
                    "m_nEventID": 0,
                    "m_fStartFraction": 0.2447916716337204,
                    "m_fDuration": 0.0,
                    "m_customData": {
                        "$type": "ZHM5AudioEventConsumer.SAudioAnimationEventData",
                        "$val": {
                            "m_pAudioEventRes": {},
                            "m_fAttenuation": 0.0,
                            "m_fPitch": 0.0
                        }
                    }
                }

I think whatever is meant to be in m_pAudioEventRes is the reason for the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions