Updated 1st of August
What will you achieve with this guide?
smoothness
as much FPS as possible (for capping)
Who is this guide for?
any type of computer,from worst to best
people who desire a great singleplayer experience
people who can love even a lower quality for achieving the best experience
Nvidia GPUs users
Quick tips:
Disable Full Screen Optimizations
Lower the resolution
Use Nvidia sharpening
Use Riva Tuner's Scanline Sync
Use V-Sync,G-Sync
Cap your FPS to an achievable value
Set your game's priority to high
More below
Download the ISO you want,put it on USB Flash or anything else you use with Rufus and install.
I recommend having a partition dedicated to these tweaks like I do,2-3 GBs is enough.
Dual boot is the best choice.This guide is aggresive and may break things like developing tools,virtual machines and other similar things.
Do not install any driver unless you have problems or you're missing functionalities!
Divided in 12 folders:
1.GPU&Libraries:
Visual C Runtimes
Defraggler
Nvidia Control Panel settings
2.Activation:
contains an open-source Windows activation .bat file
3.Important:
Revision Extreme Performance Power Plan
Trusted Installer (Melody's/ NSudo's work)
Unpark CPU
4.GPU Tweaks:
Nvidia Pixel Clock Patcher (ToastyX's work)
PowerMizer
Disabling GPU temperature downclock
5.Device Manager
contains a list of devices you need to disable.
6.Tweaks
contains other tweaks.
7.Performance Booster ( https://n1kobg.blogspot.com )
contains N1ko's performance booster (you have to buy it from him)
8.Tweaks Pack ( https://sites.google.com/view/melodystweaks )
contains Melody's tweaks pack with some changes I made
9.Latency
contains other tweaks and settings
10.Disable Startup Apps
Autoruns tool
12.Services
contains a list of services and drivers to disable (Vincent's work)
13.Win32Separation
contains 4 registries with different "Win32PrioritySeparation" values
Soon
1.Right click on your partitions in My PC:
uncheck "Allow files on this drive to have contents indexed in addition to file properties".
2.Optimize your drives with Defraggler:
You can find it in "GPU&Libraries" folder.
Installation settings:
Open "dfsetup... .exe"
Click Customize.
Uncheck "Add Start Menu Shortcuts","Add Defraggler menus to Windows Explorer" and "Inform me of updates to Defraggler".
Install.
Open Defraggler:
Right click on every partition and press Defrag Drive (HDD) or Optimize (SSD).
Wait until the operation is done.
3.Control Panel-System and Security-System-Advanced system settings-Settings (Performance)-Adjust for best performance and check these:
Smooth edges of screen fonts
Smooth-scroll list boxes
4.Go to "Advanced" tab-Change (Virtual memory):
uncheck "Automatically manage paging file size for all drives"-Custom size
On both Initial Size and Maximum Size put 1.5x of your RAM memory and press Set.
For 32 GB of RAM ->49152.
For 16 GB of RAM -> 24576.
For 8 GB of RAM -> 12288.
For 4 GB of RAM ->6144.
5.Open the first folder,"1.GPU&Libraries":
Open "1.Visual C++" and run "install_all.bat".
Install your GPU driver. (debloated)
Open "Nvidia" once again,open "DCH Control Panel":
Read the .txt file.
Open "Control Panel" folder and run "nvcplui.exe".
Change the settings according to your taste or the .txt file.
DCH Control Panel Guide:
https://www.theviciousgames.com/windows-guides/nvidia-dch-control-panel
6.Right click on Desktop-Display Settings-Graphic Settings-Browse-C:/Windows/explorer.exe-Options-High performance.
7.If you have an activation key skip this step.
Open "Activation" folder:
Run "Activation.cmd" as administrator.
Press "3" and read the information displayed.
If it fails,connect to internet.
8.Open the 3rd folder:
If you won't use Throttlestop,delete the folder but if you do,follow my guide here: http://gestyy.com/eqCKiV (shortened for small income)
Go to "Power plan" folder:
Run Import.bat.
Open "Power options" by right clicking on the battery icon in task bar
Check "Revision Extreme Performance".
Open "x(Read)How to delete stock power plans.txt"
Do as it says.
In "TrustedInstaller" folder:
Open "install.bat" as Administrator.
Read the information displayed.
9."GPU Tweaks" folder:
Run "ynVidia Pixel Clock Patcher" as Administrator.
Press Yes.
Run "PowerMizer.exe".
Change the settings as in the picture below:
ThermSpy->Test P-States should look like this:
After doing this open MSI Afterburner. CTRL+F and lock your maximul power/voltage with L (IMPORTANT).
Thanks to Cancerogeno: https://sites.google.com/view/cancerogenoslab
10."Device manager" folder:
Every PC will have different devices in Device Manager so you will have to do the thinking.
Read the list and look at the pictures.Take them as an example.
Open Device Manager:
Click on "View" Tab and check "Show hidden devices".
Disable any unkown device or any device with a warning sign icon.
DO NOT DISABLE "PCI SIMPLE COMMUNICATIONS CONTROLLER" IF YOU USE A LAPTOP!
Disable (basic):
Composite Bus Enumerator
High Definition Audio Controller (if you see two of them)
High Precision Event Timer
Microsoft Hyper-V Virtualization Infrastructure Driver
Microsoft System Management BIOS Driver
Microsoft Virtual Drive Enumerator
NDIS Virtual Network Adapter Enumerator
Numerica data processor
PCI standard RAM Controller
Programmable interrupt controller
Remote Desktop Device Redirector Bus
System Timer
UMBus Root Bus Enumerator
NVIDIA USB 3.10 eXtensible Host Controller
SATA AHCI Controller (optional)
Wi-Fi (optional)
Webcam (optional)
Bluetooth (optional)
Microphone (optional)
Human Interface Devices (some of them,you should test and see)
Standard PS/2 Keyboard
Microsoft Wi-Fi Direct Virtual Adapter
Microsoft Kernel Debug Network Adapter
WAN Miniport (All)
Print Queues (All)
Motherboard Resources (All)
Under System Devices:
Right click on every device.If you see "The drivers for this device are not installed." then disable it.
Example:
11."Software" folder:
copy"MSI Afterburner" and "RivaTuner Statistics Server" to ProgramFiles.
Create a shortcut of "MSIAfterburner.exe" on Desktop.
Run "MSIAfterburner.exe" and "RTSS.exe" once.
The MSI Afterburner provided in the link has "EVGA PrecisionX 16" skin.
Under "Voltage" you should see 3 options :
"Overvoltage"
"Overboost"
"KBOOST"
At the right of these,there are 3 white circles.
Click each of them to deactivate them,restart the computer.
After restart,do the same to reactivate them.
11."Tweaks" folder:
Run "NSudo.exe" as Administrator.
Check "Enable all Privileges".
Browse for "Tweaks" folder.
Run .reg and .bat as TrustedInstaller.
Run .ps1 with PowerShell.
12."Performance Booster" folder:
You can find "READ.rtf" inside.
Do not optimize services!
Do not optimize network if you use Wi-Fi!
13."Tweaks Pack" folder:
Run "AutoTweak" as TrustedInstaller.
Some tweaks are changed or updated (Vulkan Runtime,Nvidia profile .nip and some registry changed).
Follow the information written on screen.
You will be asked a couple of things during the process:
Skip Routine Disk Check? Yes.
Is this a virtual machine? No.
Do you have any PS/2 device or are you using a laptop? Yes,if you're on a laptop.
Are you using Windows 7 or Server 2008 R2? No.
Is this supposed to be a server machine?No.
Is your system drive a SSD?Your choice.
Do you mount VHDs with diskpat,ISOs with Explorer...?No.
Do you use Hyper-V?No.
Do you use Remote Desktop (RDP) with device sharing?No.
Would you like to run the Aero Lite Theme?No.
Use 1-to-1 per-pixel Mouse Movements?Yes.
Compact Mode..?No.
Would you like to compress software data and files?No.
Disable all maintance?Yes.
Would you like to import the NVIDIA profile? Yes.This is the profile made by myself.
16.After command prompt is closed,restart.
After restart and script finished,check again if 4th step from above values changed.
14."Latency" folder:
Run "Affinity Pollicy Installer.exe" as Administrator,install.
Open "Affinity Pollicy.exe" shortcut.
This differs on every PC,should be tested and researched by yourself.
Example:
0,1 cores - none
2,3 cores - Nvidia GPU,PCI Express Root Port linked to the gpu
4,5 cores - USB (Ports and Hubs),Bluetooth (optional)
6,7 cores - Realtek Ethernet,Wi-Fi,PCI Express Root Port linked to these
8,9 cores - High Definition Audio Device,High Definition Audio Controller
10,11 cores - ISA Bridge
"PCI Express Root Port" can have different names like "PCI-to-PCI Bridge" or "PCI Express Complex Root" but they are the same thing:
Open Device Manager->View->Show Hidden Devices.
View->Devices by connection.
As you can see below,each PCI Express Port has certain devices linked.Every port should have the same cores assigned as their linked devices.
E.g. The PCI Express Root Port from the top has 3 devices:
High Definition Audio Controller (disabled)
NVIDIA GeForce RTX 2060
Nvidia USB 3.10 eXtensible Host Controller
In Affinity Policy,these 4 should be assigned on the same cores.
Right click on each->Properties
PCI bus and device will be our keyword for finding a certain device in "Affinity Pollicy.exe".
(Random pictures)
In "Affinity Pollicy.exe" assign the same cores for devices and their PCIe Root Port.
Run "BCD commands.bat" as Administrator.
Restart.
Open "MSI-Read.txt" and change the interrupt priority as it says.
Run "MSI Drivers.exe" as TrustedInstaller and change priorities.
As we did with affinities,our PCIe Root Ports should have the same priority as their linked devices.
We can find the required name in "Events" tab,Device PCI:
You can find the same name "Device PCI" at the bottom of "MSI mode utility".
Your device should match its PCI Express Root Port's priority.
Run "BCD commands.bat" as Administrator.
Restart.
Open "MSI-Read.txt" and change the interrupt priority as it says.
Run "MSI Drivers.exe" as TrustedInstaller and change priorities.
As we did with affinities,our PCIe Root Ports should have the same priority as their linked devices.
Open "Process Lasso-Read.exe".
Run "wProcessLassoPortable.exe",follow the instruction written.
Open txt file.
Run "xRegEdit.exe" and go to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl".
Create new DWORD and name it "IRQxPriority" with value "1".
Open "msinfo32.exe",Hardware Resources,IRQs and find your GPU's name.
To the left of your GPU's name there's a number.
Write that number instead of "x" in "IRQxPriority".
E.g. IRQ4294967277Priority
Open txt file.
Run "xRegEdit.exe" and go to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\nvlddmkm".
Create new DWORD and name it "ThreadPriority" and set its value to 1f hex.
Run "BCD commands.bat" as Administrator.
Restart.
Open "MSI-Read.txt" and change the interrupt priority as it says.
Run "MSI Drivers.exe" as TrustedInstaller and change priorities.
As we did with affinities,our PCIe Root Ports should have the same priority as their linked devices.
Open "Process Lasso-Read.exe".
Run "wProcessLassoPortable.exe",follow the instruction written.
Open txt file.
Run "xRegEdit.exe" and go to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl".
Create new DWORD and name it "IRQ(x)Priority" with value "1".
Open "msinfo32.exe",Hardware Resources,IRQs and find your GPU's name.
To the left of your GPU's name there's a number.
Write that number instead of "x" in "IRQ(x)Priority".
E.g.
Open txt file.
Run "xRegEdit.exe" and go to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\nvlddmkm".
Create new DWORD and name it "ThreadPriority" and set its value to 1f hex.
15."Disable Startup Apps" folder:
Run "Autoruns64.exe" as TrustedInstaller.
"Logon" tab:
Uncheck and delete everything but "Open-Shell Start Menu",if you use it.
"Drivers" tab:
Uncheck->Adobe Type Manager then Right Click->Delete.
"Image Hijacks" tab:
Uncheck->iexplore.exe... then Right Click->Delete.
16."Services" folder:
"Services registry" folder contains my last backup of services.
Works:
WIFI
Everything else
Doesn't work:
Bluetooth
Bugged WIFI taskbar icon
Bugged Sound Icon
Run "Services Backup.reg" with NSudo if you agree with the information above.
Disable "Windows Audio Endpoint Builder" doing this:
Run ".xRegEdit.exe" and go to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Audiosrv".
Right click on "DependOnService" and click "Modify".
Erase "AudioEndpointBuilder".
4.Go to "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AudioEndpointBuilder".
5.Right click on "Start" and click "Modify".
6.Change the value to "4". (Default value is "2")
"serviwin-x64" folder contains a tool used to disable unused drivers.
Open Read txt file,it contains a list of drivers to disable (safe).
Run "serviwin.exe" as TrustedInstaller.
Change to drivers by clicking on the button shown bellow:
Right click on the devices you want to disable,move your cursor to "Change startup type" and click on "Disabled".
17."Win32Separation" folder:
Here you will find one .txt and 4 .reg.Read the .txt file.
Each registry has a different value for Win32Separation.Test them each for yourself.
18."Post-Post Install" folder:
This folder contains a couple of things you should use for games.
"LargePage_util" folder:
Here you can find the large page utility.This tool simply generates a registry for a certain .exe file for using large pages.This should give you a minor boost in performance.
Run "LargePage_util.exe"
Simply write your game's .exe name as you can see above then press "Add".After adding all your games executables press "Save" and close the tool.
Right click on "LargePage_util.exe.reg",edit.You should see the generated registries for your games.Now simply close Notepad and run the .reg file.
"Before Playing" folder:
"Memory Booster_2.1.exe"is a great tool made by N1koBG.It's a cleaner for working sets,memory,cache,etc.
Use it before playing a game.Right click and Run as TrustedInstaller and you should see this:
Done
2."Service Stop.bat" stops some services that are needed for Windows to boot up.Fortunately we can stop them after Windows booted up.It contains duplicated code lines.
Run this as TrustedInstaller before playing games.
Now let's make your games even smoother!
Open RivaTuner.Press the green button"Add" and choose your game's .exe.On the right there is "Framerate limit" and "Scanline Sync".
You will change "Scanline Sync" value according to this formula: (-1) * (Total Vertical Pixels - Active Vertical Pixels)
To get these values you should open Nvidia Control Panel -> Change Resolution -> Customize -> Create Custom Resolution
E.g.
-1 * (1216-1080) =(-1) * 136 = -136
E.g. Star Wars Jedi: Fallen Order is capped at 100 FPS with -136 Scanline Sync.
Some games will be smoother with FPS capped,other will be smoother with uncapped FPS,you should test that with every game.The right value for capping is the minimum of your average FPS.
E.g.
You're getting 90-98 FPS while playing so the right value would be 90.
If you want even more FPS to take advantage of your 144 Hz monitor then here's the solution:
Lower your graphics settings in-game.
If your game has resolution modifier (Assassin's Creed Origins,Oddisey) set it to 90% or even 80%.
For every game,search tweaks online. Good website: https://www.pcgamingwiki.com/wiki/Home .
You might think your games look horrible now,but I got the solution for this too.This is where sharpening saves your day.In my experience,with the right sharpening value,the games will look even better that with higher graphics settings.
Open Nvidia Control Panel -> Manage 3D settings -> Program Settings -> Select your game
Enable Image Sharpening and choose a value between 0.50 and o.65.Lower than 0.50 doesn't really make a difference and higher than 0.65 looks bad.
Disabling Fullscreen Optimization can increase your performance even more:
Right Click on your game's .exe or shortcut.
Click on "Compatibility" tab.
Check Disable Fullscreen optimizations.
Set your game's priority to high,it might increase performance.Check twice after changing it,the OS may change it as soon as you put it on high.
Follow the steps,disable Fullscreen Optimizations,enable V-Sync,Scanline Sync,lower the graphics,cap your FPS and play.
Credits and sources:
https://docs.google.com/document/d/18uPEXJC5LSto8x9X_GteSI58sfQLCfamDG1HNHJWrQU/edit
Vincent#1078
mbk1969
TheViciousGames' Discord Channel:
Show me some love supporting my work by downloading my apps: