The primary goal for Total War: Pharaoh optimization is Model Persistence and Alpha-Channel Efficiency. Total War games are notoriously CPU-bound due to the “draw call” overhead of rendering thousands of unique entities. This configuration focuses on increasing the unit_lod_generation distance and optimizing the particle_detail to ensure that dust and sand effects don’t choke your GPU while you are managing your front lines.
Hardware & System Prerequisites
- CPU Cache (L3): Total War titles are highly sensitive to L3 cache. CPUs like the Ryzen 7 7800X3D/9800X3D will see significantly better unit-frame stability compared to standard architectures.
- VRAM Management: Pharaoh uses high-resolution displacement maps for armor. 10GB+ VRAM is recommended for “Ultra” unit details at 1440p.
- DirectX 12: Ensure DX12 is active in the script to allow for better multi-threaded command buffer submission, which is critical for unit rendering.
File Location
The configuration script is hidden within the AppData folder. Ensure the game is closed before editing:
%APPDATA%\The Creative Assembly\Pharaoh\scripts\preferences.script.txt
Technical Configuration (Code Block)
Open the preferences.script.txt and locate these specific lines. Note that values in this file are often represented by integers or booleans:
# Total War: Pharaoh Unit Detail Optimization 2026
# Source: GameEngineer.net
# Unit Model Detail & LOD (0 = Low, 3 = Ultra, 4 = Extreme)
unit_detail 3;
unit_lod_generation_range 2.0; # Multiplier for how far high-poly models stay active
# Particle & Environment (Reduces sandstorm lag)
particle_detail 2;
terrain_detail 3;
building_detail 3;
# Animation & Physics
# 0 = Low, 1 = Normal, 2 = High (Affects how many units have physics active)
unit_shading_quality 2;
cloth_simulation_quality 1;
# Stability & Performance
gfx_video_memory 0; # Set to 0 to let the game auto-detect; or force specific MB
gfx_directx 12;
gfx_device_type 0;
Strategy for Dynasty-Elite Performance
To ensure your Bronze Age collapse is as visually stunning as it is smooth:
- Unit LOD Generation: By setting
unit_lod_generation_rangeto 2.0 (or higher), you tell the engine to keep the 3D models of your archers and spearmen active much further away before they turn into 2D “sprites.” This eliminates the distracting “pop-in” effect during camera pans. - The Cloth Simulation Trap: While
cloth_simulation_qualitylooks great for capes and banners, setting it to High for 5,000+ units will crush your CPU. Keeping it at 1 (Normal) provides the visual movement without the massive calculation overhead during heavy melee. - Particle Detail Balance: Sandstorms in Pharaoh are a major feature but setting
particle_detailto Extreme can drop your FPS by 40% in desert battles. Setting this to 2 (High) maintains the atmosphere while keeping your frame rate stable for tactical commands.
Key Performance Parameters
| Parameter | Recommended Value | Impact |
| unit_detail | 3 (Ultra) | Best balance between soldier variety and performance. |
| unit_lod_generation_range | 2.0 | Keeps units looking like 3D models from a distance. |
| particle_detail | 2 | Crucial for maintaining 60 FPS during sandstorms. |
| gfx_directx | 12 | Essential for modern GPU/CPU communication efficiency. |
Frequently Asked Questions (FAQ)
Why does my game look “blurry” when I zoom in?
This is often caused by Depth of Field (DoF) or TAA. In the script, find gfx_depth_of_field and set it to false if you want a sharp, tactical view of every soldier.
How do I fix the “stutter” when units clash?
This is a CPU bottleneck. Lower the unit_shading_quality or cloth_simulation_quality. Also, ensure your Windows “Power Plan” is set to “High Performance” to prevent CPU downclocking during the clash.
Does “Extreme” unit size work with these settings?
Yes, but “Extreme” unit sizes increase the draw call count exponentially. If you use Extreme unit sizes, you may need to drop unit_lod_generation_range back to 1.0 to compensate.
What does gfx_video_memory 0 do?
Setting this to 0 prevents the game from “throttling” your graphics if it thinks you are running out of VRAM. It allows the game to use your full hardware potential, but be careful of crashes if you actually exceed your VRAM limit.
Conclusion and Expected Results
By manually refining your preferences.script.txt to prioritize unit LOD and balancing particle effects, you are tailoring the engine for massive-scale warfare. You can expect crisp unit silhouettes even at a distance, stable performance during intense desert storms, and a significantly more immersive battlefield that showcases the splendor of the Pharaohs.