Skip to content

Commit

Permalink
#112 fix a quirk in skse gog (#116)
Browse files Browse the repository at this point in the history
* #112 fix a quirk in skse gog
  • Loading branch information
ryobg authored Feb 27, 2024
1 parent fcd6fdf commit 27500de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
image: Visual Studio 2019
version: '4.2.11.{build}'
version: '4.2.12.{build}'
platform: x64
branches:
only:
Expand Down
5 changes: 4 additions & 1 deletion src/JContainers/src/jcontainers_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace collections {

# define JC_API_VERSION 4
# define JC_FEATURE_VERSION 2
# define JC_PATCH_VERSION 11
# define JC_PATCH_VERSION 12

# define JC_FILE_VERSION JC_API_VERSION, JC_FEATURE_VERSION, JC_PATCH_VERSION, 0

Expand All @@ -21,18 +21,21 @@ namespace collections {
# define JC_PLUGIN_NAME "JContainersVR"
# define JC_SKSE_LOGS "\\My Games\\Skyrim VR\\SKSE\\"
# define JC_USER_FILES "My Games/Skyrim VR/JCUser/"
# define JC_SKYRIM_RUNTIME CURRENT_RELEASE_RUNTIME

#elif JC_SKSE_GOG

# define JC_PLUGIN_NAME "JContainersGOG"
# define JC_SKSE_LOGS "\\My Games\\Skyrim Special Edition GOG\\SKSE\\"
# define JC_USER_FILES "My Games/Skyrim Special Edition GOG/JCUser/"
# define JC_SKYRIM_RUNTIME RUNTIME_VERSION_1_6_1179_GOG

#else

# define JC_PLUGIN_NAME "JContainers64"
# define JC_SKSE_LOGS "\\My Games\\Skyrim Special Edition\\SKSE\\"
# define JC_USER_FILES "My Games/Skyrim Special Edition/JCUser/"
# define JC_SKYRIM_RUNTIME CURRENT_RELEASE_RUNTIME

#endif

Expand Down
4 changes: 2 additions & 2 deletions src/JContainers/src/skse_callbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ namespace {
"",
0, // not version independent
0,
{ CURRENT_RELEASE_RUNTIME, 0 },
{ JC_SKYRIM_RUNTIME, 0 },
0, // works with any version of the script extender. you probably do not need to put anything here
};
#endif
Expand Down Expand Up @@ -158,7 +158,7 @@ namespace {
JC_log("loaded in editor, marking as incompatible");
return false;
}
else if (skse->runtimeVersion != CURRENT_RELEASE_RUNTIME) {
else if (skse->runtimeVersion != JC_SKYRIM_RUNTIME) {
JC_log("unsupported runtime version %08X", skse->runtimeVersion);
return false;
}
Expand Down

0 comments on commit 27500de

Please sign in to comment.