Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Screencast with two voice sessions on the same computer

Mathis Zabelin
Registered User
Join date: 29 May 2008
Posts: 22
11-01-2009 08:17
Hello,

I would like to make a screencast which involves that I could launch two voices sessions on my computer. Is there a way to achieve that ? I've tried to find a way by creating a new user and launch Second Life via a terminal with "su - newuser" but I always end up with :

FAILED TO establish the default connection to the WindowServer

I've tried using Kirstens viewer and official viewer so they don't have the same settings folder.

I've prepared some nice voice effects I would like to put in my screencast and I won't be able to do so if I can't launch those two voice sessions :(

Thank you
Dakota Schwade
Forty Two
Join date: 13 Dec 2007
Posts: 10
11-02-2009 11:36
http://wiki.secondlife.com/wiki/Running_Multiple_Viewers

That link will show you the various ways of running multiple Second Life clients on your computer. Whether doing so allows multiple voice sessions, I do not know. But perhaps you're one step closer now.
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
11-02-2009 17:08
To get two voice sessions going at once you'll need a renamed copy of SLVoice.exe, a second server-facing port range for it to use, and a second port for connecting to it with the viewer. If you use the same viewer I do, from what I can see they didn't make this easy at all... The name of SLVoice.exe is hard-coded in the viewer, and the port range is left to default with no way to specify them. Here's how you can pull it off though, if you're up for an adventure:

1. Run the first SecondLife.exe and get in voice. You're half way there!
2. Make a copy of SLVoice.exe and name it SLVoise.exe (it's important that the name is the same length)
3. Make a copy of SecondLife.exe and name it anything you want. The name of SLVoice.exe is hard-coded inside and we'll change it with a hex editor. I recommend HxD: http://mh-nexus.de/en/hxd/
4. Open your new copy of SecondLife.exe with the hex editor, and use search to find where it says SLVoice.exe. In the column on the right, select the 'c' and change it to an 's' so it says SLVoise.exe. Save your changes and close
5. Make a copy of vivoxsdk.dll and name it vivoksdk.dll (again, important that the name is the same length)
6. Open it with the hex editor and use search, except this time set the data type to "Integer Numbers" and search for 22860. If your dll is the same as mine, the first result is the one you're looking for -- where it says 4C 59, carefully change it to 7C 59.
7. Search again for an integer, this time 22892. Where it says 6C 59, carefully change it to 9C 59. Save changes and close
8. Open your copy of slvoice called SLVoise.exe with the hex editor and use search to find the text string: vivoxsdk.dll. Highlight the 'x' and change it to a 'k', making it vivoksdk.dll. Save changes and close
9. Run your copy of SecondLife.exe and log in. You won't be able to enable voice yet. Open Advanced->Debug Settings
10. Find the setting named CmdLineDisableVoice and set it FALSE
11. Find the setting named VoicePort and change it to 44130
12. Find the setting named VivoxDebugLevel. It probably says
From: someone
-1

change it to:
From: someone
-1 -i 127.0.0.1:44130

13. Open Preferences->Voice. Disable voice and click apply. Enable voice and click apply.
14. Enjoy success!

It worked for me, please don't be mad if it doesn't work for you xD
_____________________
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
11-02-2009 17:27
Oh crap, is this a mac discussion board?
_____________________
Missy Malaprop
♥Diaper Girl♥
Join date: 28 Oct 2005
Posts: 544
11-05-2009 10:27
From: Day Oh
Oh crap, is this a mac discussion board?


while your directions wont work directly... its possible to do that same procedure slightly modified on Macs if someone wants to go through the trouble of finding out the differences.



If I had to do 2 voice sessions, I wouldn't bother though, its easier to modify SL to work with voice through Wine, and run a native Mac session and a Windows version in Wine or Crossover.... but either way can be a lot of work.
Mathis Zabelin
Registered User
Join date: 29 May 2008
Posts: 22
11-05-2009 15:46
From: Day Oh
To get two voice sessions going at once you'll need a renamed copy of SLVoice.exe, a second server-facing port range for it to use, and a second port for connecting to it with the viewer. If you use the same viewer I do, from what I can see they didn't make this easy at all... The name of SLVoice.exe is hard-coded in the viewer, and the port range is left to default with no way to specify them. Here's how you can pull it off though, if you're up for an adventure:

1...
11. Find the setting named VoicePort and change it to 44130
12. Find the setting named VivoxDebugLevel. It probably says

change it to:

13. Open Preferences->Voice. Disable voice and click apply. Enable voice and click apply.
14. Enjoy success!

It worked for me, please don't be mad if it doesn't work for you xD


Thank you for your answer. I'll try that and also I'l try doing the same but building the source myself, perhaps will it make it easier to find SLVoice.exe in the code. I'll post my results here.
Tori Liebling
Registered User
Join date: 13 Jul 2008
Posts: 30
11-24-2009 14:00
/me wonders how the user will speak in 2 voices at the same time ;)
_____________________
Tori


*Disclaimer* : I work for Apple. Any statement I make about Apple products or services is a personal opinion and should not be construed as an official statement in anyway.
Mathis Zabelin
Registered User
Join date: 29 May 2008
Posts: 22
11-24-2009 14:18
From: Tori Liebling
/me wonders how the user will speak in 2 voices at the same time ;)


Not talk at the same time, but playing with sound effects and prerecorded voice with one avatar like explained here :

http://radarmasukami.com/2009/08/sound-effects-through-sl-voice-on-your-mac/

and talking with the other