Exemplo n.º 1
0
        /// <summary>
        /// Default constructor
        /// </summary>
        /// <param name="game">The game</param>
        protected RMBaseCNTExplorerUtility(Games game)
        {
            // Get the game install directory
            var installDir = game.GetInstallDir();

            // Set properties
            var archiveFiles = new FileSystemPath[]
            {
                installDir + "FishBin" + "tex32.cnt",
                installDir + "FishBin" + "vignette.cnt",
                installDir + "MenuBin" + "tex32.cnt",
                installDir + "MenuBin" + "vignette.cnt",
                installDir + "TribeBin" + "tex32.cnt",
                installDir + "TribeBin" + "vignette.cnt",
            };

            ViewModel = new BaseOpenSpaceCNTExplorerUtilityViewModel(GameMode.RaymanMPC, archiveFiles);
        }
        /// <summary>
        /// Default constructor
        /// </summary>
        /// <param name="game">The game</param>
        /// <param name="gameMode">The game mode</param>
        protected R2BaseCNTExplorerUtility(Games game, OpenSpaceGameMode gameMode)
        {
            // Get the game install directory
            var installDir = game.GetInstallDir();

            // Set properties
            var archiveFiles = new FileSystemPath[]
            {
                // Demo
                installDir + "BinData" + "Textures.cnt",

                // Retail
                installDir + "Data" + "Textures.cnt",
                installDir + "Data" + "Vignette.cnt",
            };

            ViewModel = new BaseOpenSpaceCNTExplorerUtilityViewModel(gameMode, archiveFiles);
        }
        /// <summary>
        /// Default constructor
        /// </summary>
        /// <param name="game">The game</param>
        protected R3BaseCNTExplorerUtility(Games game)
        {
            // Get the game install directory
            var installDir = game.GetInstallDir();

            // Set properties
            var archiveFiles = new FileSystemPath[]
            {
                // Demo
                installDir + "Gamedatabin" + "tex32.cnt",

                // Retail
                installDir + "Gamedatabin" + "tex32_1.cnt",
                installDir + "Gamedatabin" + "tex32_2.cnt",

                // Loading screen images
                installDir + "Gamedatabin" + "vignette.cnt",
            };

            ViewModel = new BaseOpenSpaceCNTExplorerUtilityViewModel(GameMode.Rayman3PC, archiveFiles);
        }