The Ruins of Alph code by Mastermind_X released with permission.