Skip to main content

age_of_empires_ii_hd

Function age_of_empires_ii_hd 

Source
pub fn age_of_empires_ii_hd() -> Rule
Expand description

Age of Empires II HD is DPI-unaware.

Age of Empires II HD draws its UI at a fixed size in pixels. Marked DPI-aware at 192 DPI (retina), it runs at the display’s full resolution and its UI comes out too small to use; left DPI-unaware, Wine scales its window, as Windows does at 200%, and the UI has its intended size. Its manifest does not declare DPI awareness, but the game looks up SetProcessDPIAware and likely calls it at run time. The rule still wins: win32u sets the process awareness from it when it initializes, and refuses every later change. The fingerprint is the company alone: the product name of the build this was checked with, age2_x1, is the original game’s, and newer Steam builds may have changed it.