Ultima Underworld 2
This game takes place between Ultima 7: The Black Gate and Ultima 7: Serpent Isle. You are in Britannia in Lord British castle when the whole castle is imprisoned by a dome of blackrock created by the Guardian. While searching for a way out you find a gateway to other world below the caste and you travel to them to find something to destroy the dome over the castle.