View Issue Details

IDProjectCategoryView StatusLast Update
0000406FSSCPsoundpublic2005-05-15 05:47
ReporterThe Trivial Psychic Assigned Totaylor  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformAMD-2600+ 1GB DDR400 ATI9600XTOSWin98SE or WinXP 
Product Version3.6.5 
Summary0000406: OGG not Applying to Anything Other Than Music
DescriptionI've been testing TBP's 3.2 Beta. It uses ogg for music, that seems to be working, although a bit flakely. It also has ogg for interface, effects, and even some voice sounds, but none of these seem to work. The only sounds the game is making, is for those that the new TBP-VP has redundant .wav files for. I had thought the problems were due to the fact that I was still using a sounds table with .wav extensions for the files, but even after updating it, I still had the problem. It seems that at present, ogg only works for music. This needs to be rectified, and I'm sure the TBP staff would appreciate this as well.
Steps To ReproduceAttempt to use an ogg for anything other than music.
TagsNo tags attached.

Activities

phreak

2005-05-02 22:18

developer   ~0002308

assigned to WMC

WMCoolmon

2005-05-02 23:41

developer   ~0002316

Is it fixed if you extract the sounds from the VPs?

The Trivial Psychic

2005-05-03 02:20

reporter   ~0002318

I tried that, but to no avail. I even extracted the ogg versions of the voice files (the ones that I said had redundant .wav copies in the VP as well), but it still completely ignored the ogg files and read the .wav files out of the VP. Its just not reading them for those functions at all.

WMCoolmon

2005-05-03 07:21

developer   ~0002324

If it's reading .wav files, that doesn't sound like an ogg error at all (as it's not even conscious of file extensions; it just tries to load whatever you feed it and figures out what format it is through trial and error. If you say "voice.ogg", it's not going to go looking for "voice.wav", unless someone's added code I don't know about).

Make sure you have one and only one sounds.tbl in your current mod folder.

The Trivial Psychic

2005-05-03 23:37

reporter   ~0002331

OK. It seems on the wave file issue, that this was the emptymsg.wav file, which was being referenced by filename and extension in the mission rather than in any particular table. I've oppened the mission in FRED and changed the extension to ogg. The next time I can test TBP, I'll see if this is having any effect.

Also, this is TBP, as a stand-alone, so I'm not using a mod directory. No additional sounds or messages table files are present. Just in case you were wondering, the messages table file already has the extension changes to ogg.

The Trivial Psychic

2005-05-04 03:29

reporter   ~0002332

Special Update: WMC's 2005-05-03 build appears to be playing oggs for interface sounds. Can't get beyond pilot select screen though, (so I can't test for effects & voice files,) but that's another bug for another bug report.

taylor

2005-05-15 05:47

administrator   ~0002406

This should be fixed now. I'll go ahead and resolve this but if it's not 100% better in the next build TP then reopen this and I'll have another look.

Basically is was more mixup when both WMC and I were unintentionally fighting to fix the ogg problems our own way. Some of my changes got in and other didn't so the basic fix is to not allow the ogg callbacks to close the file handles and do it manually like always. This avoids trying to close the handle multiple times for normal sounds since it would close at the end of load just like always. This was handled better originally but only part of the change got into CVS. The newer way just makes it easier to do the same thing.

taylor

2005-05-15 05:47

administrator   ~0002407

Fixered.

Issue History

Date Modified Username Field Change
2005-05-02 02:23 The Trivial Psychic New Issue
2005-05-02 22:18 phreak Note Added: 0002308
2005-05-02 22:18 phreak Assigned To => WMCoolmon
2005-05-02 22:18 phreak Status new => assigned
2005-05-02 23:41 WMCoolmon Note Added: 0002316
2005-05-03 02:20 The Trivial Psychic Note Added: 0002318
2005-05-03 07:21 WMCoolmon Note Added: 0002324
2005-05-03 23:37 The Trivial Psychic Note Added: 0002331
2005-05-04 03:29 The Trivial Psychic Note Added: 0002332
2005-05-15 05:47 taylor Note Added: 0002406
2005-05-15 05:47 taylor Status assigned => resolved
2005-05-15 05:47 taylor Resolution open => fixed
2005-05-15 05:47 taylor Assigned To WMCoolmon => taylor
2005-05-15 05:47 taylor Note Added: 0002407