Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou 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 soldYou 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 pointsYou 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
New features - Support for patch 1.52 (GOG) and patch 1.52 hotfix 1 (Steam).
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]
Version 1.5.0
New features - Support for patch 1.52.
Changes - Changed the default flush level from error to info.
Version 1.4.0
New features - Support for the patch 1.5 Hotfix 2. - Better detection of different game versions.
Version 1.3.1
New features - Support for the new 1.5 patch (released on 19th February 2022).
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.
Version 1.2.1
Fixes - Fixed multiple possible exceptions when dealing with the filesystem. (Thanks Maks788 for the help)
Version 1.2.0
Fixes - Use a better library to hook the game's function.
Version 1.1.1
Fixes - Fixed thread access violations when writing to the log file. - Fixed a buffer overflow.
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.
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)"
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`.
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.