Draconisaurus wrote:machf, just curious, do you have any possible clues or hints on what might be different about the retail sounds?
I started looking at them (actually, at the TC Isle ones, to see what's different) yesterday, but got quickly bored since I'd need to make alisting of all the sounds used in TC Isle first for reference... I'll look at the retail ones now.
I should point out that the CRAY looping "run" sound also does not appear to have volume-distance calculation. You may remember it ends suddenly in the retail when you leave the room; the sound is used in ED around the um.. motion sensors. That one happens to be in ambient.tpa but likely the same rules apply..
No, ambient sounds are played by a different command, remember?
Let's see, the first retail dino vocals I've checked appear to be all uncompressed PCM, 22050Hz, 16-bit, mono samples. Some have been compressed as IMA ADPCM. but they're still 22050Hz, 16-bit, mono samples.
Hmmm, I checked the dilophosaurus ones from TC Isle, apparently some are uncompressed PCM, 22050Hz,
8-bit, mono samples. Here's the listing:
Code: Select all
628 - PCM 44100 8 m
629 - PCM 44100 8 m
630 - PCM 22050 16 m
631 - PCM 22050 16 m
632 - PCM 22050 16 m
633 - PCM 22050 16 m
634 - PCM 44100 8 m
635 - PCM 44100 8 m
636 - PCM 44100 8 m
637 - PCM 44100 8 m
638 - PCM 44100 16 m
639 - PCM 22050 8 m
640 - PCM 22050 16 m
641 - PCM 44100 8 m
642 - PCM 44100 8 m
643 - PCM 22050 16 m
644 - PCM 44100 8 m
645 - PCM 44100 8 m
646 - PCM 22050 16 m
647 - PCM 22050 16 m
648 - PCM 22050 16 m
649 - PCM 44100 8 m
Also, inside the TPA file, the retail vocal sounds have various float values (0.5 on some, 1.75 on others, 1.5 on yet other ones) at offset 0x000C for each sound block, while other sounds have 0 - and the newly added sounds have 0 too. Since the original File Formats doc doesn't state the purpose of those values, I think it's a good guess to say that they are somehow connected to the distance effect - probably a distance attenuation factor, with "0" meaning it doesn't change the volume with increasing distance.
And I noticed that TC Isle is using a modified retail TPA... maybe it would be a good idea to copy the ones from the Trespasser folder and use additive TPAs instead, since it's using ATX anyway.