diff --git a/ZuneModCore/Mod.cs b/ZuneModCore/Mod.cs index 4ee1a0b..de45f82 100644 --- a/ZuneModCore/Mod.cs +++ b/ZuneModCore/Mod.cs @@ -27,6 +27,8 @@ namespace ZuneModCore public abstract string Description { get; } + public abstract string Author { get; } + public virtual Task Init() => Task.CompletedTask; public abstract Task Apply(); diff --git a/ZuneModCore/Mods/FeaturesOverrideMod.cs b/ZuneModCore/Mods/FeaturesOverrideMod.cs index 7f89a44..6c53181 100644 --- a/ZuneModCore/Mods/FeaturesOverrideMod.cs +++ b/ZuneModCore/Mods/FeaturesOverrideMod.cs @@ -16,6 +16,8 @@ namespace ZuneModCore.Mods public override string Description => "Re-enables access to some features disabled by Microsoft, such as the Social and Marketplace tabs.\r\n" + "Does not restore functionality of those features, but shows them in the software."; + public override string Author => "Unknown"; + public override AbstractUIElementGroup OptionsUI => new(nameof(FeaturesOverrideMod)) { Title = "Select features:", diff --git a/ZuneModCore/Mods/VideoSyncMod.cs b/ZuneModCore/Mods/VideoSyncMod.cs index 8b86c01..ef21da1 100644 --- a/ZuneModCore/Mods/VideoSyncMod.cs +++ b/ZuneModCore/Mods/VideoSyncMod.cs @@ -15,6 +15,8 @@ namespace ZuneModCore.Mods public override string Description => "Resolves \"Error C00D11CD\" when attempting to sync video to a Zune device using Windows 10 1607 (Anniversary Update) or newer"; + public override string Author => "ส็็็Codix#4833"; + public override string Id => nameof(VideoSyncMod); public override AbstractUIElementGroup? OptionsUI => null; diff --git a/ZuneModCore/Mods/WebservicesMod.cs b/ZuneModCore/Mods/WebservicesMod.cs index aec62ad..e44c43b 100644 --- a/ZuneModCore/Mods/WebservicesMod.cs +++ b/ZuneModCore/Mods/WebservicesMod.cs @@ -9,10 +9,6 @@ namespace ZuneModCore.Mods { public class WebservicesMod : Mod { - private readonly byte[] ZUNE_4_8_VERSION_BYTES = - { - 0x34, 0x2E, 0x38 - }; private const int ZUNESERVICES_ENDPOINTS_BLOCK_OFFSET = 0x14D60; private const int ZUNESERVICES_ENDPOINTS_BLOCK_LENGTH = 0x884; @@ -23,6 +19,8 @@ namespace ZuneModCore.Mods public override string Description => "Partially restores online features such as the Marketplace by patching the Zune desktop software " + "to use the community's recreation of Microsoft's Zune servers at zunes.tk (instead of zune.net)."; + public override string Author => "Joshua \"Yoshi\" Askharoun"; + public override AbstractUIElementGroup? OptionsUI => null; public override IReadOnlyList? DependentMods => null; @@ -48,7 +46,7 @@ namespace ZuneModCore.Mods // Verify that the DLL is from v4.8 (other versions not tested) zsDllReader.BaseStream.Position = 0x12C824; - var versionBytes = zsDllReader.ReadBytes(ZUNE_4_8_VERSION_BYTES.Length * 2); + var versionBytes = zsDllReader.ReadBytes(6); if (versionBytes[0] != '4' || versionBytes[2] != '.' || versionBytes[4] != '8') { return Task.FromResult("This mod has not been tested on versions earlier than 4.8."); diff --git a/ZuneModdingHelper/MainWindow.xaml b/ZuneModdingHelper/MainWindow.xaml index d864773..6975cc1 100644 --- a/ZuneModdingHelper/MainWindow.xaml +++ b/ZuneModdingHelper/MainWindow.xaml @@ -29,12 +29,15 @@ - + + + + -