This project aims to create a dissembler and a compiler for CP77 RED4 Scripts.
Currently the project is focused on dissembling the scripts and after start implementing a compiler as that is the more complex project.
This project is very early stages, don't expect it to work or be maintained very well. As more work is done the code-base will be improved and refactored.
This project is using the zlib license and heavily makes use of Gibbed's RED4 library for processing the script opcodes's. Thanks to Gibbed for creating such a useful library very early on.
- Clone the github repository and recursively include git modules:
git clone --recurse-submodules -j8 https://github.com/CallumCarmicheal/Red4Assembler.git
- Open
Red4Assembler.sln
in Visual Studio. - Build all projects.
- Open
projects\Red4Assembler\bin\{Debug|Release}
- Launch
Red4Assembler.exe
with the path toCyberpunk 2077\r6\cache\final.redscripts
or Copyfinal.redscripts
into the current folder and just runRed4Assembler.exe
. - Open the folder
projects\Red4Assembler\bin\{Debug|Release}\Red4Assembler
to see the output.
There are currently no rules for contributing as the source code is a mess, If you think you have something to add; fork the repository and create a pull request. Embrace the chaos.