Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: VerGreeneyes on March 08, 2011, 05:38:29 pm
-
Hi all, I've been trying to get FS2Open to output to my Virtual Audio Cable and I wasn't having much luck, so I had a look at the OpenAl source to figure out why it wasn't detecting my device.
After a bit of debugging I found that the launcher is to blame: the FS2Open executable checks the value of "PlaybackDevice" in the key "HKLM\Software\Volition\Freespace2\Sound" in the registry, but the launcher never creates it. Instead it creates the value "Sound\PlaybackDevice" in the key "HKLM\Software\Volition\Freespace2"! The same is true for the values "EnableEFX", "CaptureDevice" and "SampleRate".
Having created the values manually, FS2Open now correctly outputs to my VAC :)
I'd try to fix this in the launcher myself (and post the fix here), but the source from the SVN seems to be a bit of a mess.. so this post is the best I can do. Hope this helps!
-
Do you mean 5.5g? 5.5f isn't the latest version designed to work with the new OpenAL configurations.
-
5.5f appears to be the version I have.. I got it through the FSOpen installer before the servers went down. I will retest when I can get 5.5g - the link here (http://www.hard-light.net/forums/index.php?topic=70692) seems to be down (same server?).
-
Yes, should be up within another day or so, sorry.
-
Someone already put up a mirror :) The new launcher changes things around a bit and actually makes the situation worse - the Virtual Audio Cables aren't even showing up in the list of devices to select. The old settings (which the executable checks to determine the 'user_device') still work though.