And oral history I'm sure. We will probably never know how advanced and widespread some of these ancient technologies are but the existence of artifacts that are far, far ahead of anything we would expect historically (e.g. Antikythera Mechanism, Gobekli Tepe) suggests there are some big, big holes in our records of the past.