赛博朋克2077使用RED4ext在vs中运行的示例代码
Go to file
2021-04-20 18:36:58 +03:00
.github/workflows Initial commit 2021-04-20 18:36:58 +03:00
deps Initial commit 2021-04-20 18:36:58 +03:00
src Initial commit 2021-04-20 18:36:58 +03:00
.clang-format Initial commit 2021-04-20 18:36:58 +03:00
.editorconfig Initial commit 2021-04-20 18:36:58 +03:00
.gitattributes Initial commit 2021-04-20 18:36:58 +03:00
.gitignore Initial commit 2021-04-20 18:36:58 +03:00
.gitmodules Initial commit 2021-04-20 18:36:58 +03:00
LICENSE.md Initial commit 2021-04-20 18:36:58 +03:00
README.md Initial commit 2021-04-20 18:36:58 +03:00
RED4ext.Example.VisualStudio.sln Initial commit 2021-04-20 18:36:58 +03:00

RED4ext.Example using Visual Studio

An example of a RED4ext plugin using Visual Studio.

Build instructions

Steps

  1. Download and install Visual Studio 2019 Community Edition or a higher version.
  2. Clone this repository.
  3. Clone the dependencies (git submodule update --init --recursive).
  4. Open the solution (RED4ext.Example.VisualStudio.sln).
  5. Build the project (the artifacts are located in build/{debug|release} directory).

Notes:

  • The plugin has to be a 64-bit library. That means all required libraries have to be compiled in 64-bit and the compiler has to support 64-bit.
  • Make sure you have the latest SDK by updating it using the following commands:
    • cd deps/red4ext.sdk
    • git pull / git fetch
    • git checkout master
  • You can also generate the projects from command line, see the build.yml in .github/workflows/build.yml.