Пример #1
0
 def __init__(self, fsgc, vanilla=False):
     super().__init__(fsgc)
     if vanilla:
         self.emulator = Emulator("mednafen")
     else:
         self.emulator = Emulator("mednafen-fs")
     self.save_handler = MednafenSaveHandler(self.fsgc,
                                             options=self.options)
Пример #2
0
 def __init__(self, fsgc, fsemu=False):
     super().__init__(fsgc)
     self.fsemu = fsemu
     if fsemu:
         self.emulator = Emulator("mame-fs")
     else:
         self.emulator = Emulator("mame")
     self.mame_init()
Пример #3
0
 def __init__(self, fsgc, vanilla=False, fsemu=True):
     super().__init__(fsgc)
     if vanilla or not fsemu:
         self.emulator = Emulator("mednafen")
     else:
         self.emulator = Emulator("mednafen-fs")
     self.save_handler = MednafenSaveHandler(self.fsgc,
                                             options=self.options)
     # self._game_files_added = False
     self.palette_dir = self.temp_dir("mednafen-palette")
Пример #4
0
    def __init__(self, fsgc):
        super().__init__(fsgc)
        self.temp_config_file = None
        self.launch_handler = None

        emulator = self.options[Option.AMIGA_EMULATOR]
        if emulator == "fs-uae-3.0":
            self.emulator = Emulator("fs-uae-3.0")
        elif emulator == "fs-uae-2.8":
            self.emulator = Emulator("fs-uae-2.8")
        else:
            self.emulator = Emulator("fs-uae")
Пример #5
0
 def __init__(self, fsgc):
     super().__init__(fsgc)
     self.helper = NintendoDSHelper(self.options)
     self.emulator = Emulator(
         "desmume", path=self.options[Option.DESMUME_PATH]
     )
     self.emulator.allow_home_access = True
Пример #6
0
    def __init__(self, fsgc, libretro_core, retroarch_state_dir):
        super().__init__(fsgc)
        # self.temp_root.root = TempRoot("/home/frode/Temp2")
        # self.emulator = Emulator("retroarch-fs")
        self.emulator = Emulator("retroarch",
                                 path=self.options[Option.RETROARCH_PATH])
        # self.emulator.allow_home_access = True
        # self.emulator.allow_system_emulator = True
        # self.libretro_core = "no_core_specified"
        self.system_dir = self.temp_dir("system")
        self.save_handler = RetroArchSaveHandler(self.fsgc,
                                                 options=self.options,
                                                 emulator=retroarch_state_dir)
        # self.retroarch_state_dir = None

        self.libretro_core = libretro_core
        self.retroarch_state_dir = retroarch_state_dir
        # Dictionary with key-values which will be written to retroarch.cfg
        self.retroarch_config_file = self.temp_file("retroarch.cfg")
        self.retroarch_config = {}
        # FIXME
        self.retroarch_core_config = {}
        self.retroarch_video_driver = None

        self.retroarch_remap_core = None
Пример #7
0
    def __init__(self, fsgc):
        super().__init__(fsgc)
        self.helper = NintendoDSHelper(self.options)
        self.emulator = Emulator(
            "melonDS", path=self.options[Option.MELONDS_PATH]
        )
        self.emulator.allow_home_access = True

        os.path.join(self.cwd.path, "bios7.bin")
        os.path.join(self.cwd.path, "bios9.bin")
        os.path.join(self.cwd.path, "firmware.bin")
Пример #8
0
    def __init__(self, fsgc, libretro_core, retroarch_state_dir):
        super().__init__(fsgc)
        self.emulator = Emulator("retroarch-fs")
        # self.emulator.allow_system_emulator = True
        # self.libretro_core = "no_core_specified"
        self.system_dir = self.temp_dir("system")
        self.save_handler = RetroArchSaveHandler(
            self.fsgc, options=self.options, emulator=retroarch_state_dir)
        # self.retroarch_state_dir = None

        self.libretro_core = libretro_core
        self.retroarch_state_dir = retroarch_state_dir
        # Dictionary with key-values which will be written to retroarch.cfg
        self.retroarch_config_file = self.temp_file("retroarch.cfg")
        self.retroarch_config = {}
        # FIXME
        self.retroarch_core_config = {}
Пример #9
0
 def __init__(self, fsgs):
     super().__init__(fsgs)
     # self.emulator = Emulator("mupen64plus")
     self.emulator = Emulator("mupen64plus", path="/usr/games/mupen64plus")
     # self.emulator.allow_system_emulator = True
     self.helper = Nintendo64Helper(self.options)
Пример #10
0
 def __init__(self, fsgs):
     super().__init__(fsgs)
     self.emulator = Emulator("higan")
     self.emulator.allow_system_emulator = True
     self.helper = NintendoHelper(self.options)
Пример #11
0
 def __init__(self, fsgc):
     super().__init__(fsgc)
     self.emulator = Emulator("mednafen-fs")
     self.save_handler = MednafenSaveHandler(self.fsgc,
                                             options=self.options)
Пример #12
0
 def __init__(self, fsgc):
     super().__init__(fsgc)
     self.helper = NintendoDSHelper(self.options)
     self.emulator = Emulator("desmume")
     self.emulator.allow_system_emulator = True
Пример #13
0
 def __init__(self, fsgs):
     super().__init__(fsgs)
     self.emulator = Emulator("dolphin-emu")
     self.emulator.allow_system_emulator = True
Пример #14
0
 def __init__(self, fsgs):
     super().__init__(fsgs)
     self.emulator = Emulator("mame-fs")
     self.mame_init()