Anonymous

Changes

From Final Fantasy Inside

FF7/PSX/Sound/INSTRx.ALL

117 bytes added, 04:55, 30 May 2020
Add structure definition in pseudo C language
== File Structure ==
At file beginning there is two 32-bit numbers. First number isn't known yet, but it is somehow related to SPU memory offset. Second number is normal offset of last ADPCM frame of file. Counting from 0x20 0x10 file offset there is sample data for all instruments. (using term "Instrument" I actually mean serie of ADPCM samples, although in some context I can use term "Sample", "Sound" or "Voice" to describe instrument). All data from INSTR.ALL are loaded by DMA to SPU RAM in one chunk, offset 0x0202.   struct SampleSet { uint32_t addr; // transfer destination address (can't say anything about INSTR2.ALL yetSPU hardware address, between 0x1010 - 0x7ffff). uint32_t size; // transfer size uint32_t w08; // unused? uint32_t w0c; // unused? uint8_t data[size]; // PSX ADPCM frames };
112
edits