From: tiennou <tie...@gm...> - 2007-04-17 12:29:17
|
Le 17 avr. 07 =C3=A0 14:17, ti...@da... a =C3=A9crit : >> I fixed RED file, caused by a negative groupOffset in >> sound 6. Wail had the test I added, and strangely, Anvil >> don't complain when this sound is opened, but it won't >> play it... Anyway class 6 is 'Unused', so it won't break >> anything. My EVIL sound file doesn't show this error... I >> just tried with the Unimap version, but same... I don't >> get any error. > I hate people violating file formats. > >> Your fix to the PlaySound() method causes an error here, >> but I don't know what triggers it (I get a File not >> found, but the file is clearly in >> /private/var/tmp/folders.501/TemporaryItems). I tracked >> the error to the QuickTime call but now I'm wondering why >> it fails... > Maybe some strange MacOS X path quirk. That code is so > clean... I hope we won't have to hack it anymore. I fixed this by adding .wav at the end of the filename. Shame on QT =20 not able to guess a fileformat... I guess this won't break Linux so =20 that should be good. > >> I've started working on a WadReader class, to provide >> abstract access to Wad data (use for Physics & Map). I >> didn't understood when you told me that Physics are >> actually stored in Wad format, opposed to Sound/Shapes. >> I find this so strange that Bungie used Wad for some files >> , but not for others... > I often find myself wondering "hey, I could have designed > this file format so *well*..." :-) True, that is one of the things that strike me most... I still have to find a way to read Unimaps now, cause they are in a =20 different file format (I hope Wad). tiennou |