The "localization dx11.txt missing" error in games—most notoriously in Total War: SHOGUN 2
—is a legacy launch failure typically caused by corrupted user configuration data rather than missing game files. 🛠️ The Direct Fix: Clear AppData
The most reliable solution is to purge the game's cached settings, which forces the engine to rebuild the necessary configuration files. Press Win + R on your keyboard. Type %appdata% and hit Enter. Navigate to the folder: The Creative Assembly > Shogun2.
Delete the entire Shogun2 folder (or move it to your desktop as a backup).
Note: If you want to keep your save games, copy the save_games folder out before deleting.
Launch the game again. It will take longer to load as it regenerates the missing scripts and text files. 🔍 Why This Happens
This error is often a "catch-all" message when the game's executable fails to initialize the DirectX 11 renderer. The localization dx11.txt file itself isn't a critical game asset but part of the setup process that fails when the game's Preferences Script becomes unreadable or conflicts with modern Windows settings. Alternative Fixes if Deleting AppData Fails
If the AppData purge doesn't work, technical communities on Reddit and the Steam Community suggest these steps:
Verify Game Files: Right-click the game in Steam > Properties > Installed Files > Verify integrity of game files.
Reinstall Redists: Run the installers found in your game directory: .../Steam/steamapps/common/total war shogun 2/redist/vcredist_x86.exe.
Repair Steam Service: Exit Steam, open a command prompt as administrator, and run: "C:\Program Files (x86)\Steam\bin\Steamservice.exe" /repair.
Run as Admin: Set both Steam.exe and Shogun2.exe to "Run as Administrator" in their compatibility settings.
💡 Key Point: Most "missing txt" errors in older Total War titles are false flags for corrupted user profile data. If you'd like, I can help you:
Find the exact file path for other Total War titles (like Rome II or Warhammer).
Troubleshoot DirectX 11 specific crashes if the game still won't open.
Guide you through manual script editing to force the game into a lower DX mode.
The "localization dx11.txt missing" error is a common launch issue in older Total War titles, most notably Shogun 2 and its expansions like Fall of the Samurai. This error typically occurs when the game's launcher or engine cannot find the necessary configuration files for DirectX 11 rendering, often leading to a black screen or immediate crash to desktop. Common Causes of the Error
This issue is rarely about a single "missing" text file. Instead, it is usually a symptom of one of the following:
Corrupted Cache Files: Leftover files in your user AppData folder can prevent the game from initializing a new session.
Missing Redistributables: Essential software components like Visual C++ or DirectX 11 libraries may not have installed correctly through Steam.
Compatibility Layers (Linux/Steam Deck): Players using Proton may find that certain DirectX 11 DLLs are not being emulated properly.
Permissions: Windows may block the execution of redistributable files if the game or Steam was not installed with appropriate administrator rights. Step-by-Step Fixes for Windows Users 1. Clear the "Creative Assembly" AppData Folder
Many users report that deleting the game's roaming data solves the problem. This folder stores temporary UI and shader caches that frequently corrupt. Press Win + R, type %appdata%, and press Enter.
Navigate to The Creative Assembly and then the specific game folder (e.g., Shogun2).
Keep your save_games folder but delete everything else in this directory.
Restart the game. It will automatically regenerate clean versions of these files. 2. Re-run Game Redistributables
Steam often fails to trigger the installation of required helper software.
Navigate to your game's installation folder (typically C:\Program Files (x86)\Steam\steamapps\common\[Game Name]\redist).
Manually run every executable in this folder, specifically vcredist_x86.exe and any DirectX installers. 3. Verify Integrity of Game Files
If a file truly is missing, Steam's built-in tool can replace it. Right-click the game in your Steam Library. Select Properties > Installed Files. Click Verify integrity of game files. 4. Reset the Preferences Script
If the game is trying to force settings your hardware or drivers no longer support, you can reset it manually.
In the %appdata%\The Creative Assembly\[Game Name]\scripts folder, delete or rename preferences.script.txt.
The game will launch with default settings on the next boot. Solutions for Linux and Steam Deck
On Linux-based systems, this error often stems from the game attempting to use native DirectX 11 features that Proton hasn't fully mapped.
Force Compatibility: In Steam, right-click the game, go to Properties > Compatibility, and check "Force the use of a specific Steam Play compatibility tool." Try using Proton Experimental or a stable version like Proton 7.0.
Protontricks: For advanced users, use the Protontricks tool to install specific Windows DLLs like d3dx11_43 and d3dcompiler_43 into the game's prefix. Summary Table: Quick Fixes FAll of the samurai *Localization dx11.txt missing!
How to Fix "localization dx11.txt missing" in Total War: Shogun 2
The "localization dx11.txt missing" error is a common launch issue in Total War: Shogun 2 and sometimes
typically occurs because of corrupted cache files in your AppData folder or issues with the DirectX 11 redistribution files Steam Community 1. Clear Corrupted AppData Cache
The most effective fix is to delete specific cache folders that frequently become corrupted. These files will be automatically regenerated when you next launch the game. , and hit Enter. Navigate to: The Creative Assembly Delete the following folders (if they exist): (Note: This will reset your game settings). Do not delete the save_games folder if you want to keep your progress. Steam Community 2. Verify Steam Game Integrity
Steam can automatically detect and replace missing or corrupted files, such as the missing file mentioned in the error. Steam Library Right-click on Total War: SHOGUN 2 Properties Installed Files Local Files
The error message "localization_dx11.txt missing" in Total War games (common in Shogun 2, Rome II, and Attila) usually occurs because the game's launcher or language files are corrupted or incorrectly configured. 🛠️ Primary Fixes Verify Game Files: Open Steam Library. Right-click the Total War title and select Properties.
Go to Installed Files and click Verify integrity of game files. This replaces missing text files. Change Language Settings: In the same Properties menu, go to the Language tab.
Switch the language to something else (e.g., French), wait for the small download, then switch back to English. This forces Steam to re-download the localization folder. Delete the Script Folder: Press Win + R, type %appdata%, and hit Enter.
Navigate to The Creative Assembly > [Your Game Title] > scripts.
Delete the preferences.script.txt file. The game will generate a fresh one on the next launch. ⚠️ Common Conflict: Mod Issues
If you use mods, the error is often caused by an outdated Localization Mod or a conflict in the data folder.
Disable All Mods: Uncheck everything in the Total War Launcher to see if the game starts. Check the Data Folder: Go to SteamLibrary\steamapps\common\[Your Game Title]\data.
Look for any .pack files that don't look like official game files (often starting with "@" or a modder's name) and move them out of the folder.
💡 Pro Tip: If you recently upgraded to Windows 11, try running the game's .exe file as an Administrator or in Compatibility Mode for Windows 7, as the DX11 hook can sometimes be blocked by system permissions. If these steps don't work, could you tell me: Which specific Total War game are you playing? Did this start after installing a mod or a Windows update? Are you using the Steam or Epic Games version?
Here is the "proper piece" (solution) to resolve this issue.
When Nothing Works
- Reinstall the game completely after manually deleting leftover folders in both
steamapps/commonandAppData/Roaming/The Creative Assembly. - Contact Creative Assembly support with your
logsfolder content (located inAppData/Roaming/The Creative Assembly/[GameName]/logs).
This error is almost always fixable without reinstalling Windows. Start with verifying game files — that resolves 90% of cases.
If you're encountering an error that mentions a missing dx11.txt file in Total War, here are some steps you can take:
2. Disable conflicting mods
If you use mods, one of them may be overriding or removing localization files.
Try:
- Disable all mods and launch the game.
- If the error disappears, re-enable mods one by one to find the culprit.
Introduction
Few things are more frustrating than settling in for a long campaign in Total War, only to have the game crash before the splash screen even appears. A particularly cryptic error has plagued Creative Assembly’s titles for years: "localization dx11.txt missing."
This error typically appears as a pop-up window stating that the game cannot find a specific text file related to language settings or DirectX 11 rendering. The result? The game refuses to launch.
This long-format guide will explain exactly why this error occurs and provide 10 tested solutions, ranging from simple verification steps to advanced registry edits.