From 0c086dd725c14c47fa9c5e942681c24562dcbe56 Mon Sep 17 00:00:00 2001 From: Yoshi Askharoun Date: Thu, 13 Jun 2024 17:46:43 -0500 Subject: [PATCH] Use ZuneDev --- ZuneShell.sln | 2 +- ZuneShell/Microsoft/Zune/Shell/ZuneApplication.cs | 5 ++++- ZuneShell/ZuneShell.csproj | 2 +- libs/MicrosoftIris | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ZuneShell.sln b/ZuneShell.sln index b169906..585e919 100644 --- a/ZuneShell.sln +++ b/ZuneShell.sln @@ -23,7 +23,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Directory.Build.props = Directory.Build.props EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UIX.Asm", "..\..\yoshiask\ZuneUIXTools\libs\UIX.Asm\UIX.Asm.csproj", "{9589AAC1-D006-4985-87BD-960F90867482}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UIX.Asm", "..\..\ZuneDev\ZuneUIXTools\libs\UIX.Asm\UIX.Asm.csproj", "{9589AAC1-D006-4985-87BD-960F90867482}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/ZuneShell/Microsoft/Zune/Shell/ZuneApplication.cs b/ZuneShell/Microsoft/Zune/Shell/ZuneApplication.cs index 22eb26b..101daeb 100644 --- a/ZuneShell/Microsoft/Zune/Shell/ZuneApplication.cs +++ b/ZuneShell/Microsoft/Zune/Shell/ZuneApplication.cs @@ -544,7 +544,10 @@ namespace Microsoft.Zune.Shell var dis = Iris.Asm.Disassembler.Load(loadResult); var source = dis.Write(); watch.Stop(); - File.WriteAllText(@"D:\Documents\REProj\Zune\UIXA\" + Path.GetFileNameWithoutExtension(e.Uri) + ".uixa", source); + + string disasmPath = @"C:\Users\jjask\Documents\Dump\Zune\" + Path.GetFileNameWithoutExtension(e.Uri) + ".uixa"; + Debug.WriteLine($"Took {watch.ElapsedMilliseconds} ms to write to {disasmPath}"); + File.WriteAllText(disasmPath, source); } private static void ErrorReportHandler(Error[] errors) diff --git a/ZuneShell/ZuneShell.csproj b/ZuneShell/ZuneShell.csproj index 753f572..18b9556 100644 --- a/ZuneShell/ZuneShell.csproj +++ b/ZuneShell/ZuneShell.csproj @@ -36,7 +36,7 @@ C:\Program Files\Zune\ZuneDBApi.dll - + diff --git a/libs/MicrosoftIris b/libs/MicrosoftIris index b0d5209..d6e3713 160000 --- a/libs/MicrosoftIris +++ b/libs/MicrosoftIris @@ -1 +1 @@ -Subproject commit b0d5209f07e29c1acc00c993d0b3ea12a4d6a83f +Subproject commit d6e3713ccde288178f7374b9ddb8bf2e6d50a7fa