Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-23 14:21:33



Reply to topic  [ 5 posts ] 
Sound cache error? 
Author Message

Joined: 2010-04-07 23:10:41
Posts: 14
Location: Moscow, Russia
Reply with quote
I have noted the following glitch: sometimes some UI sound (I have observed the window closing sound once and the typing sound once) became corrupt. First time I have noted this, I've tried just to restart the viewer, but the problem persists. It has gone albeit after few more restarts. Second time, I have cleared the cache, and the problem has gone immediately. Very similar to texture cache error, but with sounds. Not really a big problem, but annoying.

CV 1.25.0 (16), Win32.


2010-12-09 18:18:16
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5550
Reply with quote
This is not a bug. This is the result of logging in on different grids which got different sounds than in SL, but with the same UUID as in SL. This affects all viewers.

Since the viewer does not include the UI sounds in its UI files, it fetches the UI sounds from the asset server instead, unless the sound is already cached (in the saved VFS file), in which case it uses the cached sound.

The problem is that if you log into another grid and use the UI, then relog in SL, the UI sounds corresponding to the ones you got during the OpenSim session are probably still cached, and the viewer will use those cached sounds, thus mixing the UI sounds from different grids.

I produced a patch that allows to use UI sounds that would be bundled with the viewer, as part of its UI files, and asked LL if TPV developers could reuse and distribute the UI sounds fetched from the SL grid. The answer was no (see this thread in the opensource-devel list).

Still the patch is applied in the current Cool VL Viewer release (see this announcement), and you can therefore get rid of those problems once and for all by yourself, by copying (while the viewer runs and is logged into SL) the decoded UI sound (the list is available here) from the viewer cache folder into a "sounds" folder in the skins/default/ directory of the viewer installation. Once this is done, the viewer will always fetch the UI sounds from its skin directory (skins/default/sounds/) instead of fetching them from the server or from the cache, thus getting rid of this issue.


2010-12-09 19:07:36
Profile WWW

Joined: 2010-04-07 23:10:41
Posts: 14
Location: Moscow, Russia
Reply with quote
Henri Beauchamp wrote:
This is not a bug. This is the result of logging in on different grids which got different sounds than in SL, but with the same UUID as in SL. This affects all viewers.


Thank you very much! This is true: I have logged in other grid recently, and have not realized that can be the source of my problem. Now I see.


2010-12-10 05:35:25
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5550
Reply with quote
With today's release (v1.25.0.28), recovering SL's decoded UI sounds to make them part of the viewer's skin (thus preventing any such mixed grids sounds issue) is even simpler (though, it would have been yet simpler should LL have allowed TPV developers to distribute the sound files like they do for artwork files...).

Proceed as follow:

  • Clear your cache(*) manually: this is only required to get rid of non-SL grid sounds that could have been cached in the saved VFS (data.db2.* and index.db2.* files: if you wish, you may even only delete those and let the rest of the cache untouched).
  • Launch the viewer and log into SL.
  • Make sure the master audio and UI audio are not muted and their level set so that UI sounds are audible (else they won't play at all and therefore won't get decoded).
  • Go to the "Advanced" -> "UI" sub-menu (if the "Advanced" item doesn't show on the menu bar, press CTRL ALT D to activate it), and choose "Decode all UI sounds". You should hear all the UI sounds playing in sequence.
  • Open the Cool VL Viewer installation directory from a file manager, and go to the skins/default/ directory: create a "sounds" sub-directory there.
  • Open your cache directory(*) from a file manager, and look for *.dsf files (decoded sound files), copying the following files into the skins/default/sounds/ directory you just created in the Cool VL Viewer installation directory.
    Code:
    09b2184e-8601-44e2-afbb-ce37434b8ba1.dsf
    0cb7b00a-4c10-6948-84de-a93c09af2ba9.dsf
    104974e3-dfda-428b-99ee-b0d4e748d3a3.dsf
    219c5d93-6c09-31c5-fb3f-c5fe7495c115.dsf
    242af82b-43c2-9a3b-e108-3b0c7e384981.dsf
    2c346eda-b60c-ab33-1119-b8941916a499.dsf
    2ca849ba-2885-4bc3-90ef-d4987a5b983a.dsf
    3c8fc726-1fd6-862d-fa01-16c5b2568db6.dsf
    4174f859-0d3d-c517-c424-72923dc21f65.dsf
    4c8c3c77-de8d-bde2-b9b8-32635e0fd4a6.dsf
    5e191c7b-8996-9ced-a177-b2ac32bfea06.dsf
    67cc2844-00f3-2b3c-b991-6418d01e1bb7.dsf
    77a018af-098e-c037-51a6-178f05877c6f.dsf
    7aff2265-d05b-8b72-63c7-dbf96dc2f21f.dsf
    8eaed61f-92ff-6485-de83-4dcc938a478e.dsf
    bbe4c7fc-7044-b05e-7b89-36924a67593c.dsf
    c1f334fb-a5be-8fe7-22b3-29631c21cf0b.dsf
    c80260ba-41fd-8a46-768a-6bf236360e3a.dsf
    c825dfbc-9827-7e02-6507-3713d18916c1.dsf
    d166039b-b4f5-c2ec-4911-c85c727b016c.dsf
    d7a9a565-a013-2a69-797d-5332baa1a947.dsf
    d9f73cf8-17b4-6f7a-1565-7951226c305d.dsf
    e057c244-5768-1056-c37e-1537454eeb62.dsf
    ed124764-705d-d497-167a-182cd9fa2e6c.dsf
    f4a0660f-5446-dea2-80b7-6482a082803c.dsf
    f6ba9816-dcaf-f755-7b67-51b31b6233e5.dsf

Done ! From now on, the Cool VL Viewer will use the decoded sound files present in its skins directory instead of fetching them from the asset server of the grid you are connected to, saving you the annoying "mixed grid sounds" effect and playing the UI sounds without any delay.



(*) The location of the cache can be found from the viewer "Edit" -> "Preferences" floater, "Network" tab, under "Disk cache location".


2011-03-25 15:49:08
Profile WWW

Joined: 2010-09-30 17:54:18
Posts: 29
Reply with quote
That's great news. No more clicking and jumping trying to trigger all the UI sounds. :D
I hope LL will someday change its mind on the licensing issues.


2011-03-26 17:56:47
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 37 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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.