Who wouldn't want a MUD on a thumdrive they can run from any computer!?!
Dare asked me about running tbaMUD on a thumb drive. I had never tried this so I did a bit of research and did not find a simple linux solution. There are a few websites that offer ubuntu desktop like penlinux.com but the ubuntu server install failed. I thought about VMWare, but I didn't want a complex solution so I fell back on my old faithful Cygwin.
The instructions are simple. Just go to www.cygwin.com and run their setup.exe. Install from Internet, choose your thumbdrive as the installation directory, leave default package directiory, leave default direct connection, and choose a mirror. When you get to the "select packages" section you do have to expand the devel group and add: "gcc-core C compiler" the "make: the GNU version of the make utility" and "subversion: a version control system" To add a package just click where it says "skip" and it will change to the current version number available.
You can rerun setup.exe at any time to add other packages like patchutils, etc.
Now open cygwin.bat from the thumbdrive, change directory to you thumbdrive (cd f: for me) and checkout the latest tbamud:
svn checkout http://tbamud.com/svn/circlemud/circlemud tbamud
(alternatively you can just download and uncompress tbamud-#.tgz from tbamud.com)
Checkout takes a while once complete:
cd tbamud
./configure
(wait for it, once complete)
cd src
make (q then enter to dismiss the license, wait for it again, once complete)
cd ..
bin/circle
Then point your MUD client of choice to localhost port 4000.
That is it. I was a bit disappointed with the speed. I haven't compiled a MUD that slowly in a decade, but it may just be my ancient thumbdrive. It is a sacrifice to be expected for portability.
Total time required: 2 hours (can you do better?)
It used 422MB on my 2GB thumb drive.
Please post in the comments below of your success, failures, and install time from thumb drive insert to tbaMUD login.
Comments
I called upon the powers of
I called upon the powers of Tiny Core linux. Thumb drive with tiny core, TinTin++ and Just the circle binary and the lib directory, ~35mbs, so with micro core( tiny's cli only sibling) should fit in a miniscule 32mbs. less then an hour from scratch, including downloads. Just watch out for persistance stuff TC is a live distro.
Such a cool idea! If you
Such a cool idea!
If you compile in Windows (Visual C, etc...), however, wouldn't you just need to put the MUD folder on the thumb drive, without needing to put cygwin on too?
Having never compiled a MUD in windows, or owned a thumb-drive, I could be wrong... ;)

It would indeed be far
It would indeed be far easier to compile in windows and just run the MUD from the USB drive.
To clarify though, Rumble's method compiles in cygwin, not in windows.
So it would need to take cygwin with it wherever it went; thus the need for cygwin on the USB drive.
However if you are going compile in windows, please see this thread.
http://www.tbamud.com/forum/thread/726
Also, at least one argument in favour of Rumble's Method:
-Certain commands don't work in windows, such as copyover, or export.
Ultimately I think cygwin is a "stronger" install, as it doesn't lose any tbamud functionality.
this is awesome man. great
this is awesome man. great work.
*GASP* I had a Good Idea!!!
*GASP* I had a Good Idea!!! Now I just have to get around to doing it.