slowriderxcorps wrote:there is no music playing in Civilian sectors
Yep, I extracted dats before and after patching a trivial mod, then diffed the good vs bad folders.
SMM 1.8 has a subtle bug somewhere in handling the new "ftl.dat" that specifically corrupts "audio/music/bp_MUS_CivilBATTLE.ogg" when any files are added, probably in growing/repacking.
Edit: Wow. That one was a greater-than that should've been a less-than.
Was supposed to find the entry with the *lowest* offset within "ftl.dat" and copy it to the end - leaving a vacuum near the beginning to write stuff. Instead, the greater-than made it always find the *highest* entry (already at the end), nothing moved, no vacuum, and the stuff that was written clobbered the lowest entry.