Copy XBMC settings?

I had a previous installation of XBMC on my aTV and I would like to copy all of my settings over to a new aTVFlash install. I will do a factory reset before install. The question is, what files do I need to copy over to keep my XBMC settings? I noticed a .XBMC folder but couldn’t find any settings files inside that looked like they would be relevent (except for maybe the addons). Any help would be welcome.