CMusic

What is a CMusic?

CMusic is a format used to store information and data for music, which are MIDI sound files.

Structure

Size Type Name Description
4 UInt32 Handle The handle of the music, used to reference the music by other structures
4 UInt32 Unknown Allegedly a checksum of the data after Data Size, unsure if accurate or the usage
4 UInt32 References The number of references made to this music in the project, used to determine if the music should be removed from the project
4 UInt32 Data Size The size of the Data, includes the Name aswell
4 UInt32 Flags Definitions
4   Unknown Allegedly frequency, unsure of use, seems to always be zero
4 Int32 Name Length The length of the music name
Name Length * 2 Unicode Name The name of the music
... UInt8[] Music Data The raw data of the music file, length is Data Size - Name Length * 2

Flag Definitions

Flags

Unknown