PDA

View Full Version : The file that controls sounds


pythos
08-29-07, 10:25 PM
Which file or files control what sounds are stated when?

I thought it was the SH.SDL file. I tried taking sh3's sdl file and put it into sh4's sound folder (after renaming it sh.sdl), to see if I could get more damage sounds, as well as "we are closing to critical depth sir" two of many features sorely lacking from SH4, but present in sh3.

Unfortunately this failed to do anything and ended up elimataing the klaxons when diving or surfacing.

I can only find one sound related "control" file.

Does anyone else know where possible others are.

Von Manteuffel
08-30-07, 06:03 PM
I think you may be looking for SHSound.act Sound.act and SoundEdit.act

They're all in the SH4 root folder. As yet I haven't found a program which presents the contents of these files in any editable form. If you manage it, please let me know, but I suspect they're part of the hard-coding.

skwasjer
08-30-07, 06:19 PM
The .act files can't be editted. Well it can, but not easy anyway (lowlevel debuggers/assembler). They are simply dll's renamed to act's. I don't think it is needed anyway to get sounds back that were in SH3.

The sdl file is a definition file that links a soundfile (wav/ogg) to an identifier name (and various other properties), which can then be referenced throughout the other game files (*.dsd I guess mostly) using a SoundSource controller. There is no editor for this file, so you'll have to hexedit it.

I hope to add support for this file to S3D soon.