Page 1 of 1

Sound Raw Help

Posted: Mon Feb 26, 2007 9:16 pm
by Anthony
Well this is my first time really asking for "help" on the forums usually its the other way around but here it goes...

For each sound there is a Sound Perm and for each perm there is a index to a choice and a count

for each choice there is a index to its name and a index to its raw as well as count

each item choice has its raw broken up into smaller chunks

I can extract and play the sounds as well as build the sounds back into the map, but im unsure how I would do custom "raw"

heres what I know and how i'm pretty sure i'm going to accomplish it

I know that each raw is 3760 bytes(I think it was) and then the last raw chunk is bigger

I have no idea why it is bigger and that is what I need to know

the way I think i'm going to do it is break up the sound into 3760 byte pieces then the last raw chunk i'm going to combined with the remainder

any info would be great

thanks

p.s. this help will benefit everyone here :wink:

Posted: Tue Feb 27, 2007 6:38 am
by Anthony
now that I actually had time to go back and check the actual size inside the source

the size for each sound raw is 32760 unless its the last chunk then its either bigger or smaller depending if it the only chunk or there are a few and if there is a remainder of data that hasn't been split up