Jump to content
  • 0

How do I run second life from a flash drive, and still save user settings?


RichAnderson Alter
 Share

You are about to reply to a thread that has been inactive for 2964 days.

Please take a moment to consider if this thread is worth bumping.

Question

I've already figured out a way to run SL from a flash drive, plugged into a Microsoft Windows computer, but all info is lost if the user closes the viewer, moves to a new machine, and starts the viewer. I would like to make Second Life easier for my student to access and use by allowing them to install Second Life on a flash drive (for use with a Microsoft Windows computer) but in a way that stores all custom user data and settings on the flash drive so it isn't lost

(1) Is this possible? If so, how?

(2) If it's not possible now, is it something that's being worked on, or should I just give up on the idea?

Link to comment
Share on other sites

Recommended Posts

  • 0

Actually, I'm having a lot of trouble seeing how what you've done could actually work. Maybe we're talking past each other, but remember that my original question wasn't just asking how to run Second Life from a flash drive. You don't need any special script to do that. Just install the viewer to the flash drive rather than the c drive. Then go into the SecondLife folder, on the flash drive and double-click the SecondLife.exe file. As fas as I can see, all the PSU script (below) does is to automatically remove files (once you close secondlife) that cause grief for the particular network/authentication system they have over in the Penn State public computing labs (which doesn't affect me, or most people).

The challenge I'm dealing with is how to run SL from a flash drive and have it save the viewer's user settings information to the flash drive.

When the viewer shows me pop-ups that give  tips on how to do basic things in SL, like navigate, change my appearance, etc., I check a box that says please don't show the pop-ups again. The SL viewer records my request on the C drive, not on the flash drive, even though I'm running the software from the flash drive. When I position my inventory window just where I like it, the SL viewer stores that information on the C drive, not on the flash drive, even though I'm running the SL viewer from the flash drive. When I change the graphics settings to get a better compromise between speed and visual detail, the SL viewer stores that information on the C drive, not on the flash drive.

So if close SL viewer that I've been running on the flash drive, then start it up without switching to a new computer, the viewer consult the info it stored on the C drive and remembers that I don't want to see the popups, that I want my inventory positioned just so, and that I want the graphics options configured ina particular way. But take my flash drive to a different computer, that information will be forgotten (because its on the C drive of the previous computer) and I'll have to put up with the pop-ups all over again, reset the graphics settings to the way I want them, and reposition my inventory window and other windows the way I want them.

So the point of this thread is to try to figure out away to get that info automatically saved to the flash drive so that it isn't "forgotten" when I move to a different computer.

 

: This script will launch Second Life.
: When SL is closed, it will delete temp
: directories that cause PSU Lab problems.
: For this script to work, the folder
: containing the Second Life application
: (SecondLife) must be in the same directory
: as this script.

@ECHO OFF
ECHO Please leave this window open.
ECHO IGNORE ANY "Profile Storage Space" MESSAGES YOU SEE!
ECHO Now launching Second Life...
ECHO.
PAUSE
CD /d %~dp0
CD SecondLife
START /wait SecondLife.exe
RMDIR /q /s "%APPDATA%\SecondLife"
ECHO.
ECHO Second Life is closing. Now cleaning up your temp files...
ECHO.
PAUSE
CLS
EXIT

Link to comment
Share on other sites

  • 0

This is what i used and it is supposed to save the settings, like I said it was in the comments section at the bottom of the page:

 

@ECHO OFF
Color 0a
ECHO Please leave this window open.
CD ..
ECHO.
ECHO Copying settings to C: drive..
ECHO.
XCOPY SLSave "%APPDATA%\SecondLife" /H /R /E /Y /I
CD /d %~dp0
ECHO.
ECHO Sarting SecondLife..
ECHO.
START /wait SecondLife.exe
ECHO.
ECHO Deleting SL cache from C: drive..
ECHO.
RMDIR /q /s "%APPDATA%\SecondLife\cache"
CD ..
ECHO.
ECHO Deleting settings folder from flash drive..
ECHO.
RMDIR /q /s "SLSave"
ECHO.
ECHO Copying settings to flash drive SLSave folder..
ECHO.
XCOPY "%APPDATA%\SecondLife" SLSave /H /R /E /Y /I
ECHO.
ECHO Deleting settings from C: drive..
ECHO.
RMDIR /q /s "%APPDATA%\SecondLife"
CLS
EXIT

Link to comment
Share on other sites

  • 0

Wow. It looks like that particular batch file you've found is written so that it really should work! But I did some reading-up on it--specifically, the batch file commands. What I learned is that it may or may not find the correct spot on the C drive where the user settings are saved, depending on whether you're using XP or Vista, and on how your system is configured. And who knows what will happen with Windows 7. So I'll call the question possed n this particular threat "Answered." That said, I'm not sure I want to distribute a solution to my students that's likely to be suituation-dependent. So I'll continue to keep my ears open for new solutions (it would be nice if Linden labs would just make a viewer that could easily be easily configured to run from a removeable drive).

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2964 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...