diff --git a/sfse/PapyrusNativeFunctions.h b/sfse/PapyrusNativeFunctions.h index 86dd2be..0f89cc1 100644 --- a/sfse/PapyrusNativeFunctions.h +++ b/sfse/PapyrusNativeFunctions.h @@ -159,7 +159,7 @@ STATIC_ASSERT(sizeof(NativeFunctionBase) == 0x50); // 58 // this should be fully functional for deriving -class NativeFunction: public NativeFunctionBase +class NativeFunction : public NativeFunctionBase { public: NativeFunction() = delete; diff --git a/sfse_common/sfse_version.h b/sfse_common/sfse_version.h index ed2ae9a..f7f78d6 100644 --- a/sfse_common/sfse_version.h +++ b/sfse_common/sfse_version.h @@ -22,8 +22,11 @@ #define RUNTIME_TYPE_EPIC 2 #define RUNTIME_TYPE_MSSTORE 3 +#define RUNTIME_VERSION_0_0_3 MAKE_EXE_VERSION(0, 0, 3) // 0x00000030 ms store early versions +#define RUNTIME_VERSION_1_0_17 MAKE_EXE_VERSION(1, 0, 17) // 0x01000110 ms store early versions +#define RUNTIME_VERSION_1_2_20 MAKE_EXE_VERSION(1, 2, 20) // 0x01020140 ms store early versions #define RUNTIME_VERSION_1_6_35 MAKE_EXE_VERSION(1, 6, 35) // 0x01060230 version reported by ms store before release -#define RUNTIME_VERSION_1_7_23 MAKE_EXE_VERSION(1, 7, 23) // 0x01070170 early access patch +#define RUNTIME_VERSION_1_7_23 MAKE_EXE_VERSION(1, 7, 23) // 0x01070170 early access/wide release patch #define PACKED_SFSE_VERSION MAKE_EXE_VERSION(SFSE_VERSION_INTEGER, SFSE_VERSION_INTEGER_MINOR, SFSE_VERSION_INTEGER_BETA) diff --git a/sfse_loader/IdentifyEXE.cpp b/sfse_loader/IdentifyEXE.cpp index eba0c93..5616b8f 100644 --- a/sfse_loader/IdentifyEXE.cpp +++ b/sfse_loader/IdentifyEXE.cpp @@ -195,8 +195,7 @@ static bool IsUPXImage(const u8 * base) static bool IsWinStoreImage(const u8 * base) { - // .xbld section shows up in the steam version, need to look for some other import - return false; + return HasImportedLibrary(base, "XCurl.dll"); // or api-ms-win-core-psm-appnotify-l1-1-0.dll } static bool IsGOGImage(const u8 * base)