-
Notifications
You must be signed in to change notification settings - Fork 0
Sound_Z
Chum World SOUND
ImZouna Sound_Z
bitfield SoundFlags {
/// The sound is not playing when this is 1
PAUSED : 1;
/// dwFlags, DSBPLAY_LOOPING is passed to IDirectSoundBuffer8::Play if 1
LOOPING : 1;
/// Mono when 0, Stereo when 1
/// Calls IDirectSoundBuffer8::SetPan when updating the sound if this is 0
STEREO : 1;
padding : 13;
};
struct Sound_Z_LinkHeader : ResourceObject_Z {
u32 sample_rate;
u32 sound_data_size;
SoundFlags flags;
std::assert(flags.PAUSED == 1, "flags.PAUSED != 1");
};
struct Sound_Z : Sound_Z_LinkHeader {
/// Raw signed 16-bit PCM, little-endian audio data
u8 data[sound_data_size];
};
SoundZAlt
struct Sound_Z_Header : ResourceObject_Z {
std::uint32_t sampleRate;
// The following fields only exist if sample rate > 0
// Should always exist in latest version
std::uint32_t dataSize;
// Size of the data
std::uint16_t soundFlags;
// older versions have 2 extra bytes for aligment
std::uint16_t zero;
};
struct Sound_Z {
std::uint8_t data[__header.dataSize];
// Raw signed 16-bit PCM, little-endian, 1 channel audio data
};
For FMTK Users and Mod Developers
For FMTK Developers
Asobo BigFile Format Specification
Asobo Classes
Animation_Z
Binary_Z
Bitmap_Z
Camera_Z
CollisionVol_Z
Fonts_Z
GameObj_Z
GenWorld_Z
GwRoad_Z
Keyframer*_Z
Light_Z
LightData_Z
Lod_Z
LodData_Z
Material_Z
MaterialAnim_Z
MaterialObj_Z
Mesh_Z
MeshData_Z
Node_Z
Omni_Z
Particles_Z
ParticlesData_Z
RotShape_Z
RotShapeData_Z
Rtc_Z
Skel_Z
Skin_Z
Sound_Z
Spline_Z
SplineGraph_Z
Surface_Z
SurfaceDatas_Z
UserDefine_Z
Warp_Z
World_Z
WorldRef_Z
Asobo File Format Idioms
Asobo CRC32
Asobo LZ Compression
Asobo Arithmetic Coding Compression
Asobo Save Game File Format Specification
Asobo Audio Formats
TotemTech/ToonTech/Zouna/ACE/BSSTech/Opal Timeline
Zouna Modding Resources
Miscellaneous