WopsS / RED4ext.SDK

A library to create mods for REDengine 4 (Cyberpunk 2077), independently of RED4ext.
MIT License
93 stars 31 forks source link

Building with latest sdk causes runtime error #82

Closed dkollmann closed 1 year ago

dkollmann commented 1 year ago

Description

I build my mod with the latest sdk, but at runtime I get an error.

[2023-07-02 19:04:33.824] [RED4ext] [warning] Cyberpunk 2077 Furigana (version: 1.2.6) is incompatible with the current patch (1.63 Hotfix 1). This version of the plugin was compiled for patch 1.63

Steps to reproduce

Build your mod for the latest SDK:

RED4EXT_C_EXPORT void RED4EXT_CALL Query(RED4ext::PluginInfo* aInfo)
{
    aInfo->name = L"Cyberpunk 2077 Furigana";
    aInfo->author = L"Daniel Kollmann";
    aInfo->version = RED4EXT_SEMVER(1, 2, 6);
    aInfo->runtime = RED4EXT_RUNTIME_LATEST;
    aInfo->sdk = RED4EXT_SDK_LATEST;
}

RED4EXT_C_EXPORT uint32_t RED4EXT_CALL Supports()
{
    return RED4EXT_API_VERSION_LATEST;
}

Expected behavior

Building with the latest version tags should create a compatible plugin file.

Examples

Game details (please complete the following information): GOG v1.63 hotfix 1

Additional context

dkollmann commented 1 year ago

Okay please wait. It seems something has changed with the folder structure.