DPI-Fix

DPI-Fix

34 Downloads

Description:

DPI-Fix Mod fixes the High DPI Scaling Awareness of Minecraft. Simplified It fixes the blurriness of minecraft when the scaling of the monitor is above 100%. It also increases minecraft's process priority to high when enabled. This mod only supports Windows right now as I couldn't seem to find any documentation on how to prevent dpi scaling on macOs or linux without editing the LWJGL natives window creation flags. Help is wanted if your a c++ dev and know the solution.

Imagine this; you sit down after a long day of work fire up multimc or curseforge launcher to play your minecraft 1.6.4 or even 1.7.10 modpack and........ after 10 minuets of waiting for it to load it's blurry. You have to adjust your dpi back to 100% and then relaunch both multimc and minecraft and make everything way too tiny just for minecraft to be happy. 

Sounds familiar? Don't pull out your hair anymore this mod fixes it. It works for Minecraft 1.6.4-1.12.2 it fires before the game is visible and sets the game to be dpi aware.

How to install the Mod:

  • Drag and Drop into the mods folder

Features

  • Fix DPI
  • Set Process Priority of Minecraft to High (configurable) +10FPS
  • Fix MC-68754 (Exiting Fullscreen Disables windows Maximize Button) 
  • Fix MC-111419 
  • Fix MC-160054

Supported Minecraft Versions

  • 1.6.4
  • 1.7.10
  • 1.10.2
  • 1.12.2

Supported Operating Systems

  • Windows 7 (x86 and x64)
  • Windows 8.1 (x86, x64 and arm64)
  • Windows 10 (x86, x64 and arm64)
  • Windows 11 (x86, x64 and arm64)

DPI Fix Mod for Legacy Minecraft ( 1.5.2 and below). It's become a java agent because it's not possible to load the dpi fix when the ASM transformer loads with multimc and possibly other minecraft launchers. Therefore the installation is going to be different.

  • Download DPI-Fix Mod 1.3.0 or higher or the standalone java agent found here https://www.mediafire.com/file/nl9z3vewth5e2qs/GameModeLib-Agent-0.0.8.zip/file
  • Drop [1.6.4-1.12.2]HighDPI-Fix-1.3.0.jar into .minecraft/agents
  • Go into your Minecraft Launcher Java Arguments (JVM).  For Server side go into your Shell and get ready to add JVM arguments
  • Add JVM Argument: -javaagent:"agents/[1.6.4-1.12.2]HighDPI-Fix-1.3.0.jar"
  • Add JVM Argument: -Dgamemodelib.dpi=true
  • Optional Add JVM Argument: -Dgamemodelib.high=true

FAQ
______________
Q: Is The Installation Process the same for all minecraft versions
A: Yes except legacy versions

Q: Will this work with java 9 or higher
A: No as Minecraft Itself Doesn't work with java 9 or higher until minecraft 1.13+

Q: Will this work if I change the DPI while the game is Running
A: On Windows 8.1 or higher yes but untested on windows 7 if you have to restart or not since we ignore the dpi scaling factor

Q: Is this mod a virus why are there DLL files
A: it's C++ code and all it does is set the dpi awareness and set the process priority. The Source is found under src-cpp

Q: Will this work on macOs or linux
A: No. I couldn't find any documentation on how to get the application to be DPI aware without editing LWJGL natives as the only thing I found required a window creation flag inside the parameters
On top of that macOS and linux are stupid with process priority and require admin to set a process to high (not even realtime just high).
HELP is wanted if you can figure out mac or linux support