mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d778838ad4 | ||
|
|
b177dacf8b | ||
|
|
6e9cc51a5f | ||
|
|
e2a6b770a0 | ||
|
|
055e83e976 | ||
|
|
40be93b60d |
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -20,9 +20,9 @@ jobs:
|
|||||||
- name: Publish
|
- name: Publish
|
||||||
run: |
|
run: |
|
||||||
dotnet publish app/GHelper.sln --configuration Release --runtime win-x64 -p:PublishSingleFile=true --no-self-contained
|
dotnet publish app/GHelper.sln --configuration Release --runtime win-x64 -p:PublishSingleFile=true --no-self-contained
|
||||||
powershell Compress-Archive app/bin/x64/Release/net7.0-windows8.0/win-x64/publish/GHelper.exe GHelper.zip
|
powershell Compress-Archive app/bin/x64/Release/net7.0-windows8.0/win-x64/publish/* GHelper.zip
|
||||||
- name: Upload
|
- name: Upload
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
gh release upload ${{ github.ref_name }} app/bin/x64/Release/net7.0-windows8.0/win-x64/publish/GHelper.exe GHelper.zip
|
gh release upload ${{ github.ref_name }} GHelper.zip
|
||||||
|
|||||||
@@ -106,8 +106,7 @@ public class AsusACPI
|
|||||||
public const int GPUModeStandard = 1;
|
public const int GPUModeStandard = 1;
|
||||||
public const int GPUModeUltimate = 2;
|
public const int GPUModeUltimate = 2;
|
||||||
|
|
||||||
|
public static int MaxTotal => AppConfig.ContainsModel("G513QY") ? 250 : 150;
|
||||||
public const int MaxTotal = 150;
|
|
||||||
public const int MinTotal = 5;
|
public const int MinTotal = 5;
|
||||||
public const int DefaultTotal = 125;
|
public const int DefaultTotal = 125;
|
||||||
|
|
||||||
|
|||||||
30
app/Fans.cs
30
app/Fans.cs
@@ -133,14 +133,14 @@ namespace GHelper
|
|||||||
labelFansResult.Visible = false;
|
labelFansResult.Visible = false;
|
||||||
|
|
||||||
|
|
||||||
trackUV.Minimum = -30;
|
trackUV.Minimum = Undervolter.MinCPUUV;
|
||||||
trackUV.Maximum = 0;
|
trackUV.Maximum = Undervolter.MaxCPUUV;
|
||||||
|
|
||||||
trackUViGPU.Minimum = -20;
|
trackUViGPU.Minimum = Undervolter.MinIGPUUV;
|
||||||
trackUViGPU.Maximum = 0;
|
trackUViGPU.Maximum = Undervolter.MaxIGPUUV;
|
||||||
|
|
||||||
trackTemp.Minimum = 75;
|
trackTemp.Minimum = Undervolter.MinTemp;
|
||||||
trackTemp.Maximum = 97;
|
trackTemp.Maximum = Undervolter.MaxTemp;
|
||||||
|
|
||||||
|
|
||||||
FillModes();
|
FillModes();
|
||||||
@@ -255,7 +255,9 @@ namespace GHelper
|
|||||||
|
|
||||||
int cpuUV = Math.Max(trackUV.Minimum, Math.Min(trackUV.Maximum, AppConfig.GetMode("cpu_uv", 0)));
|
int cpuUV = Math.Max(trackUV.Minimum, Math.Min(trackUV.Maximum, AppConfig.GetMode("cpu_uv", 0)));
|
||||||
int igpuUV = Math.Max(trackUViGPU.Minimum, Math.Min(trackUViGPU.Maximum, AppConfig.GetMode("igpu_uv", 0)));
|
int igpuUV = Math.Max(trackUViGPU.Minimum, Math.Min(trackUViGPU.Maximum, AppConfig.GetMode("igpu_uv", 0)));
|
||||||
int temp = Math.Max(trackTemp.Minimum, Math.Min(trackTemp.Maximum, AppConfig.GetMode("cpu_temp", 96)));
|
|
||||||
|
int temp = AppConfig.GetMode("cpu_temp");
|
||||||
|
if (temp < trackTemp.Minimum || temp > trackTemp.Maximum) temp = 96;
|
||||||
|
|
||||||
checkApplyUV.Enabled = checkApplyUV.Checked = AppConfig.IsMode("auto_uv");
|
checkApplyUV.Enabled = checkApplyUV.Checked = AppConfig.IsMode("auto_uv");
|
||||||
|
|
||||||
@@ -273,8 +275,7 @@ namespace GHelper
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void AdvancedScroll()
|
||||||
private void TrackUV_Scroll(object? sender, EventArgs e)
|
|
||||||
{
|
{
|
||||||
AppConfig.SetMode("auto_uv", 0);
|
AppConfig.SetMode("auto_uv", 0);
|
||||||
checkApplyUV.Enabled = checkApplyUV.Checked = false;
|
checkApplyUV.Enabled = checkApplyUV.Checked = false;
|
||||||
@@ -286,7 +287,12 @@ namespace GHelper
|
|||||||
AppConfig.SetMode("cpu_temp", trackTemp.Value);
|
AppConfig.SetMode("cpu_temp", trackTemp.Value);
|
||||||
AppConfig.SetMode("cpu_uv", trackUV.Value);
|
AppConfig.SetMode("cpu_uv", trackUV.Value);
|
||||||
AppConfig.SetMode("igpu_uv", trackUViGPU.Value);
|
AppConfig.SetMode("igpu_uv", trackUViGPU.Value);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void TrackUV_Scroll(object? sender, EventArgs e)
|
||||||
|
{
|
||||||
|
AdvancedScroll();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ComboModes_KeyPress(object? sender, KeyPressEventArgs e)
|
private void ComboModes_KeyPress(object? sender, KeyPressEventArgs e)
|
||||||
@@ -828,8 +834,10 @@ namespace GHelper
|
|||||||
|
|
||||||
trackUV.Value = 0;
|
trackUV.Value = 0;
|
||||||
trackUViGPU.Value = 0;
|
trackUViGPU.Value = 0;
|
||||||
AppConfig.SetMode("cpu_uv", 0);
|
trackTemp.Value = 96;
|
||||||
AppConfig.SetMode("igpu_uv", 0);
|
|
||||||
|
AdvancedScroll();
|
||||||
|
AppConfig.SetMode("cpu_temp", -1);
|
||||||
|
|
||||||
if (gpuVisible)
|
if (gpuVisible)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
||||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
<AssemblyVersion>0.88</AssemblyVersion>
|
<AssemblyVersion>0.89</AssemblyVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
|||||||
@@ -10,6 +10,16 @@ namespace Ryzen
|
|||||||
{
|
{
|
||||||
internal class Undervolter
|
internal class Undervolter
|
||||||
{
|
{
|
||||||
|
|
||||||
|
public const int MinCPUUV = -30;
|
||||||
|
public const int MaxCPUUV = 0;
|
||||||
|
|
||||||
|
public const int MinIGPUUV = -20;
|
||||||
|
public const int MaxIGPUUV = 0;
|
||||||
|
|
||||||
|
public const int MinTemp = 75;
|
||||||
|
public const int MaxTemp = 98;
|
||||||
|
|
||||||
public static string[] FAM = { "RAVEN", "PICASSO", "DALI", "RENOIR/LUCIENNE", "MATISSE", "VANGOGH", "VERMEER", "CEZANNE/BARCELO", "REMBRANDT", "PHOENIX", "RAPHAEL/DRAGON RANGE" };
|
public static string[] FAM = { "RAVEN", "PICASSO", "DALI", "RENOIR/LUCIENNE", "MATISSE", "VANGOGH", "VERMEER", "CEZANNE/BARCELO", "REMBRANDT", "PHOENIX", "RAPHAEL/DRAGON RANGE" };
|
||||||
public static int FAMID { get; protected set; }
|
public static int FAMID { get; protected set; }
|
||||||
|
|
||||||
|
|||||||
@@ -1156,17 +1156,17 @@ namespace GHelper
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (cpuUV >= -40 && cpuUV <= 0)
|
if (cpuUV >= Undervolter.MinCPUUV && cpuUV <= Undervolter.MaxCPUUV)
|
||||||
{
|
{
|
||||||
SendCommand.set_coall(cpuUV);
|
SendCommand.set_coall(cpuUV);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (igpuUV >= -40 && igpuUV <= 0)
|
if (igpuUV >= Undervolter.MinIGPUUV && igpuUV <= Undervolter.MaxIGPUUV)
|
||||||
{
|
{
|
||||||
SendCommand.set_cogfx(igpuUV);
|
SendCommand.set_cogfx(igpuUV);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cpuTemp >= 70 && cpuTemp <= 97)
|
if (cpuTemp >= Undervolter.MinTemp && cpuTemp <= Undervolter.MaxTemp)
|
||||||
{
|
{
|
||||||
SendCommand.set_tctl_temp((uint)cpuTemp);
|
SendCommand.set_tctl_temp((uint)cpuTemp);
|
||||||
SendCommand.set_apu_skin_temp_limit((uint)cpuTemp);
|
SendCommand.set_apu_skin_temp_limit((uint)cpuTemp);
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ _PPTs are shown for G14 2022, for other models PPTs will be different as they ar
|
|||||||
## :question: FAQ
|
## :question: FAQ
|
||||||
|
|
||||||
#### How do I stop the Armory Crate install popup appearing every time I press the M4 / Rog key?
|
#### How do I stop the Armory Crate install popup appearing every time I press the M4 / Rog key?
|
||||||
Delete or move somewhere following file ``C:\Windows\System32\ASUSACCI\ArmouryCrateKeyControl.exe``.
|
Stop ``ArmouryCrateControlInterface`` service under windows Services app.
|
||||||
If it still appears - Go to BIOS (F2 on boot), open Advanced Settings and disable "Armory Control Interface".
|
If it still appears - Go to BIOS (F2 on boot), open Advanced Settings and disable "Armory Control Interface".
|
||||||
|
|
||||||
#### Why is Ultimate GPU mode not available on my laptop?
|
#### Why is Ultimate GPU mode not available on my laptop?
|
||||||
|
|||||||
Reference in New Issue
Block a user