While you can play CHD files in mame on PI, none on the versions of mame will play KI or KI 2…Mame is designed to emulator the original hardware as accurately as possible, not as fast as possible, which is why even very old simple games sometimes struggle on it. PI doesn’t have enough power to run Mame at a fast enough speed to make up for its design with CHD games. Only hope is for someone to port the standalone KI emu.