[Home] [Downloads] [Search] [Help/forum]


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, 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.
 Entire forum ➜ MUSHclient ➜ General ➜ Opening log files on Windows 7.

Opening log files on Windows 7.

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


Pages: 1  2 

Posted by Kobold   (5 posts)  Bio
Date Reply #15 on Fri 13 Nov 2009 09:43 AM (UTC)
Message
Another way to see those files:

In your Windows Explorer screenshot, see that button marked "Compatibility Files" below the address bar between "Share with" and "New Folder"? Click that. :)

---

All in all, I think it would be a good move if we start moving most of the data files to per user accounts, or else %ProgramData%, which is the equivalent global store. The global store makes more sense for scripts and plugins, but its only writable without UAC escalation by administrators (not by unprivileged users). Most people run as administrators on Windows, though. %APPDATA% is probably the best call.

The officially sanctioned way to do this seems to be SHGetKnownFolderPath (http://msdn.microsoft.com/en-us/library/bb762188(VS.85).aspx) with a KNOWNFOLDERID that's one of these: http://msdn.microsoft.com/en-us/library/dd378457(VS.85).aspx

What's necessary is a small patch to MUSHClient to look for its worlds, logs, spelling stuff, prefs sqlite db,and MUSHClient.ini data in FOLDERID_RoamingAppData (%APPDATA%). Plugins should be moved so it's no longer under the worlds directory. Is there anything else that should be moved?

The other problematic bit is that there needs to be a bit of code in the installer that will perform a migration if necessary. I can probably do this patch if everyone considers it desirable, since I don't need to touch the Windows GUI stuff for it. =P
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #16 on Fri 13 Nov 2009 07:06 PM (UTC)
Message
There was a post by Nick about re-ordering the file structure somewhere, too. I agree and I think it should be done fairly soon, if possible. I've never dealt with the relevant functions though, and I'm still fairly new to the source, or I'd try a patch of my own.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #17 on Fri 13 Nov 2009 07:16 PM (UTC)
Message
It's an installer thing, I think. Already the program has various variables for where to look for things like logs, and you can change those locations in the GUI.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


62,415 views.

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

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

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]