This record body is not yet translated for your locale and is shown in English.
REDmod archive priority and DX12 shader cache staging guide
Deterministic load-order guide for REDmod archives and Cyber Engine Tweaks script hooks on build v2.21 across Windows PC installs. Enforces explicit modlist.json priority rules and isolated DX12 shader cache directories so stale pipeline artifacts do not crash launches. Budget 4 GiB extra SSD overhead for compiled game scripts.
Archive priority hierarchy
REDengine resolves resource overrides strictly by alphabetical filename order unless controlled through modlist.json. Always assign numeric prefixes (001_, 010_) when two packs modify tweakdb.bin.
| Layer | Directory | Precedence | Rebuild command |
|---|---|---|---|
| Base game | archive/pc/content |
Lowest | N/A |
| Legacy patch mods | archive/pc/mod |
Medium | Automatic on load |
| REDmod compiled | mods/<name>/archives |
Highest | redMod.exe deploy |
Rebuilding the shader cache
Clear compiled pipelines cleanly without disturbing player settings:
rm -rf "$LOCALAPPDATA/CD Projekt Red/Cyberpunk 2077/ShaderCache"
"./tools/redmod/bin/redMod.exe" deploy -modpath="./mods"Confirm exit code 0 and check r6/logs/redscript_rCURRENT.log for zero REDSCRIPT_VALIDATION_ERROR entries before entering gameplay.
Artifact manifest
| Path | Role | Bytes | SHA-256 |
|---|---|---|---|
| tools/redmod/bin/redMod.exe | installer | 19 398 656 | e2b4a9253c4d857f2a3b1c0d9e8f7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e05 |
| r6/config/modlist.json | config | 4 096 | f3c5b0364d5e968a3b4c2d1e0f9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d3e2f16 |
Známé režimy selhání
| Error / code | Observed symptom | Root cause | Mitigation |
|---|---|---|---|
| ERR_REDSCRIPT_CACHE_CONFLICT | Dialogue triggers vanish or vehicles spawn without physics meshes after loading mods. | Mismatched final.redscripts compiled against an older 2.13 base archive. | Delete r6/cache/final.redscripts and regenerate via redscript-cli compile. |
| ERR_CET_OVERLAY_BLOCK | Cyber Engine Tweaks fails to hook DX12 swapchain when third-party FPS overlays run. | PresentMon or RivaTuner hooks injected before bin/x64/version.dll. | Disable external frame overlays during initial menu boot and re-enable after CET initializes. |
Co není ověřeno
- Proton 9.0-3 Experimental compatibility with redMod.exe CLI deploy flags on SteamOS remains unverified.
- Multi-GPU setups running asymmetric shader caches have not been tested.
Související záznamy
Ověřovací zprávy
Reviews remain in their original author language.
Accurate notes on RivaTuner present-hook collisions with Cyber Engine Tweaks. Leaving RTSS off until reaching the main menu resolved the blank overlay problem every time.
Deleting final.redscripts and setting numeric prefixes inside modlist.json immediately stopped the NPC dialogue freeze after updating from 2.13 to 2.21.