Author
Topic: Can't initialize sound (Read 4340 times)

This isn't exactly FF7 or FF8 related as the problem is outside the scope of the two. I can't load FF7 at all (haven't tried . I'm using Aali's latest driver with a slightly modded 1.02 exe. Not using it causes the error too. I can even tell you what line is causing the problem (which is why I know it's not in any of the FF7 files). The actual error is:

Quote

Debugged application message: ERROR: No sound driver is available for use. in FILE C:\lib\src\sound\dx_snd.cpp LINE 68

which doesn't make it into the APP.LOG so I won't bother posting that. I will mention one thing, though. Some time before I noticed this happening I installed Dead Space 3 via Origin (I wouldn't have that except it came in a Humble Bundle) and did something to make my headphones work with it because EA thinks they have to do sound that one way for that game. I just want to know if anyone had this problem and managed to fix it.

You can't uninstall those .Net runtimes. At least, not easily and there's never any reason to. I'd be getting errors in other programs if they weren't there and FF7 is the only thing that's messing up.

I know this, but I changed the registry settings to point to a different location 'cause that's what I do.

? ? ? I would like to know more detail.

By the way, I could see 26 entries of the dx_snd.cpp within the FF7.exe, same number in the FF7Config.exeI guess it is a piece of C++ source code that is recompiled each time with different values.And the values ​​gets FF7 from the registry ...

It's a basic hex edit of the hard-coded string paths to the registry. I just changed it from "Final Fantasy VII" to "Final Fantasy VI2" so I can keep one copy free of Aali's driver so I know what mechanics are actually happening outside the influence of his "meddling".

By the way, I could see 26 entries of the dx_snd.cpp within the FF7.exe, same number in the FF7Config.exeI guess it is a piece of C++ source code that is recompiled each time with different values.And the values ​​gets FF7 from the registry ...

But this is now just a guess

That's because the compiler used uses massive sanity checks and they didn't have a global string class. It's the same file with 26 different entry points. I've got a debugger that can tell me each location that pulls or sets a value to the registry so I know where it's happening. The actual error occurs in one of the dxsound.dll files that seems to call an arbitrary address in wow2cpu.dll (or something like that). I could get a lot more technical than that, but I am about 99.8% positive that it has nothing to do with the settings or configuration of the ff7 installation.

I fear that exceeds my knowledge.I've never really dedicated myself to programming in high level languages.

A little bit Command Line Scripting is all I can.If it is only a matter Aalis driver to switch on and off or to exchange one set of keys that would go with Command Line.Then you do not need to change the location of the keys, you exchanges the values of the keys.