Play only with copies of games you own. Emulation communities provide tools and documentation, but legality varies by jurisdiction.