If you are trying to launch a Total War game (typically Total War: Shogun 2, Empire, or Napoleon) and are greeted by a crash-to-desktop (CTD) accompanied by an error message regarding "localization dx11.txt", you aren't alone.
This is a classic error that has plagued players for years, particularly after moving the game to a new hard drive, reinstalling Windows, or verifying game files via Steam. localization dx11.txt missing total war
Here is exactly what causes this error and how to fix it. Fixing the "Localization DX11
This forces Steam to check for missing or corrupted files and re-download them. Open Steam and go to your Library
dx11.txt file if it was deleted.Sometimes the error is not a missing file, but a corrupted user preference file pointing to the wrong location.
Windows + R on your keyboard.%appdata% and press Enter.The Creative Assembly > [Your Game] > scripts.scripts folder (don’t worry – the game will rebuild it on launch).These titles are more sensitive to missing text files. In some cases, switching the game language in Steam (e.g., from English to German and back) forces Steam to redownload the localization pack.
How to change language: