Can't initialize sound

  • Thread starter Thread starter nfitc1
  • Start date Start date
Status
Not open for further replies.
N

nfitc1

Guest
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 8). 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:

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. :P I just want to know if anyone had this problem and managed to fix it.

FF7Config works fine though.
 
It may be that the FF7Conig sets the registry value for the sound to a different location than the ff7.exe then reads it.
Set both programs on the same compatibility mode.
 
It may be that the FF7Conig sets the registry value for the sound to a different location than the ff7.exe then reads it.
Set both programs on the same compatibility mode.
That's a thought. I know it was working before the whole DS3 thing though, but I'll double check this.
 
You can't uninstall those .Net runtimes.
Yes, you're right, I was not thinking properly :-[

The registry keys are "Sound_GUID" at Position

"HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Square Soft, Inc.\Final Fantasy VII\1.00\Sound"
"HKEY_LOCAL_MACHINE\SOFTWARE\Square Soft, Inc.\Final Fantasy VII\1.00\Sound"

or for 64 Bit Systems

"HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Square Soft, Inc.\Final Fantasy VII\1.00\Sound"
"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Square Soft, Inc.\Final Fantasy VII\1.00\Sound"

If you set the value of each to nothing, ff7 is forced to recalculate the value.
 
Yes, you're right, I was not thinking properly :-[

The registry keys are "Sound_GUID" at Position

"HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Square Soft, Inc.\Final Fantasy VII\1.00\Sound"
"HKEY_LOCAL_MACHINE\SOFTWARE\Square Soft, Inc.\Final Fantasy VII\1.00\Sound"

or for 64 Bit Systems

"HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Square Soft, Inc.\Final Fantasy VII\1.00\Sound"
"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Square Soft, Inc.\Final Fantasy VII\1.00\Sound"

If you set the value of each to nothing, ff7 is forced to recalculate the value.
I know this, but I changed the registry settings to point to a different location 'cause that's what I do. :P
 
I know this, but I changed the registry settings to point to a different location 'cause that's what I do. :P
? ? ?
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.exe
I 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
 
? ? ?
I would like to know more detail.
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.exe
I 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.
 
I figured it out. I had to uninstall and re-install IDT's Audio Driver then run my modified FF7Config in admin mode to alter the correct registry entry.
 
Status
Not open for further replies.
Back
Top