|
| 1 | +To make stand-alone .zip file see: |
| 2 | + |
| 3 | +http://www.gammon.com.au/forum/bbshowpost.php?id=9662 |
| 4 | + |
| 5 | +Basically this: |
| 6 | + |
| 7 | + |
| 8 | + ** Remove MUSHclient from the Registry in case you have been testing earlier versions |
| 9 | + |
| 10 | + Then: |
| 11 | + |
| 12 | + Use the installer to make a copy of MUSHclient on the desktop |
| 13 | + |
| 14 | + Open MUSHclient (the installer offers to do this) |
| 15 | + |
| 16 | + Wait for the spell check dictionary to be built (about 2 seconds) |
| 17 | + |
| 18 | + Close the various welcome and help dialogs |
| 19 | + |
| 20 | + Move the program around on the screen, and resize the main window, to taste |
| 21 | + |
| 22 | + Change any global prefs you might want, like "Notify (errors) to output window", and "confirm before closing MUSHclient". |
| 23 | + |
| 24 | + If you were making a custom client for a particular MUD, this would be the time to add a world file for your MUD, with the IP address, port and MUD name preconfigured. You might also add it to the global preferences "worlds to open at startup". |
| 25 | + |
| 26 | + Also install any plugins that you might require, and load them into your preconfigured world file. |
| 27 | + |
| 28 | + Close MUSHclient so screen positions and toolbar locations would be written to mushclient_prefs.sqlite and MUSHclient.ini. |
| 29 | + |
| 30 | + (Optional): I deleted a few files in the MUSHclient folder that I thought would confuse new users: |
| 31 | + |
| 32 | + |
| 33 | + mushclient.ico |
| 34 | + lua5.1.lib |
| 35 | + mushclient.gid |
| 36 | + uninstall.exe (not needed really since this is an installer-less version) |
| 37 | + |
| 38 | + |
| 39 | + Create a "logs" directory (maybe not required now) |
| 40 | + |
| 41 | + Use the "SQLite Database Browser" program (http://sqlitebrowser.sourceforge.net/) to edit a few entries in the "control" table to make relative pathnames (you can't do this inside the program as it saves full pathnames). Alternatively you could use the sqlite3.exe program in a "command" window to do the same thing. Get this from: http://www.sqlite.org/sqlite-3_6_16.zip |
| 42 | + |
| 43 | + This is how you would do it with the command-line version: |
| 44 | + |
| 45 | + |
| 46 | + sqlite3 C:\Documents and Settings\Owner\Desktop\MUSHclient\mushclient_prefs.sqlite |
| 47 | + |
| 48 | + UPDATE prefs SET value = '.\logs\' WHERE name = 'DefaultLogFileDirectory'; |
| 49 | + UPDATE prefs SET value = '.\worlds\' WHERE name = 'DefaultWorldFileDirectory'; |
| 50 | + UPDATE prefs SET value = '.\worlds\plugins\' WHERE name = 'PluginsDirectory'; |
| 51 | + UPDATE control SET value = 1 WHERE name = 'First time'; -- put first-time flag back |
| 52 | + .quit |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + In the "spell" subdirectory I deleted the 3.44 Mb file "spell.sqlite". That will be rebuilt when the player starts MUSHclient for the first time, and it adds somewhat to the .zip file size. |
| 57 | + |
| 58 | + Use WinZip or some compression program of your choice to make an archive of the resulting folder, making sure you preserve the directory structure. |
| 59 | + |
| 60 | + You now have a stand-alone distributable version! |
| 61 | + |
0 commit comments