PDA

View Full Version : Run lich / GS off of a USB drive?



JustDan
02-29-2012, 08:25 AM
I know I've seen instructions, or some kind of how-to, on how to accomplish this... anyone have any insight, or able to clue me in as to the process?

Would like to have a USB drive that I could plug into a (Windows) PC, as I have several that I move through, and have all my updated stuff, and everything I need to just launch GS. Doable? Difficult? Steps?

Thanks,
JustDan

SpiffyJr
02-29-2012, 08:57 AM
I wrote a portable apps utility to do it a long time ago. It's not a fun/easy process, though. I wrote an installer that would install keys to the registry and then remove them later. It's easier to do with the Wizard than with StormFront.

Buckwheet
02-29-2012, 09:58 AM
I found it easier to make a persistent ISO of Ubuntu and put that on a USB stick and then mount that using a virtual machine program.

Tillmen
03-01-2012, 02:27 PM
I put a custom launch command option on the Lich game entry for launching from a usb stick. I hardly tested it, but it seemed to work. Here's the idea:

1. Be able to log in with Lich normally.

2. Copy ruby folder to the usb drive

c:\program files\ruby-1.8.7-p352 => e:\ruby

3. Copy your frontend folder

c:\simu\wizard => e:\wizard

4. Copy Lich folder

My Documents\lich => e:\lich

5. Create a batch file to make things easier

5.1 open notepad, put this one line in it: start ruby\bin\rubyw.exe lich\lich.rbw
5.2 save it as "e:\startlich.bat"
5.3 include the quotes around the file name, or you'll probably end up naming it startlich.bat.txt

6. Take the usb drive to a computer that has no ruby/lich/frontend/launcher/etc

7. Double-click on startlich.bat

8. Check the "Custom launch command" box on the "Game Entry" tab

9. Select "Wizard.Exe /GGS /H127.0.0.1 /P%port% /K%key%" from the first dropdown box.

10. Select "../wizard" from the second dropdown box

11. Log in and play and stuff

Your stuff is probably in a different place than mine, but you get the idea.

For Stormfront, there's an extra step. Stormfront likes to save things in C:\Documents and Settings\<username>\Application Data\Stormfront\. This can probably be changed by adding a line to the top of startlich.bat, but I haven't tried it:

set APPDATA=%CD%appdata

Then, copy your Stormfront highlights and things over

C:\Documents and Settings\<username>\Application Data\Stormfront\ => e:\appdata\Stormfront\

Then you'd select Stormfront in the Lich game entry and the second option on each dropdown box.

None of this will work.

phantasm
03-01-2012, 06:23 PM
I put a custom launch command option on the Lich game entry for launching from a usb stick. I hardly tested it, but it seemed to work. Here's the idea:

... the stuff you said will work ....

None of this will work.




Confused.

WRoss
03-01-2012, 06:27 PM
Confused.

It's like those trick quizes that you got in school that said to read all the instructions first.