Hi guys,
I was working with FSPort finalizing a port for the training missions (seems to work fine) and I noticed That in the mission where you have to escort the science vessel and the Shivans appear there's no music. (This mission is b4 Training Mission 5, I modified the campaign so that if I run -mod FS_Training,FSPort,Media_VPs the "Main Freespace Campaign" will have the training mission) This didn't happen until after I changed the music in the missions to their FS1 filenames. (also had to include old table) I did
of searching around and created a few test missions using the same music track. Along the way, I discovered several bugs.
First, FS2 Apparently uses on big Ambience title in the music.tbl, while FS1 used Three "Normal" wave files. This screws up the event music, but is easily fixed by commenting out the Normal2 and Normal3 lines for each Soundtrack. However, then you only have one Ambience track. Kinda boring. I could just patch all of the wave files together, except they have different "measures" and "samples per measure" values. (My brother figured out these probably control how the game changes tracks smoothly without sounding awkward...when he can explain it in detail and I can type it down, I'll do so). Anyways, my point being, if you guys could somehow make it so FS2 SCP take three files for sound if specified, like this:
$filename1.wav,filename2.wav,filename3.wav 13.8,34.2,12.0 88000,24000,12000 ;
with commas separating respective values for the three files?
Another bug, in FS1 the right-hand value is "(samples-per-measure)/2" and in FS2 it's just (samples-per-measure).
I can double the values (they're still the same as FS1, I checked), but I thought you might want to know...although maybe that one should go into the FSPort Forum, as it should be part of the Port process to change those values.
Lastly, none of the above turned out to be the problem. The problem was that the .wav file was 16-bit sample rate, while normal is 4. FS1 handles this no problem. (all wave files are 4 bit, 22,050 Hz, mono, except three are
16 / 22050 hz / mono in FS1) I checked, and in FS2, you have
of both types of files, except that there's more 16 bit in FS2. I think the problem is, FS2 uses 4 or 16 bit, 22,050 Hz,
stereo. Anyways, I converted the 16 bit to 4 bit and it worked fine (for all three of them). I haven't tried making it a 16-bit stereo yet. (Sorry, I will probably today) I think there's a bug where it can't handle the fact that it's 16 bit but not stereo, although not being stereo 4 bit doesn't seem to bug it (??
) Any ideas / questions / alreadyfixedthatyoudopewhydidn'tyoureadpost123xyz / comments appreciated. Thanks guys.
PS using 11-22-2005 CVS, Open AL, MVP3.6.7 patch3, FSPort2.3, any other info I can get for you.
PPS Belated Merry Christmas to all!!