Translated version of http derjulian net projects roboking
rliuslxn