Example #1
0
        private void _setmovietype()
        {
            switch (FileExt)
            {
            case "fcm":
                _type       = _movietypes.fcm;
                _hashstart  = 0x20;
                _hashlength = 16;
                CommandLine = "-playmovie \"{0}\" \"{1}\"";
                break;

            case "vbm":
                _type       = _movietypes.vbm;
                _hashstart  = 0x24;
                _hashlength = 12;
                CommandLine = "-rom \"{1}\" -play \"{0}\" 1";
                break;

            case "m64":
                _unsupported = true;
                _type        = _movietypes.m64;
                _hashstart   = 0xE4;
                _hashlength  = 4;
                break;

            case "smv":
                _unsupported = true;
                _type        = _movietypes.smv;
                _hashstart   = 0x23;
                _hashlength  = 4;
                break;

            default:
                Program.fatal("Unknown movie format.");
                break;
            }
        }
Example #2
0
		private void _setmovietype() {
			switch (FileExt) {
				case "fcm":
					_type = _movietypes.fcm;
					_hashstart = 0x20;
					_hashlength = 16;
					CommandLine = "-playmovie \"{0}\" \"{1}\"";
					break;
				case "vbm":
					_type = _movietypes.vbm;
					_hashstart = 0x24;
					_hashlength = 12;
					CommandLine = "-rom \"{1}\" -play \"{0}\" 1";
					break;
				case "m64":
					_unsupported = true;
					_type = _movietypes.m64;
					_hashstart = 0xE4;
					_hashlength = 4;
					break;
				case "smv":
					_unsupported = true;
					_type = _movietypes.smv;
					_hashstart = 0x23;
					_hashlength = 4;
					break;
				default:
					Program.fatal("Unknown movie format.");
					break;
			}
		}