PDA

View Full Version : HELP!


Philipp_Thomsen
03-15-08, 07:33 PM
Im facing a little problem here on the devlopment of the second version of the sound pack. There are some new sounds I've made them myself, but when the game loads, just after the dials appear, when the sound will begin playing, I get a CTD. The new sounds are the Thunder sounds for rain, diesel engine sound, ambient rain/local and skyline and dive sequence. Some of them are 705kbps mono and other are 1411 kbps stereo, all of them are longer then the stock/gwx versions.

amb_OceanSkyline = 705 kbps, 6,08mb, 1:12 min
amb_Rain = 705 kbps, 5.06mb, 1:00 min
amb_RainLocal = same as above
amb_Wind1 = 705 kbps, 4.36mb, 0:52 min
dive_sequence = 1411 kbps, 4.51mb, 0:27 min
submarine_diesel_exterior = 705 kbps, 2.52mb, 0:30 min
Thunder1 = 705 kbps, 1.91mb, 0:23 min
Thunder2 = 705 kbps, 1.86mb, 0:23 min
Thunder3 = 1411 kbps, 1.88mb, 0:23 min
Thunder4 = 1411 kbps, 3.05mb, 0:23 min

All of these sounds are much more realistic, taken from a BBC sound pack colection and edited by me. The stereo Thunders have 3D effects, them start on one speaker and go to the other, really cool.

I want to know which one of these files are the problem and why. Are the length? The size? The kbps? Stereo or mono? What is the problem? The game CTD as soon as its going to load the sounds, after "not so long ago...".

Sailor Steve
03-15-08, 07:41 PM
The likely problem is stereo. I've had that be bad in the past. Usually this only kills the speech files, but I would start there.

Which, after looking, means that I might have some problems with mine as well.

skwasjer
03-15-08, 07:45 PM
Remove them, and then put them back in one at the time (restore the original ones that worked). At least then you know which file to work with... I don't have any clue about what the format requirements are, but I remember reading somewhere there are limitations as far as bitrate+hz is concerned.

irish1958
03-16-08, 08:55 AM
I don't think length has any effect. I have has problems with stereo when I screw around with these wav files. I also doubt if the kps makes any difference.
My files are 44Khz, mono, 32 bit, and when I have used this format I have had success.
I hope you can get the stereo to work and the rolling thunder would be cool.

Myxale
03-16-08, 09:10 AM
Thomsen...I tested you latest Soundpack a few days befoe, and I noticed, that some sounds don't play if use them too often or too fast!

I'm talking about the Periscole sounds for example, that play when rising or lowering the peri!
And when doing it to fast and often...(in case of an hasty attack on a escort); the sound will stop playing and later most sound will stop playing too or crash sometimes!

I may be that the sounds are to big and the SH3 audio-engine cannot deal with the imassive data!:hmm: What say you mate!

Sailor Steve
03-16-08, 01:42 PM
On the other hand, I checked other files, and found that both Stock SH3+1.4b and GWX2 contain a lot of stereo .wav files, and no-one seems to have complained about crashing with those.

I'm stumped.

Jimbuna
03-16-08, 02:24 PM
The problem can occur when the files being used have differing bit rates http://www.psionguild.org/forums/images/smilies/wolfsmilies/thumbsup.gif

Philipp_Thomsen
03-16-08, 02:36 PM
The problem can occur when the files being used have differing bit rates http://www.psionguild.org/forums/images/smilies/wolfsmilies/thumbsup.gif

So are you telling me that I can convert the entire sound folder to stereo and they will work, as long as they have all the same bitrates?

Sound like a good plan to me.. :hmm:

bobchase
03-16-08, 02:58 PM
Philipp,

The original files for SH3 were all 16 bit and were both mono and stereo. The bitrates they used were 1411, 705, & 352 kbps while the sample rates used were either 22 kHz or 44 kHz. If you are within all of those parameters then, perhaps, size really does matter. :yep: (it's an American joke)

I concur with Myxale that some modified sounds do not always play. However, I'm not certain that it is just the modified sound or if it is the game engine's priorities being shifted. For instance, if you are taking on a large convoy then the game is actually tracking perhaps a hundred targets when you include the convoy, you, and whatever ships & aircraft are within a 125 klick's of you. So maybe the sound just gets pushed down the to-do list so far that it never actually happens.

I am playing with stock 1.4b sounds right now just to figure that one question out. In fact, if my ubercaptain will let me, I'm about to take on a large convoy. But she has a list of honey-do for me 1st... :cry:

Bob Chase, ETC

Jimbuna
03-16-08, 03:08 PM
The problem can occur when the files being used have differing bit rates http://www.psionguild.org/forums/images/smilies/wolfsmilies/thumbsup.gif

So are you telling me that I can convert the entire sound folder to stereo and they will work, as long as they have all the same bitrates?

Sound like a good plan to me.. :hmm:

That is not quite what I'm saying. I would however, look at the bit rates of the files your intending to replace :yep:

Venatore
03-17-08, 05:24 AM
One members problem has also helped me with my modding knowledge. I have attempted many sound effect mods, in most cases not getting them to work and now I see the "mono" may have to be the way to go. Now to go dust off the old creations and try again.

Cheers to all parties involved.

Sailor Steve
03-17-08, 01:05 PM
So are you telling me that I can convert the entire sound folder to stereo and they will work, as long as they have all the same bitrates?

Sound like a good plan to me.. :hmm:
Sound yes, Speech no! .ogg files in the Speech folders are sure to cause problems if in stereo.

Also, you might have some problem with the longer files. While I have several that are a few minutes long, the 'Creak' files seem to get stuck and repeat if they're too long.

Madox58
03-17-08, 05:46 PM
You might also need to look at the compression format.
PCM is stock isn't it?
MP3 ia a bit different, and too many might cause a problem?
:hmm: