Compare commits
37 Commits
0.1
...
old_ps1_sc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52c6615ebc | ||
|
|
23405632ad | ||
|
|
52e2b8b31c | ||
|
|
b25eb63116 | ||
|
|
4bfbdd04cb | ||
|
|
efe887fbc3 | ||
|
|
5919bfd71e | ||
|
|
c9e25b6358 | ||
|
|
fb4a0cf3db | ||
|
|
b534becbf5 | ||
|
|
99316da55e | ||
|
|
cf92e04501 | ||
|
|
39514d89f6 | ||
|
|
293ab6f35d | ||
|
|
f2967fcc79 | ||
|
|
e060feaf09 | ||
|
|
178f61a98d | ||
|
|
79b8d6fa14 | ||
|
|
007f6ef1a3 | ||
|
|
1637f36d1d | ||
|
|
0f3f54c50a | ||
|
|
aff667345d | ||
|
|
b14ee181f9 | ||
|
|
f48c7c388a | ||
|
|
2c79abc976 | ||
|
|
57e3cc418a | ||
|
|
8dfd9fb6fc | ||
|
|
d21c4f8719 | ||
|
|
ef7a3d4431 | ||
|
|
3f4b98d8d5 | ||
|
|
04a7d845af | ||
|
|
7744f2d947 | ||
|
|
392d25e1c2 | ||
|
|
ad97cc18b9 | ||
|
|
98ae672d3b | ||
|
|
660c07684f | ||
|
|
f93d9f8e78 |
33
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Main
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*.*"
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir release
|
||||
cp *.cmd ./release
|
||||
cp *.lnk ./release
|
||||
cp ghelper.ps1 ./release
|
||||
zip -r g14-helper-script.zip ./release
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
g14-helper-script.zip
|
||||
g14-helper.exe
|
||||
|
||||
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
log.txt
|
||||
15
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "PowerShell: Launch Script",
|
||||
"type": "PowerShell",
|
||||
"request": "launch",
|
||||
"script": "powershell \"${workspaceFolder}/ghelper-compile.ps1\"",
|
||||
"args": []
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
G14-Helper.lnk
Normal file
50
README.md
@@ -1,12 +1,54 @@
|
||||
# G14-helper
|
||||
# G14-Helper
|
||||
|
||||
Designed for Asus Zephyrus G14 2022 (with AMD Radeon iGPU and dGPU). But could potentially work for G14 of 2021 and 2020.
|
||||
Designed for Asus Zephyrus G14 2022 (with AMD Radeon iGPU and dGPU). But could and should potentially work for G14 of 2021 and 2020, G15, X FLOW, and other ROG models.
|
||||
|
||||
A small windows system tray utility that allows you to switch between 3 main GPU modes (mirroring ones from ASUS Armory Crate). Uses proprietary ASUS WMI commands to do switching. Therefore requires Administrator priveledges on Windows to run.
|
||||
A tiny system tray utility that allows you set performance and GPU profiles for your laptop. Same as ASUS Armory Crate does but without it completely!.
|
||||
|
||||

|
||||
## Performance Profile switching
|
||||
|
||||
Profiles are **same** as in Armory Crate, including default fan curves
|
||||
|
||||
1. Silent (minimal or no fans, 45W PPT to CPU)
|
||||
2. Balanced (balanced fans, up to 45W PPT to CPU)
|
||||
3. Turbo (intense fans, 125W PPT total, up to 80W PPT to CPU)
|
||||
|
||||
## GPU Mode switching
|
||||
|
||||
1. Eco mode : only low power iGPU (Radeon 680u) enabled, iGPU drives built in display
|
||||
2. Standard mode (Windows Hybrid) : iGPU and dGPU (Radeon 6700s/6800s) enabled, iGPU drives built in display
|
||||
3. Ultimate mode: iGPU and dGPU enabled, but dGPU drives built in display
|
||||
|
||||
## Extras
|
||||
|
||||
1. **Maximum battery charge rate** limit (60% / 80% / 100%) to preserve your battery
|
||||
2. CPU and GPU relative fan speed monitoring
|
||||
3. Laptop screen refresh adjustments for power saving (60hz) and gaming (120hz)
|
||||
4. Laptop screen panel overdrive switch
|
||||
5. Start with windows (optional)
|
||||
|
||||
|
||||
## How to install
|
||||
|
||||
1. Download latest release from https://github.com/seerge/g14-helper/releases
|
||||
2. Unzip to a folder of your choice
|
||||
3. Run **g14-helper.exe**
|
||||
|
||||
_App is written in Powershell and wrapped into executable with https://github.com/MScholtes/PS2EXE .
|
||||
If you don't trust exe - you can always run ghelper.ps1 script by yourself directly._
|
||||
|
||||
|
||||
Note: Uses low level ASUS WMI commands to do switching and doens't require Armory Crate to be isntalled at all.
|
||||
Therefore requires Administrator priveledges on Windows to run.
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
Settings and basic log are located in APPDATA\LOCAL
|
||||
|
||||
P.S.: It's not recommended to use app in combination with Armory Crate, cause they adjust same settings.
|
||||
Please keep in mind, that if you also run MyASUS app periodically it will also try to adjust same battery charge settings
|
||||
|
||||
|
||||
--------
|
||||

|
||||
|
||||
13
events.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
Get-EventSubscriber | Unregister-Event
|
||||
|
||||
|
||||
$ProcessAsusWmiEvent = {
|
||||
$event_id = $Event.SourceEventArgs.NewEvent.EventID
|
||||
Write-Host $event_id
|
||||
}
|
||||
|
||||
Register-CimIndicationEvent -Namespace root\wmi -query "Select * From AsusAtkWmiEvent" ` -sourceIdentifier "GHAsus" ` -action $ProcessAsusWmiEvent
|
||||
|
||||
while (1) {
|
||||
|
||||
}
|
||||
BIN
g14-gpu.exe
BIN
g14-gpu.png
|
Before Width: | Height: | Size: 199 KiB |
1
g14-helper.cmd
Normal file
@@ -0,0 +1 @@
|
||||
powershell -WindowStyle hidden -file ghelper.ps1
|
||||
BIN
g14-helper.exe
Normal file
BIN
g14-helper.png
Normal file
|
After Width: | Height: | Size: 316 KiB |
1
ghelper-compile.ps1
Normal file
@@ -0,0 +1 @@
|
||||
ps2exe .\ghelper.ps1 g14-helper.exe -title 'G14 Helper' -DPIAware -winFormsDPIAware -requireAdmin -iconFile 'standard.ico' -noConsole -copyright 'G14 Helper Tool' -noOutput
|
||||
@@ -1 +0,0 @@
|
||||
ps2exe .\gpu.ps1 g14-gpu.exe -title 'G14 GPU Mode' -DPIAware -winFormsDPIAware -requireAdmin -iconFile 'standard.ico' -noConsole -copyright 'G14 GPU Mode'
|
||||
BIN
resources/icons8-charging-battery-48.png
Normal file
|
After Width: | Height: | Size: 421 B |
BIN
resources/icons8-laptop-48.png
Normal file
|
After Width: | Height: | Size: 260 B |
BIN
resources/icons8-speed-48.png
Normal file
|
After Width: | Height: | Size: 885 B |
BIN
resources/icons8-video-card-48.png
Normal file
|
After Width: | Height: | Size: 400 B |
BIN
ultimate.png
Normal file
|
After Width: | Height: | Size: 64 KiB |