Page 1 of 1

snd! request

Posted: Fri Jul 25, 2008 12:46 pm
by Altimit01
I'm doing some research into the snd! file and I have a small request to make.

Could a PC user using HMTv3.5 with the xbox ADPCM codec installed please export the sound tag from bloodgulch: sound\sfx\ambience\multiplayer\countryday2

Once it's exported make a copy of it for comparison. Then open the first .wav file in a hex editor, go to 0x14 and change the value of 0x69 to the value of 0x11.

I'm curious to know what the difference is when both of these sound files are played.

Posted: Sat Jul 26, 2008 6:28 pm
by DeadHamster
if you still need someone to do it I can

Posted: Sun Jul 27, 2008 12:25 am
by Altimit01
Much appreciated. It's a simple thing. Just need a comparison by someone who can actually test for the difference.

Posted: Sun Jul 27, 2008 2:10 pm
by DeadHamster
Ok, I'm not exactly the most hex-savvy though, so when you say go to 0x14, and then the other two values, what are you refering to? I dont think it's an offset because neither hex nor decimal offsets have an x, so I'm a bit thrown off.

Posted: Sun Jul 27, 2008 2:17 pm
by Altimit01
Adding "0x" before a number is a common way of denoting a hexadecimal number. So when I say address 0x14 it's the same as saying go to the 20th byte. At the 20th byte, it should show as "69" which equals 105. Just change that byte to read as "11" which equals 17.

Posted: Sun Jul 27, 2008 2:32 pm
by DeadHamster
I'm fairly certain it changed the Codec I needed to an Intel ADPCM 11.

The original opened in Media Player fine, but did not open in Itunes (probably my error), the hexed one played in Itunes, and requested the intel codec in Media Player.

I only tried Itunes because a google search showed it could play songs without me having to get that particular codec.

So I'm assuming that you did that on purpose, because it now allows for sounds to be edited on a mac, to be used in eschaton? Just a random guess, don't know if sound editing was available to macs or not.





I could be wrong about what it changed, but other then that they sound exactly the same.

Posted: Sun Jul 27, 2008 2:36 pm
by Altimit01
Basically yes it changed the container information to say it used a different codec. I just wanted to see if it would appear corrupted or not. Thank you.

And yeah. The main reason is because there's no xbox ADPCM for macs. Now it'll be usable.

Posted: Sun Jul 27, 2008 2:39 pm
by DeadHamster
Nice work Alt.