def update_system(system, source_set, update_roms=True, action="copy", three_d=False, fe="HyperSpin", update_rl_media=False): # Build ROMs of missing ROMs platform = System(system=system) if update_roms: emu = EmuMovies(system=system) emu.create_blanks() if len(source_set) == 0: curated_sets = platform.tosec_dirs( ) + platform.software_lists + platform.nointro + platform.goodset platform.build_rom_set(source_set=curated_sets) else: platform.build_rom_set(source_set=source_set) # Update the Media if update_rl_media: rl = RocketLauncher(system=system) rl.set_up_media(action="link") if fe == "HyperSpin" or fe == "all": hs = HyperSpin(system=system) hs.update_system(update_roms=update_roms, action=action, three_d=three_d) elif fe == "RetroFE" or fe == "all": pass elif fe == "MaLa" or fe == "all": pass
def create_system(system, fe="HyperSpin"): rl = RocketLauncher(system=system) rl.new_system() dont_search = [ "Commodore 64", "Commodore VIC-20", "MAME", "Sega CD", "Sega Dreamcast", "Nintendo DS", "Sony PlayStation" ] # Build ROM set platform = System(system=system) if system in dont_search: curated_sets = platform.software_lists + platform.nointro + platform.goodset else: curated_sets = platform.tosec_dirs( ) + platform.software_lists + platform.nointro + platform.goodset platform.build_rom_set(source_set=curated_sets) emu = EmuMovies(system=system) emu.create_blanks() # Set up Media rl.set_up_media(action="link") if fe == "HyperSpin" or fe == "all": hs = HyperSpin(system=system) hs.new_system(action="link", three_d=False) elif fe == "RetroFE" or fe == "all": pass elif fe == "MaLa" or fe == "all": pass