D'Arsay
The D'Arsay were an alien race that built the D'Arsay Archive over 87 million years ago. The archive was discovered by the crew of the USS Enterprise-D in the center of a rogue comet in 2370. The archive contained records of artifacts and personalities from D'Arsay mythology. Using the ship's replicator, the archive transformed part of the ship into the setting of an epic drama involving Masaka, a sun goddess. The archive also altered the positronic brain programming of Lt. Commander Data to portray several characters from the D'Arsay myth. Among the D'Arsay characters portrayed by Data were a D'Arsay boy, Ihat, Masaka, a victim, and an elder who was Masaka's father. The archive transformed parts of the Enterprise-D into an aqueduct, a swamp, and a temple. It also filled a Photon Torpedo with snakes, and turned engineering into a fiery inferno. Captain Picard portrayed himself as Korgano, another D'Arsay mythic figure, in order to convince the archive to return the ship and Data back to their normal states. (TNG: "Masks")