Generated coverREDengine script toolkit
REDscript: Compile, lint, and decompile REDengine .redscripts
Category: Developer & security tools · Type: Analysis tool
Target: Cyberpunk 2077 REDscript / .redscripts · Rust
A compiler, decompiler, and related toolchain for REDscript, the scripting language used by CD Projekt's REDengine in Cyberpunk 2077. The CLI can compile and lint community .reds sources, decompile an existing .redscripts bundle back to source, format files, and transpile to native REDmod scripts; it also ships an scc drop-in replacement for the official compiler. It does not redistribute the game, and REDmod analysis/transpilation is documented as partial.
Relationship
Independent reimplementation
Evidence scope
Upstream README describes a statically-typed REDscript language for Cyberpunk 2077, with redscript-cli commands compile, lint, decompile, format, and transpile-redmod, a dedicated decompiler crate, and an scc drop-in for the original CD Projekt compiler. REDmod analysis and transpilation are documented as partial. No REA involvement is claimed.
Know before you try
Compile-on-startup installation is documented for Windows and a manual macOS path; the README notes that on macOS (non-Wine) the game currently does not compile scripts on startup unless launched via the bundled script. REDmod support is partial and is not claimed to be runtime-complete. Language-server/debugger integration lives in a separate redscript-ide repository. Behavior against a particular game patch was not personally verified. We have not independently tested it.
Status
Actively maintained; tip pushed 2026-11-18; latest GitHub release v1.0.1 (2026-11-16)
License
MIT
MIT covers the project-authored toolchain. Cyberpunk 2077, REDengine, and related names are trademarks of CD Projekt; no affiliation is documented. Game files and official script bundles are not included.
Source checked