You must own a legal copy of the game to "rip" the files for use on an emulator.