Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesCJ60 committed Sep 21, 2024
1 parent 952d26d commit fe2d31f
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"PackageFilesAs" = "3:2"
"PackageFileSize" = "3:-2147483648"
"CabType" = "3:1"
"Compression" = "3:1"
"Compression" = "3:3"
"SignOutput" = "11:FALSE"
"CertificateFile" = "8:"
"PrivateKeyFile" = "8:"
Expand All @@ -84,7 +84,7 @@
{
"Enabled" = "11:TRUE"
"PromptEnabled" = "11:TRUE"
"PrerequisitesLocation" = "2:2"
"PrerequisitesLocation" = "2:1"
"Url" = "8:"
"ComponentsUrl" = "8:"
"Items"
Expand Down Expand Up @@ -213,15 +213,15 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Universal x86 Tuning Utility"
"ProductCode" = "8:{D8DBFB26-1972-4148-A20A-951535CA476C}"
"PackageCode" = "8:{8CE63B7A-F9DE-441C-B834-3EE87C99A032}"
"ProductCode" = "8:{47F1503E-5750-41C2-8EBC-23BE8998638B}"
"PackageCode" = "8:{282393D4-31BA-4D35-B285-B41427C00612}"
"UpgradeCode" = "8:{300E743A-4C69-440D-9425-14C446AB2658}"
"AspNetVersion" = "8:"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:2.3.1"
"ProductVersion" = "8:2.3.2"
"Manufacturer" = "8:JamesCJ60"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"
Expand Down
2 changes: 1 addition & 1 deletion Universal x86 Tuning Utility/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static T GetService<T>()
return _host.Services.GetService(typeof(T)) as T;
}

public static string version = "2.3.1";
public static string version = "2.3.2";
private Mutex mutex;
private const string MutexName = "UniversalX86TuningUtility";

Expand Down
13 changes: 12 additions & 1 deletion Universal x86 Tuning Utility/Scripts/AMD Backend/RyzenSmu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,18 @@ private static void Socket_FT6_FP7_FP8()
RyzenSmu.Smu.PSMU_ADDR_RSP = 0x3B10570;
RyzenSmu.Smu.PSMU_ADDR_ARG = 0x3B10A40;
}
else {
else if(Family.FAM >= Family.RyzenFamily.StrixPoint)
{
RyzenSmu.Smu.MP1_ADDR_MSG = 0x3b10928;
RyzenSmu.Smu.MP1_ADDR_RSP = 0x3b10978;
RyzenSmu.Smu.MP1_ADDR_ARG = 0x3b10998;

RyzenSmu.Smu.PSMU_ADDR_MSG = 0x3B10a20;
RyzenSmu.Smu.PSMU_ADDR_RSP = 0x3B10a80;
RyzenSmu.Smu.PSMU_ADDR_ARG = 0x3B10a88;
}
else
{
RyzenSmu.Smu.MP1_ADDR_MSG = 0x3B10528;
RyzenSmu.Smu.MP1_ADDR_RSP = 0x3B10578;
RyzenSmu.Smu.MP1_ADDR_ARG = 0x3B10998;
Expand Down
5 changes: 1 addition & 4 deletions Universal x86 Tuning Utility/Scripts/Family.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static async void setCpuFamily()

if (CPUModel == 113) FAM = RyzenFamily.Matisse;

if (CPUModel == 144) FAM = RyzenFamily.VanGogh;
if (CPUModel == 144 || CPUModel == 145) FAM = RyzenFamily.VanGogh;

if (CPUModel == 160) FAM = RyzenFamily.Mendocino;
}
Expand Down Expand Up @@ -158,9 +158,6 @@ public static async void setCpuFamily()

Addresses.setAddresses();
}

//Clipboard.SetText(System.Environment.GetEnvironmentVariable("PROCESSOR_IDENTIFIER").ToString());
//MessageBox.Show(CPUFamily.ToString() + " " + FAM.ToString());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,11 @@ private static string convertTDPToHexMSR(int tdp)
static string convertVoltageToHexMSR(int volt)
{
double hex = volt * 1.024;
volt = (int)Math.Round(hex) << 21;
return hex.ToString("X");
int result = (int)Math.Round(hex) << 21;
return result.ToString("X");
}



static string convertClockToHexMMIO(int value)
{
value /= 50;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<UseWindowsForms>True</UseWindowsForms>
<SignAssembly>False</SignAssembly>
<Copyright>© UXTU Team 2020 - 2024</Copyright>
<AssemblyVersion>2.3.1</AssemblyVersion>
<FileVersion>2.3.1</FileVersion>
<AssemblyVersion>2.3.2</AssemblyVersion>
<FileVersion>2.3.2</FileVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<SupportedOSPlatformVersion>10.0.22621.0</SupportedOSPlatformVersion>
<Version>2.3.1</Version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<TextBlock
FontSize="18"
Foreground="#B7FFFFFF"
Text="V2.3.1 Stable" />
Text="V2.3.2 Stable" />
<ui:Button
Name="btnPremade"
Height="36"
Expand Down

0 comments on commit fe2d31f

Please sign in to comment.