The primary objective is to maximize the Texture Memory Pool ($M_{tex}$) and synchronize the Zoom Coefficient ($Z_c$) with your native 4K resolution.
File Path & Setup
- Navigate to:
%LocalAppData%\AoE2 DE\Config\[YourSteamID]\LocalSettings.txt - Backup: Always keep a copy of the original before modifying.
- Pro Tip: To use 4K assets, you must have the free “Enhanced Graphics Pack” DLC installed via Steam. Without it, the “UHD” settings in this file will be ignored.
Optimized “UHD Clarity” Configuration Table
| Parameter | Recommended Value | Technical Purpose |
UHDGraphics | 1 | The Core Fix. Forces the engine to call 4K sprite assets. |
GraphicsQuality | 4 | Sets global fidelity to “Ultra” to match 4K asset density. |
Sharpening | 0.5 | Enhances edge definition on buildings without “pixel-crawling.” |
Antialiasing | 0 | Disable in 4K; the pixel density is high enough that AA only adds blur. |
UIScale | 1.25 | Ensures the HUD is readable on high-DPI 4K displays. |
{
"Video": {
"UHDGraphics": 1,
"GraphicsQuality": 4,
"Resolution": "3840x2160",
"UIScale": 1.25,
"Sharpening": 0.5,
"Bloom": 0,
"AnimateFog": 0,
"Vsync": 0
},
"Gameplay": {
"DefaultZoom": 1.0,
"ZoomLimit": 2.0
}
}
HowTo: Engineering the 4K Sprite Pipeline
Follow these GameEngineer.net technical steps to ensure your 4K assets are actually loading:
- Enabling the UHD Layer: Setting
"UHDGraphics": 1tells the engine to bypass the standard 1080p sprites. In AoE2:DE, 4K sprites are not upscaled; they are entirely different, higher-detail source files that require roughly 16GB of System RAM and 6GB+ of VRAM to stay in the cache. - The Zoom-Clarity Handshake: In 4K, the game allows you to zoom out further. However, if you zoom out too far, the sprites downsample ($D_{samp}$), losing their 4K benefit. Keep your
"DefaultZoom"at1.0to maintain the 1:1 pixel mapping for the most detailed unit models. - Disabling Post-Process “Smear”: Set
"Bloom": 0and"AnimateFog": 0. At 4K, these effects can create a “haze” over the detailed textures. Turning them off clarifies the high-resolution textures of castle walls and distinct unit colors. - UI Scaling Logic: At 3840×2160, the standard UI is too small. Use
"UIScale": 1.25(125%). This provides a perfect balance where the minimap is legible but doesn’t obstruct your view of the battlefield. - Memory Precaching: Ensure
"TextureQuality"(if present in your build) is set to2. This ensures that when you scroll across the map, the 4K assets for buildings are already in your GPU’s buffer, eliminating the “pop-in” effect.
Technical Explanation: Sprite Atlas and VRAM Pressure ($P_{vram}$)
Unlike 3D games, AoE2:DE uses a “Sprite Atlas” ($A_{sprite}$). Each unit direction and animation frame is a unique 2D image. At 4K, these atlases are $4 \times$ the size of standard assets.
$$VRAM_{load} = (N_{units} \times S_{4k}) + (N_{buildings} \times S_{4k})$$
By engineering the LocalSettings.txt to disable unnecessary post-processing (Bloom, AA), you free up roughly 500MB – 1GB of VRAM, which the engine then uses to keep more 4K unit sprites ($N_{units}$) in the active buffer. This prevents the engine from constantly swapping assets from your SSD to RAM, which is the primary cause of frame-time jitter in late-game 4v4 matches.