Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Suggestions
➜ Portable MUSHclient anyone?
Portable MUSHclient anyone?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Zhamel
USA (67 posts) Bio
|
Date
| Tue 31 Jan 2006 10:52 PM (UTC) |
Message
| Now that I have your attention I'll begin.... :P
Hey Nick, what are the chances of you using XML files to store MUSHclient data instead of the Registry?
The reason for me asking is that I'm trying to move all the apps that I use regularly, at home and work, to my external HD so I won't have to keep two differnt copies of everything.
I could have easily use another MUD client but I don't want to, I want to use MUSHclient :P
Anyways, what are the chances of something like this happening? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 02 Feb 2006 08:44 PM (UTC) |
Message
| Only fairly rarely-changed stuff is in the registry, like the things in the Global Options menu.
You can use Regedit to export data from the registry, the appropriate registry path is:
HKEY_CURRENT_USER\Software\Gammon Software Solutions\MUSHclient
This will create a file you could then import into your other PC.
However your normal world files are already XML files, so you should be able to copy them without any problems. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #2 on Thu 02 Feb 2006 08:53 PM (UTC) |
Message
| I think the main attraction is to not have the registry at all. You might not have admin rights to import into the registry on the other computer. So, the idea to have a completely self-contained program on the portable drive (e.g. USB "key-chain" drive). But since, as you point out, most changing settings aren't in the registry, the problem isn't so bad for MUSHclient. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Thu 02 Feb 2006 10:08 PM (UTC) |
Message
| Agreed in principle, however I thought one of the purposes of the Registry was to store user-specific information, hence HKEY_CURRENT_USER.
One problem I had when trying to do away with the registry, is where do you store the location of the XML file that has the global data, if it isn't in the Registry? There is a chicken-and-egg situation there. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #4 on Thu 02 Feb 2006 10:28 PM (UTC) |
Message
| I think that the Mozilla programs use profiles for that. When you launch the program, you pick the data files from the profile. I think what DOES get stored in the registry is stuff like, which profile is the default? If there's no default profile, it prompts you to point you to a profile. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Zhamel
USA (67 posts) Bio
|
Date
| Reply #5 on Fri 03 Feb 2006 01:59 PM (UTC) |
Message
|
Quote: One problem I had when trying to do away with the registry, is where do you store the location of the XML file that has the global data, if it isn't in the Registry? There is a chicken-and-egg situation there.
That's understandable. You could store the info in the MUSHclient directory. Ksilyan is correct that my main point is to be able to take MUSHclient anywhere with me and not have to worry about leaving behind "traces" of me being there. I travel quite a bit and I usually end up work on a system somewhere for several hours. I MUD to make the time go by durring slow times.
If you want an example to look at for how it's done, peel open the Portable FileZilla FTP program. It has an option of storing program information in the Registry or in a XML file in the program directory. I use that, Portable Firefox, Portable Open Office, Portable GAIM, and sometimes Portable NVU. All of these I got from the PortableApps.com site. Because I work on company computers, and sometimes client computers, I don't want to leave behind a bunch of info that should not be there. The programs I use at work were made with portability in mind. It only makes sense to want everything I use regularly the same :P
Having all my most used applications availible on an external hard drive for easy access has been so very useful. If I can help out with anything, if you decide to go with this idea, I'll do what I can to make it go as easy as possible. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
16,287 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top