To summarize:

Open the in-game settings, navigate to Graphics , and change both Cache Spot Shadows and Cache Sun Shadows to Disabled . Summary Checklist for Dev Error 6036 Expected Outcome Verify Files Steam / Battle.net Replaces the corrupted code-pre-gfx.ff automatically. Delete Indices Local Directory Forces the launcher to check file integrity again. Disable Cache In-game Settings Prevents storage conflicts that trigger Dev Error 6036. If you'd like more tailored troubleshooting, let me know: Which platform you are using (Battle.net or Steam)? Which Call of Duty title is generating the error?

This is the most reliable way to "download" a clean version of the file. Right-click the game in your Steam Library. Select Properties > Installed Files (or Local Files ).

If you're simply trying to create a file named "code-pre-gfx.ff" and write some content to it, here's a basic example in Python: