<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">We are using the Ogg file format in our game Awesomenauts. Now whenever I rebuild our compressed music files from our uncompressed sources (WAV to OGG), oggenc.exe produces different files. They sound the same, but there are differences in the file. I did a checksum on the hex, and it turns out there are small pieces of similar differences throughout the file.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
This is a serious problem for us: whenever I run our complete build process and produce a patch for Awesomenauts (which happens almost every week), all audio files are different, and thus all our Steam users will have to download 120mb of music that has not actually changed. (We also regularly make real changes to the soundtrack in patches, so I want to keep a complete rebuild of the soundtrack in our build process to avoid accidentally missing things when building.)</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
I thought oggenc.exe might add the current date if I don't set one myself, so I tried setting the date through "-d 1-1-2012", but that did not help.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">So, what changes every time, and how can I prevent this from happening?</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks in advance!</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">With kind regards,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Joost</div><pre>-
Joost van Dongen
Lead programmer / co-founder
Ronimo Games
<a href="http://www.ronimo-games.com/" target="_blank">www.ronimo-games.com</a>
</pre><br>