The code and facts of the game are generally provided to the emulator through a ROM file (a copy of game cartridge facts) or an ISO impression (a duplicate of optical media).[citation required] Though emulation softwares by themselves are lawful provided that they do not infringe copyright protections to the console,[2][3] emulating games is barely