This patch modifies LambdaMOO (patched with db_options) to
convert a normal database file to a readable, diff-able format.
An example use would be to compare changes made between an
old and new core to patch an existing MOO based on the old one.
The convertor will *only* write to files ending with .moo, to
prevent accidental overwriting of the real database (which will
usually end with .db or .db.new).
Logged In: YES
user_id=25634
The patch is missing the one new file. Will add soon. (I deleted the
development dir after making the patch, so I may need to rewrite it)
diff_database_conversion for LambdaMOO 1.8.1 w/ db_options
Logged In: YES
user_id=25634
Fixed and made a new patch including the missing file (which I had to
rewrite).
I also added a bit not in the original:
- Output is more diff-friendly, using player names when possible and
reducing objid references (since obj #s often change in core releases)
- diff-db script to automaticly convert two databases and run diff on
them. Syntax: diff-db one.db two.db [diff-options]
- diff-db will remove object_size properties since they will often change
without anyone caring
diff_database_conversion for GammaMOO 1.8.1g2 w/ db_options
Logged In: YES
user_id=25634
Another version of the patch. This one is designed for GammaMOO, but
might apply to other patched-up MOOs. Either way, both of them
together should be a good reference for someone wanting to port it to
their patched server.