aredden / electron-G14Control

Electron desktop application replacement for G14ControlR3.
MIT License
209 stars 27 forks source link
amd-cpu asus-zephyrus electron g14 reactjs ryzenmobile

G14Control Windows Desktop App

Build/release

ONLY WORKS ON G14 2020 (For the time being)

Example youtube video:

Features:

If you like the app, and would like to support me, donate : ) <3

Be aware that I have no idea what I'm doing. All of this stuff works for me, but I am only a single developer and can't guarantee the safety of your machine if you choose to use this software, although, the beta has been used by many people in our server G14 Talk for several weeks and no one has had catastrophic results at this point (hopefully).


Prerequisites for Development

Getting Node, Python, and Visual Studio setup:

File setup:

The /electron directory requires a .env file for paths to the included executables. Create this file and find and replace the *** with the path to your \electron folder in this repo (e.g. C:\dev\electron-G14Control\electron)

ATRO_LOC=***\atrofac-cli\atrofac-cli.exe
RADJ_LOC=***\ryzenadj\ryzenadj.exe
CONFIG_LOC=***\src\config\config.dev.json
SCREEN_REF_LOC=***\screen-resolution\ChangeScreenResolution.exe
RESTART_GPU_LOC=***\restartgpu\RestartGPU.exe

Dev Startup

Requires at least node v14.8.0 (or at least that is what I am using during development)

There are two node packages, one in /electron, for the electron app, and one in the root directory, for the ReactJS UI.

In both, run npm install from your terminal of choice.

After installing, use two terminal windows, one in the root directory and one in /electron.

This should start a broken webpage, since it requires certain Electron functionality such as window.IpcRenderer for communication between the Electron backend and ReactJS frontend. The /electron terminal process will initialize as a functional Electron windowed application.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

What Needs To Be Built...

This is just a starting list. I'm sure there is much more to do.

License

MIT

Support

If you wish to help me, or you have the beta you can check out the discord that I primarily use to give out the beta / chat about development.

Discord: https://discord.gg/482ST4M6Ag

I'm currently not actively working, so donations are greatly appreciated!

Donate: https://www.paypal.com/pools/c/8uiaar8Sl9

Major Contributors

https://github.com/DaHyper/ (2021 g14 compatability)

https://github.com/thesacredmoocow/g14control-r2 (g14control's previous maintainer)

https://github.com/FlyGoat/RyzenAdj (adjusting tdp)

https://github.com/cronosun/atrofac (fan profiles)

https://github.com/sbski (help with understanding ryzenadj & cpu performance limits control)

References

https://github.com/zllovesuki/reverse_engineering/blob/master/G14 (hardware control via wmi)