-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# mcGpuPref | ||
Powershell Scipts To Auto Add Minecraft Java Executables To Gpu Preferences | ||
|
||
## How to | ||
1. Close all of your Minecraft windows | ||
2. Download all the files | ||
3. double blick / run the "runMe.cmd" | ||
|
||
And you're done. Feel free to check that you have them added in the Graphics settings. | ||
You can copy this link and paste into wherever (run, explorer, chrome): | ||
|
||
*ms-settings:display-advancedgraphics* | ||
|
||
## What it do | ||
|
||
Runme.cmd (batchfile) is just to trigger the powershell script without you having to set a powershell execution policy. | ||
|
||
|
||
The actual powershell script (ps1) will check for known paths of javaw.exe from different launchers, and add them to your "graphics settings" and select "high performance". | ||
This is done by adding a couple of items to your current user registry hive (HKCU:\SOFTWARE\Microsoft\DirectX\UserGpuPreferences). | ||
|
||
|
||
It will create a folder called "backup" next to the script, and produce a backup .reg file before it does any modifications. Shouldnt be nescescary, but why not. | ||
|
||
## What launchers/MC software is supported? | ||
|
||
* Stock / standard / default Launcher (C:\Program Files (x86)\Minecraft Launcher\runtime\jre-x64\bin\javaw.exe= | ||
* Lunar (<userprofile>\.lunarclient\jre\zulu8.50.0.53-ca-fx-jre8.0.275-win_x64\bin\javaw.exe) | ||
* Bad Lion (C:\ProgramData\BadlionClient\jre1.8.0_202\bin\javaw.exe) | ||
* TLauncher (C:\Program Files\Java\jre1.8.0_281\bin\javaw.exe) | ||
* Forge (C:\Program Files (x86)\Minecraft Launcher\runtime\jre-legacy\windows-x64\jre-legacy\bin\javaw.exe) | ||
|
||
If you can think of any more common ones, feel free to submit name, path and proof. :blush: |