The objective is to achieve a crisp 200% scaling ratio ($S_{ui}$) while maintaining a 1:1 pixel map for fonts and icons.
- Directory Path: Press
Win + R, type%APPDATA%\The Creative Assembly\Warhammer3\scripts\, and hit Enter. - The Target: Open
preferences.script.txtwith Notepad++. - Critical Safety: Before editing, set the game to Windowed Mode in the in-game menu. Manual UI scaling often causes crashes in exclusive Fullscreen mode due to viewport mismatches.
Optimized “4K Clarity” Configuration Table
| Parameter (preferences.script) | Recommended Value | Technical Purpose |
ui_scale | 2.0 | The 4K Standard. Brute-forces a 200% scale for legibility. |
ui_unit_scale | 1.0 | Prevents unit cards from overlapping in the 4K viewport. |
gfx_aa | fxaa | The Blur Fix. Removes the TAA “ghosting” from UI elements. |
gfx_sharpening | true | Enhances edge definition of scaled fonts ($E_{sharp}$). |
x_res / y_res | 3840 / 2160 | Ensures the engine anchors the UI to a 4K coordinate grid. |
HowTo: Engineering the UI Clarity Pipeline
Follow these GameEngineer.net technical steps to stabilize your 4K simulation:
- The “UI Scale” Brute-Force: In the script, search for
ui_scale. If you are on a 27-inch 4K monitor, set this to1.5. For 32-inch or larger, use2.0. In 2026, the engine sometimes caps the slider at100%; editing the script directly is the only way to bypass this limit for Ultra-HD displays ($R_{uhd}$). - Neutralizing TAA Smear: The TAA (Temporal Anti-Aliasing) implementation in Warhammer III applies a “jitter” that affects the UI layer. By switching
gfx_aatofxaain the script, you stop the engine from processing the UI icons through the temporal filter, resulting in significantly sharper text. - Coordinate Alignment ($X, Y$): Ensure
x_posandy_posare set to0. If these values are skewed, your 4K UI might “drift” off-center, making buttons unclickable because the visual asset and the hit-box are no longer aligned ($A_{hitbox}$). - DPI Scaling Override: If the UI still looks blurry, right-click
Warhammer3.exe> Properties > Compatibility > Change high DPI settings. Check “Override high DPI scaling” and select Application. This forces Windows to stop trying to “help” the game scale its pixels. - The “Windowed” Stability Hack: Total War’s engine handles high UI scales much better in Borderless Windowed mode. In the script, ensure
gfx_fullscreenisfalseandgfx_borderlessistrue. This allows the Windows DWM (Desktop Window Manager) to handle the 4K buffer, which is more stable for UI overlays.
Technical Explanation: UI Vectoring and Pixel Mapping
Warhammer III’s UI is not fully vector-based; it uses “Atlas” textures. At 4K, a 100% scale icon ($1 \times 1$) must be mapped to a $2 \times 2$ pixel grid.
$$Scaling\_Ratio = \frac{Target\_Resolution}{Base\_Resolution}$$
By forcing ui_scale 2.0, you are telling the engine to use a four-pixel block for every single UI coordinate. When combined with FXAA, which lacks the temporal history buffer of TAA, the engine avoids the “Ghosting” effect ($G_{ghost}$) that occurs when the UI tries to “re-project” itself between frames.