Oolite Bulletins

For information and discussion about Oolite.
It is currently Sat Aug 19, 2017 10:34 pm

All times are UTC




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Mar 28, 2014 2:12 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun May 13, 2012 11:12 pm
Posts: 821
Location: Bradford, UK. (Anarchic)
Ever since the change to OpenAL I have been experiencing stuttering of the music and sound. I thought this was due to my laptop not being powerful enough. After some searching I discovered others were experiencing this. The fix seems to be to install oalinst.exe which places OpenAL32.dll from Creative in the Windows system folder and then removing the DLL packaged with Oolite.

This is a copy of the file I'm using: oalinst.exe (My Google Drive)

Edit: Forgot to add I'm running on Vista 32bit.

_________________
Image
Facebook | Twitter
I3 channel logs | Dedicated servers


Top
   
PostPosted: Fri Mar 28, 2014 6:47 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Apr 29, 2012 2:23 pm
Posts: 883
Location: United Kingdom
I haven't had any sound problems but then I'm running Windows 8 64 - bit. Maybe that's the problem the OpenAL dll is 64 bit only?


Top
   
PostPosted: Fri Mar 28, 2014 1:39 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun May 13, 2012 11:12 pm
Posts: 821
Location: Bradford, UK. (Anarchic)
The DLL is named OpenAL32.dll in the oolite.app directory so I assume it is the 32 bit version.

_________________
Image
Facebook | Twitter
I3 channel logs | Dedicated servers


Top
   
PostPosted: Mon Sep 01, 2014 6:45 am 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Sat Sep 12, 2009 11:58 pm
Posts: 945
Location: Essex (mainly industrial and occasionally anarchic)
A (thread-resurrecting question): should I install the OpenAl driver separately? Or does Oolite install everything the game needs, sound-wise? Sorry if this has been asked before somewhere.

I am on Windows x64, using a trunk build, with an ATI video card.

Thanks.


Top
   
PostPosted: Mon Sep 01, 2014 6:54 am 
Online
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 4898
Quote:
A (thread-resurrecting question): should I install the OpenAl driver separately? Or does Oolite install everything the game needs, sound-wise? Sorry if this has been asked before somewhere.

I am on Windows x64, using a trunk build, with an ATI video card.

Thanks.
Oolite installs everything that is required and you should not have to install any external drivers or libraries. Are you experiencing any sound problems (stutters, distortions etc.) with OpenAL?


Top
   
PostPosted: Mon Sep 01, 2014 7:00 am 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Sat Sep 12, 2009 11:58 pm
Posts: 945
Location: Essex (mainly industrial and occasionally anarchic)
Thanks, another_commander.

I am not having any problems; it's just that a driver updater programme - one of the less dubious ones, but in a beta version - recommended that I install an OpenAL driver (and I doubt that the updater programme made the recommendation because it detected Oolite on my computer).


Top
   
PostPosted: Wed Oct 29, 2014 7:21 am 
Online
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 4898
In the last few days I had the chance to play around with a Windows Vista 32-bit laptop with a Realtek sound card and saw this problem. After some investigation, it looks like the actual issue might be with the non-Creative Labs sound cards rather than the OS. In any case, a solution has been found.

Anyone experiencing sound distortion and stutter with Oolite can try this fix as an alternative to installing the OpenAL32.dll linked in the first post. If this solution works for everyone the same way it worked for me I would prefer it. The reason is that OpenAL32.dll, just like every other support DLL Oolite uses, is built specifically for Oolite and quite a few times we apply fixes directly to the support DLLs in order to get them to do things the way they are meant to be for the game - or sometimes even improve them over the "standard" versions. Using an external DLL adds a barrier to proper game support in case of need.

So, the fix:
1. Start a command prompt and execute the below line to determine the actual location of %APPDATA% on your computer:
Code:
echo %APPDATA%
In my case, APPDATA was located at C:\Users\<UserName>\AppData\Roaming.
2. Now navigate to that folder with Windows explorer and create a new empty text file (right click -> New => Text Document).
3. Open the empty text file in an editor and add this one line in it:
Code:
frequency = 16000
4. Now save this file as alsoft.ini and make sure that no extensions like .txt or anything else gets added automatically by the OS.

You are done. Start up Oolite and hopefully enjoy non-distorted, beautiful positional sounds.


Top
   
PostPosted: Tue Dec 08, 2015 8:38 pm 
Online
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 4898
Just today I realized that the 32-bit OpenAL32.dll was not built with DirectSound backend support on Windows and only the winmm backend was available. A new, updated OpenAL32.dll for 32-bit Windows has been uploaded to github and will be in from tomorrow's nightly onwards. This resolves completely the issue of distorted sounds in some 32-bit systems and the alsoft.ini fix mentioned above will be no longer necessary. Please report any issues you may encounter with the new DLL.

The 64-bit flavor of OpenAL32.dll is already built (correctly) with DirectSound backend support, so there is no change for 64-bit systems.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited