Inside the folder, delete the Data folder, ModernWarfare.exe , and Modern Warfare Launcher.exe .
Steam will identify the broken fast files and acquire fresh ones. Method 2: Forcing a Clean Update (The Directory Purge)
Sometimes the code-pre-gfx.ff error occurs due to how the game handles cached lighting files on your hard drive. Disabling specific features can act as a reliable workaround:
The client will detect that core launcher data is missing and safely redownload the necessary files without requiring you to download the full 100GB+ game again. Method 3: Modifying In-Game Graphics Settings