public override void Play() { Class67.smethod_10(); this.DownloadSharedFont(); foreach (GClass32 archive in GClass28.list_0) { this.DownloadArchive(archive); } this.PrepareRomIfNecessary(false); this.method_8(this.GetArguments()); }
protected override void PrepareRomIfNecessary(bool directDownload) { Class67.smethod_10(); if (this.Boolean_2 || this.gclass30_0.Platform != Platform.GameBoy_Color && this.gclass30_0.Platform != Platform.GameBoy) { return; } this.gclass30_0.method_4(this.CurrentGamePath, true, false, false); File.Move(new DirectoryInfo(Path.Combine(this.CurrentGamePath, "romfs", "rom")).GetFiles()[0].FullName, this.GetRom()); this.method_12(true); }
protected override void PrepareRomIfNecessary(bool directDownload) { Class67.smethod_10(); if (this.Boolean_2 || this.gclass30_0.System != GEnum3.const_1) { return; } IEnumerable <GClass12> ienumerable_0 = this.gclass30_0.method_15().Files.Where <GClass12>((Func <GClass12, bool>)(x => x.string_1 == "rom.zip")); Directory.CreateDirectory(Path.Combine(this.CurrentGamePath, "content", "0010")); this.gclass30_0.method_16(this.String_5, true, directDownload, ienumerable_0, true); }
protected override void PrepareRomIfNecessary(bool directDownload) { Class67.smethod_10(); if (this.bool_0 && !Cemu._gPackApplied) { GClass2.smethod_0(); Cemu._gPackApplied = true; } base.PrepareRomIfNecessary(directDownload); this.PrepareUpdateIfNecessary(directDownload); this.PrepareDlcIfNecessary(directDownload); }
protected override void PrepareRomIfNecessary(bool directDownload) { Class67.smethod_10(); if (this.Boolean_2) { return; } switch (this.gclass30_0.System) { case GEnum3.const_1: this.gclass30_0.method_16(this.CurrentGamePath, false, false, (IEnumerable <GClass12>)null, false); Class81.smethod_2(Path.Combine(this.CurrentGamePath, "content")); this.method_12(true); break; case GEnum3.const_3: this.gclass30_0.method_10(this.CurrentGamePath, "game.wad"); break; default: throw new ArgumentException("This game cannot be used with Dolphin!"); } }