- All games
- Cyberpunk 2077
- Mods
- Modders Resources
- RED4ext
RED4ext
-
Endorsements
-
Unique DLs--
-
Total DLs--
-
Total views--
-
Version1.13.1
- Download:
- Manual
File information
Last updated
Original upload
Created by
WopsSUploaded by
WopsSVirus scan
Safe to use
Tags for this mod
Current section
About this mod
A script extender for REDengine 4.
- Requirements
-
This mod does not have any known dependencies other than the base game.
Mods requiring this file
- Permissions and credits
-
Credits and distribution permission
- Other user's assets All the assets in this file belong to the author, or are from free-to-use modder's resources
- Upload permission You are not allowed to upload this file to other sites under any circumstances
- Modification permission You must get permission from me before you are allowed to modify my files to improve it
- Conversion permission You are not allowed to convert this file to work on other games under any circumstances
- Asset use permission You must get permission from me before you are allowed to use any of the assets in this file
- Asset use permission in mods/files that are being sold You are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
- Asset use permission in mods/files that earn donation points You are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
This mod is opted-in to receive Donation Points
- Mirrors
-
Name GitHub - Changelogs
-
-
Version 1.13.1
- Fixes
- Fixed an issue where the REDscript paths were not being correctly passed to the compiler.
- Fixes
-
Version 1.13.0
- New features
- Plugins can now add custom REDscript files to the compilation process.
- New features
-
Version 1.12.0
- New features
- Support for patch 1.62 hotfix 1.
- New features
-
Version 1.11.1
- Fixes
- Fixed an issue where incompatible plugins were being logged with file versions instead of game patches. Now, the correct game patch version is logged, making it easier for users to identify and address plugin compatibility issues.
- Fixes
-
Version 1.11.0
- New features
- Support for patch 1.62. - Changes
- Use patch numbers when logging supported game versions instead of file version numbers for clarity and consistency.
- New features
-
Version 1.10.1
- Fixes
- Fix an issue where RED4ext was loaded too late into the game or not loaded at all.
- Fixes
-
Version 1.10.0
- New features
- Support for patch 1.61 hotfix 1.
- New features
-
Version 1.9.0
- New features
- Support for patch 1.61.
- New features
-
Version 1.8.0
- New features
- Support for The Edgerunners Update (patch 1.6).
- New features
-
Version 1.7.0
- Breaking changes
- Plugins are loaded using the Alternate Search Order (see docs on Microsoft.com, https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order#alternate-search-order-for-desktop-applications). - New features
- Changed how RED4ext is loaded into the game process. - Fixes
- Fixed an issue where all hooks were detached instead of detaching only one.
- Fixed an issue where RED4ext will report an warning if a DLL doesn't export the 'Supports' function (some DLLs might be dependencies).
- Fixed an issue where the plugin's logger name would not match the filename.
- Breaking changes
-
Version 1.6.1
- New features
- Support for patch 1.52 (GOG) and patch 1.52 hotfix 1 (Steam).
- New features
-
Version 1.6.0
- New features
- Support for patch 1.52 hotfix 1. - Changes
- Updated fmtlib to version 8.1.1.
- Updated spdlog to version 1.10.0.
- Updated toml11 to version 3.7.1.
- Updated wil to microsoft/[email protected]
- New features
-
Version 1.5.0
- New features
- Support for patch 1.52. - Changes
- Changed the default flush level from error to info.
- New features
-
Version 1.4.0
- New features
- Support for the patch 1.5 Hotfix 2.
- Better detection of different game versions.
- New features
-
Version 1.3.1
- New features
- Support for the new 1.5 patch (released on 19th February 2022).
- New features
-
Version 1.3.0
- Breaking changes
- RED4ext::IRED4ext has been removed. RED4ext::Sdk has been introduced as a replacement.
- Functions such as RED4ext::IRED4ext::GetHookingInterface have been converted to variables, RED4ext::Sdk::hooking
- The Load, Unload and PostLoad functions has been removed. Use game states to implement this behavior.
- The plugin interface system has been removed.
- The trampoline system has been removed.
- Create and Remove functions have been removed. Use Attach and Detach.
- The hooking do not have a RED4ext::IHooking::FindPattern(...) function. There is no alternative provided by the SDK. - New features
- Added configuration file (config.ini), see the docs (https://docs.red4ext.com/getting-started/configuration) for more info.
- Added support for custom game states. See the docs (https://docs.red4ext.com/mod-developers/custom-game-states) for more information.
- Added a logging functionality for plugins. See the docs (https://docs.red4ext.com/mod-developers/logging) for more information.
- Main(RED4ext::PluginHandle, RED4ext::EMainReason, const RED4ext::Sdk*) has been introduced as a replacement for DllMain. The behavior of the Main function is the almost the same as DllMain, except that it does extra checks to make sure that the plugin is compatible with the game. If you used DllMain to attach hooks before the game started, you can safely do it from the Main function. - Improvements
- Improved the detection of the game. If the main game crashes before the mod is loaded, RED4ext will not be loaded in the crash reporter anymore.
- Improved the error handling, now if something goes wrong before the logger is initialized a message box should appear describing the problem.
- Improved the log messages, giving a clear overview in case there is a problem.
- Improved the development console, now the error stream should be opened too. - Changes
- Changed how RED4ext is loaded into the game process. Starting with this version the CET compatible version (red4ext_<version>_compatible_with_cet.zip) will not be uploaded anymore.
- Increased the maximum number of log files to 5, the log file will be rotated every time the mod is initialized.
- Set the maximum size of a log file to 10 MB, if the file is bigger the log file will be rotated. - Fixes
- Fixed a memory leak when attaching the hooks.
- Breaking changes
-
Version 1.2.1
- Fixes
- Fixed multiple possible exceptions when dealing with the filesystem. (Thanks Maks788 for the help)
- Fixes
-
Version 1.2.0
- Fixes
- Use a better library to hook the game's function.
- Fixes
-
Version 1.1.1
- Fixes
- Fixed thread access violations when writing to the log file.
- Fixed a buffer overflow.
- Fixes
-
Version 1.1.0
- Improvements
- Load plugin in memory earlier and initialize them later. Using this approach one could hook a function (with a third party library) before Load function is called. - Fixes
- Fixed a problem when hooking functions with an indirect jump instruction.
- Fixed a problem where the loader will try to load RED4ext.dll even if it does not exist.
- Improvements
-
Version 1.0.2
- Fixes
- Fixed the bug where plugins using the latest RED4ext.SDK version would not get loaded with the following error: "PluginName reported unsupported API version (0)"
- Fixes
-
Version 1.0.1
- Improvements
- Plugins directory will now be searched recursively. - Fixes
- Fixed the bug where RED4ext will use the module location as root path instead of `game_root/red4ext`.
- Improvements
-
Version 1.0.0
- Initial release
-
- Donations
-
Premium membership donations accepted
RED4ext is a library that extends REDengine 4. It will allow modders to add new features, modify the game behavior, add new scripting functions or call existing ones in your own plugins.
This library is similar to:
This library is split into two parts:
If you are developing a new plugin, add only RED4ext.SDK in your project structure.
Installing
Uninstall
The complete / most up to date documentation is now available at docs.red4ext.com.
This library is similar to:
This library is split into two parts:
- RED4ext - This project which consist of the loader, it only takes care of managing plugins.
- RED4ext.SDK - This project contains the reversed types and helpers to extend the engine, it can be used independently of RED4ext.
If you are developing a new plugin, add only RED4ext.SDK in your project structure.
Installing
- Download the latest zip (e.g. red4ext_x.y.z.zip) from GitHub or NexusMods.
- Extract the content of the archive in the game's directory.
- Launch the game.
- (Optional) Check the log file in <game_directory>/red4ext/logs/red4ext.log to make sure everything works.
Uninstall
- Remove d3d11.dll / powrprof.dll from <game_directory>/bin/x64.
- (Optionally) Remove red4ext directory from <game_directory>.
The complete / most up to date documentation is now available at docs.red4ext.com.