- Download sl_proxy-1.9.3 from Network Solutions Laboratory. It's the little 3.5" floppy disk icon.
- Extract the sources to a temp folder. I do this from a terminal command prompt:
- mkdir -p ~/tmp/slproxy
- cd ~/tmp/slproxy
- tar xvzf ~/Desktop/sl_proxy-1.9.3.tar.gz
- Download my sl_proxy-1.9.3-mac-cygwin.patch from here. (The .patch extension might be hidden)
- Test applying the patch, just to be sure you're in the right spot.
- cd ~/tmp/slproxy
- patch --dry-run --strip=1 -i ~/Desktop/sl_proxy-1.9.3-mac-cygwin.patch
- If that works, apply the patch.
- patch --strip=1 -i ~/Desktop/sl_proxy-1.9.3-mac-cygwin.patch
- Make the junkbox library.
- cd ~/tmp/slproxy/junkbox_lib-1.2.4
- autoreconf -f && ./configure && make
- Make the sl_proxy programs.
- cd ../sl_proxy-1.9.3
- autoreconf -f && ./configure && make
- Install them. On Mac, remember to 'sudo' the install command.
- make install
I recommend using 'screen' to run them. At the least, you'll probably want 3 terminal sessions. I set up some bash aliases to run them in my .profile, so I can just type sl1, sl2, and sl3 -- one in each terminal session. The sl_cache process, sl2 in my aliases, takes a bit to start up. It takes longer each time as you collect more and more textures. This is why I recommend screen if you leave your PC or Mac on most of the time -- because you can detach the session and log out and the apps will keep running.
Starting the apps by hand
On the Mac, you'll need to prefix each of these with 'sudo' because they run as privliged processes.
- sl_info -v0 -l -f1 -d
- sl_cache -v0 -l -lx -xpr 90 -d
- sl_relay -v0 -ci -cs -d
In my .profile (or .bashrc, depending), I set up aliases as follows:
- alias sl1="sl_info -v0 -l -f1 -d"
- alias sl2="sl_cache -v0 -l -lx -xpr 90 -d"
- alias sl3="sl_relay -v0 -ci -cs -d"
In order to start caching textures, you need to have your Second Life client talking to sl_proxy, and not directly to the Second Life servers.
Windows:
You can do this by putting the IP of your sl_proxy computer in the shortcut. Just copy your Second Life shortcut and perhaps rename it "Second Life - cache". Change your target to add the --loginuri parameter outside the quotes of the exe. For example: "SecondLife.exe" --loginuri http://computer:8100/cgi-bin/login.cgi
Make sure you replace 'computer' with the IP of the sl_proxy machine or use 'localhost' if it's on the same pc you'll run Second Life from.
Mac:
(instructions shamelessly stolen from the Opensimulator site)
- Make a 'secondlife.sh' file, and put this in it:
#!/bin/bash
/Applications/Second\ Life.app/Contents/MacOS/Second\ Life -loginuri http://computer:8100/cgi-bin/login.cgi
- set it to executable
- run it