Esempio n. 1
0
        protected override void SetMitm()
        {
            var basePath = Path.GetDirectoryName(ROM.RomFS);
            var redirect = Path.Combine(basePath, TitleID);

            FileMitm.SetRedirect(basePath, redirect);
        }
Esempio n. 2
0
        protected override void SetMitm()
        {
            var basePath = Path.GetDirectoryName(ROM.RomFS);
            var tid      = ROM.ExeFS != null ? TitleID : "0100ABF008968000"; // no way to differentiate without exefs, so default to Sword
            var redirect = Path.Combine(basePath, tid);

            FileMitm.SetRedirect(basePath, redirect);
        }
Esempio n. 3
0
        protected override void SetMitm()
        {
            var basePath = Path.GetDirectoryName(ROM.RomFS);
            var tid      = ROM.ExeFS != null ? TitleID : "arceus";
            var redirect = Path.Combine(basePath, tid);

            FileMitm.SetRedirect(basePath, redirect);
        }
Esempio n. 4
0
        protected override void SetMitm()
        {
            var basePath = Path.GetDirectoryName(ROM.RomFS);

            ActualGame = !IsSword ? GameVersion.SH : GameVersion.SW;
            var redirect = Path.Combine(basePath, TitleID);

            FileMitm.SetRedirect(basePath, redirect);
        }
Esempio n. 5
0
        protected override void SetMitm()
        {
            var        basePath = Path.GetDirectoryName(ROM.RomFS);
            const bool shield   = false; // todo

            ActualGame = shield ? GameVersion.SH : GameVersion.SW;
            var redirect = Path.Combine(basePath, TitleID);

            FileMitm.SetRedirect(basePath, redirect);
        }
Esempio n. 6
0
        protected override void SetMitm()
        {
            var basePath = Path.GetDirectoryName(ROM.RomFS);
            // unlike SWSH, LGPE has a unique opening movie in romfs to differentiate between versions
            bool eevee = Directory.Exists(Path.Combine(PathRomFS, "bin", "movies", "EEVEE_GO"));

            ActualGame = eevee ? GameVersion.GE : GameVersion.GP;
            var redirect = Path.Combine(basePath, TitleID);

            FileMitm.SetRedirect(basePath, redirect);
        }
Esempio n. 7
0
        protected override void SetMitm()
        {
            var basePath = Path.GetDirectoryName(ROM.RomFS);
            // todo var eeveevidpath = Path.Combine(ROM.RomFS, Path.Combine("bin", "movies", "EEVEE_GO"));
            bool shield = false; // todo Directory.Exists(eeveevidpath);

            ActualGame = shield ? GameVersion.SH : GameVersion.SW;
            var redirect = Path.Combine(basePath, TitleID);

            FileMitm.SetRedirect(basePath, redirect);
        }
Esempio n. 8
0
        public GameManagerGG(GameLocation rom, int language) : base(rom, language)
        {
            var  basePath     = Path.GetDirectoryName(rom.RomFS);
            var  eeveevidpath = Path.Combine(rom.RomFS, Path.Combine("bin", "movies", "EEVEE_GO"));
            bool eevee        = Directory.Exists(eeveevidpath);

            ActualGame = eevee ? GameVersion.GE : GameVersion.GP;
            var redirect = Path.Combine(basePath, TitleID);

            // get pikachu vs eevee
            FileMitm.SetRedirect(basePath, redirect);
        }
Esempio n. 9
0
        protected override void SetMitm()
        {
            var  basePath     = Path.GetDirectoryName(ROM.RomFS);
            var  eeveevidpath = Path.Combine(ROM.RomFS, Path.Combine("bin", "movies", "EEVEE_GO"));
            bool eevee        = Directory.Exists(eeveevidpath);

            ActualGame = eevee ? GameVersion.GE : GameVersion.GP;
            var redirect = Path.Combine(basePath, TitleID);

            // get pikachu vs eevee
            FileMitm.SetRedirect(basePath, redirect);
        }