#
# Adds a raw file (created with hubread) to your /save db, and preserves
# the age of game value.
#
# Execute from the /db directory.
#
# Use:   addarea [raw file to add]
#
# Place new raw file in your db.

#

hubdrv -mqe tmp.act
cat $2 >> tmp.act
mv  save/root.o root.oo
hubdrv -cqe tmp.act
mv root.oo save/root.o
rm tmp.act

echo "Done."