EvilEngine/SGRP: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{AssetInfobox
{{AssetInfobox
|subtitle=Sound Group
|subtitle=Sound Group
|type=[[Object]]
|type=[[Base]]
|objectid=0x4A
|objectid=0x4A
|games=The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}
|games=The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}


==Format==
==Format==
SGRP are [[Object Asset|object assets]], so they start with their 0x8 byte header, then are followed by:
SGRP are [[Base|base assets]], so they start with their 0x8 byte header, then are followed by:


{| class="wikitable"
{| class="wikitable"

Revision as of 19:55, 30 March 2021

SGRP
Sound Group
TypeBase
Games usedThe Incredibles

Format

SGRP are base assets, so they start with their 0x8 byte header, then are followed by:

Offset Type Variable Description
0x8 byte amountOfSounds amount of sound entries
0x9 byte unknown usually 0x00
0xA byte unknown usually 0x30
0xB byte unknown usually 0x80
0xC byte unknown usually 0x00
0xD byte unknown usually 0x00
0xE byte unknown usually 0x00
0xF byte unknown usually 0x42
0x14 float unknown usually 8.0
0x18 float unknown usually 25.0
0x1C ? unknown usually 0
0x20 SoundEntry[amountOfSounds] Sound reference entries
Events
- Event[numberOfEvents] Events

Sound Entry

Offset Type Variable Description
0x0 Asset ID soundAssetID SND/SNDS
0x4 float unknown usually between 0-1
0x8 ? unknown usually 0
0xC ? unknown usually 0