Register forum user name Search FAQ

Gammon Forum

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.

portable MUSHclient.

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2  3 

Posted by Whitchek   (4 posts)  Bio
Date Reply #30 on Tue 05 May 2009 09:15 PM (UTC)
Message
Ah, okay, hadn't noticed that change. The one thing I still don't see... how to do relative paths for the directories?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #31 on Wed 06 May 2009 09:21 PM (UTC)
Message
What directories do you have in mind?

See this lengthy thread:

http://www.gammon.com.au/forum/?id=7776

If you specify the plugins directory (say) as a relative path, then MUSHclient changes the ./ part of the pathname to be relative to the directory MUSHclient started up in.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Whitchek   (4 posts)  Bio
Date Reply #32 on Thu 07 May 2009 08:32 PM (UTC)
Message
How do I go about that? I was going to try just typing a relative path in to see if it worked, but I can't seem to find a way to type a path in at all. It just comes up with a box asking me to browse for the folder.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #33 on Sat 09 May 2009 01:51 AM (UTC)
Message
You would need to use the sqlite3 program offline (ie. while the client is not running) to change the global preferences database. For example:


sqlite3 mushclient_prefs.sqlite

sqlite> UPDATE prefs SET value = './blahblah' WHERE name = 'PluginsDirectory';

sqlite> .exit


You can get that program from:

http://www.sqlite.org/download.html

Look for "Precompiled Binaries For Windows" -> "A command-line program for accessing and modifying SQLite version 3.* databases.".

At present that is: http://www.sqlite.org/sqlite3-3.6.14.bin.gz

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Whitchek   (4 posts)  Bio
Date Reply #34 on Sat 09 May 2009 05:13 AM (UTC)
Message
And I'm supposed to do that every time? It seems kind of... overinvolved, just to change a directory. I really dislike the idea of having to be messing with SQL stuff. That's why I was hoping here for a program that could handle it.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #35 on Sat 09 May 2009 10:02 PM (UTC)
Message
No, you do it once. You haven't answered my question about which directory you need to have a relative path to. Perhaps I am answering the wrong question.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Bast   (78 posts)  Bio
Date Reply #36 on Wed 13 May 2009 03:26 PM (UTC)
Message
I have created a page explaining how to create a portable aardwolf mushclient.

http://code.google.com/p/bastmush/wiki/PortableMushclient

The part that you really want to pay attention to is the editing of the mushclient_prefs.sqlite database.

Bast/Eric

Bast

Scripts: http://github.com/endavis
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.


144,352 views.

This is page 3, subject is 3 pages long:  [Previous page]  1  2  3 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.