Hi,
In Mountain Lion the Folder to start with is ~/Library/Messages (NOT iMessages)
This holds the Archive folder for all saved Chats (iMessages and Buddy list chats)
It also has several chat.db items.
The database items can be "transferred" to the the new Mac in the same Folder.
You are likely to have to change Ownership and Permissions on each. (this applies even if you are "Peter Kassel" on both computers as one computer can tell the file "belongs" somewhere else).
The Archive folder needs to end up in ~/Library/Containers/com.apple.ichat/Data/Library/Messages
You will need to replace the Archive folder already there and change Ownership and Permissions again AND then apply those changes to the contents.
Open a Finder window
Use the Go Menu whilst holding down the ALT key.
Select the Library from the Menu.
Navigate to ~/Library/Containers/com.apple.ichat/Data/Library/Messages
Move the Archive folder into the Messages folder.
Now Right Click the Archive Folder and choose the "Get Info " option
In the Info Panel that shows up scroll to the bottom.
Add the Shortname for your Mac User Account on this computer.
Give it Read and Write permissions.
Use the cogwheel icon below the list and then make your self the owner.
In this pic I already Own the file/folder.
As you can see I have had to unlock the padlock as well.
Once you are the Owner use the "Apply to enclosed items"
This will then change the ownership of all the Saved chats to your User account on this Mac.
Repeat for the ~/Library/Messages contents (the databases) one by one.
You will not have to do the contents change on this.
8:04 pm Saturday; February 1, 2014
iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad