赛博朋克2077使用RED4ext在vs中运行的示例代码
Go to file
echo cd26073f29
Some checks are pending
Build Workflow / Build (${{ matrix.config }}) (Debug) (push) Waiting to run
Build Workflow / Build (${{ matrix.config }}) (Release) (push) Waiting to run
tongbu
2025-03-26 19:20:01 +08:00
.github/workflows Initial commit 2021-04-20 18:36:58 +03:00
deps Update RED4ext.SDK 2022-09-06 21:57:44 +02:00
src Add links to the docs in the comments 2022-07-19 22:55:56 +02:00
.clang-format Update .clang-format, .editorconfig and .gitignore 2022-07-19 22:54:39 +02:00
.editorconfig Update .clang-format, .editorconfig and .gitignore 2022-07-19 22:54:39 +02:00
.gitattributes Initial commit 2021-04-20 18:36:58 +03:00
.gitignore Update .clang-format, .editorconfig and .gitignore 2022-07-19 22:54:39 +02: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 Update build instructions to use Visual Studio 2022 2022-03-06 15:00:23 +01:00
RED4ext.Example.VisualStudio.sln Initial commit 2021-04-20 18:36:58 +03:00
test.tar.gz tongbu 2025-03-26 19:20:01 +08:00

RED4ext.Example using Visual Studio

An example of a RED4ext plugin using Visual Studio.

Build instructions

Steps

  1. Download and install Visual Studio 2022 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.