Skip to content

Commit

Permalink
versions from ms store history
Browse files Browse the repository at this point in the history
  • Loading branch information
ianpatt committed Sep 11, 2023
1 parent 4511569 commit d7c9c18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sfse/PapyrusNativeFunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 4 additions & 1 deletion sfse_common/sfse_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
3 changes: 1 addition & 2 deletions sfse_loader/IdentifyEXE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d7c9c18

Please sign in to comment.