Easy way to add samples and art?

is there an easy way to do this? i have root access, but where to put the folders for a general mame or would i need 2 seperate folders for 2 cores?