Skip to content

Commit

Permalink
[CKPE]
Browse files Browse the repository at this point in the history
SSE:
- 1378.1: software find rva by signature, with some manual change, unstable, "Crash Inventory Iterator" patch is excluded.
  • Loading branch information
Perchik71 committed Nov 25, 2024
1 parent cf83275 commit 2e68a4c
Show file tree
Hide file tree
Showing 141 changed files with 6,315 additions and 11,580 deletions.
20 changes: 10 additions & 10 deletions Creation Kit Platform Extended Core/Core/CoreCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@ namespace CreationKitPlatformExtended
// Список названий редакторов
static std::vector<std::string_view> allowedEditorVersionStr = {
"Unknown version",
//"Skyrim Special Edition [v1.5.3]",
"Skyrim Special Edition [v1.5.3]",
"Skyrim Special Edition [v1.5.73]",
//"Skyrim Special Edition [v1.6.438]",
"Skyrim Special Edition [v1.6.438]",
"Skyrim Special Edition [v1.6.1130]",
"Skyrim Special Edition [v1.6.1378.1]",
"Fallout 4 [v1.10.162.0]",
//"Fallout 4 [v1.10.943.1]",
"Fallout 4 [v1.10.943.1]",
"Fallout 4 [v1.10.982.3]",
//"Starfield [v1.13.61.0]",
//"Starfield [v1.14.70.0]",
"Starfield [v1.13.61.0]",
"Starfield [v1.14.70.0]",
"Starfield [v1.14.74.0]",
};

Expand Down Expand Up @@ -147,18 +147,18 @@ namespace CreationKitPlatformExtended
{
switch (editorVersion)
{
//case EDITOR_SKYRIM_SE_1_5_3:
case EDITOR_SKYRIM_SE_1_5_3:
case EDITOR_SKYRIM_SE_1_5_73:
//case EDITOR_SKYRIM_SE_1_6_438:
case EDITOR_SKYRIM_SE_1_6_438:
case EDITOR_SKYRIM_SE_1_6_1130:
case EDITOR_SKYRIM_SE_1_6_1378_1:
return EDITOR_SHORT_SKYRIM_SE;
case EDITOR_FALLOUT_C4_1_10_162_0:
//case EDITOR_FALLOUT_C4_1_10_943_1:
case EDITOR_FALLOUT_C4_1_10_943_1:
case EDITOR_FALLOUT_C4_1_10_982_3:
return EDITOR_SHORT_FALLOUT_C4;
//case EDITOR_STARFIELD_1_13_61_0:
//case EDITOR_STARFIELD_1_14_70_0:
case EDITOR_STARFIELD_1_13_61_0:
case EDITOR_STARFIELD_1_14_70_0:
case EDITOR_STARFIELD_1_14_74_0:
return EDITOR_SHORT_STARFIELD;
default:
Expand Down
2 changes: 0 additions & 2 deletions Creation Kit Platform Extended Core/Core/EngineSSEPatches.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
#include "Patches/SSE/UpdateUIWhenFogToggled.h"
#include "Patches/SSE/FixParamsATXT.h"
#include "Patches/SSE/NewFormat171.h"
#include "Patches/SSE/CrashGenMaxHeightData.h"
#include "Patches/SSE/TESDataHandlerHookSSE.h"
#include "Patches/SSE/FixFormIDsInLoadFile.h"
#include "Patches/SSE/IgnoreGroundHeightTest.h"
Expand Down Expand Up @@ -191,7 +190,6 @@ namespace CreationKitPlatformExtended
new Patches::UpdateUIWhenFogToggledPatch(),
new Patches::FixParamsATXTPatch(),
new Patches::NewFormat171Patch(),
new Patches::CrashGenMaxHeightDataPatch(),
new Patches::TESDataHandlerPatch(),
new Patches::FixFormIDsInLoadFilePatch(),
new Patches::IgnoreGroundHeightTestPatch(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@
<ClCompile Include="Patches\SSE\CrashCCCFiles.cpp" />
<ClCompile Include="Patches\SSE\CrashDuplicateWorldspace.cpp" />
<ClCompile Include="Patches\SSE\CrashFlowChartX.cpp" />
<ClCompile Include="Patches\SSE\CrashGenMaxHeightData.cpp" />
<ClCompile Include="Patches\SSE\CrashHairKS.cpp" />
<ClCompile Include="Patches\SSE\CrashInventoryIterators.cpp" />
<ClCompile Include="Patches\SSE\CrashMHDTMoreThan70.cpp" />
Expand Down Expand Up @@ -688,7 +687,6 @@
<ClInclude Include="Patches\SSE\CrashCCCFiles.h" />
<ClInclude Include="Patches\SSE\CrashDuplicateWorldspace.h" />
<ClInclude Include="Patches\SSE\CrashFlowChartX.h" />
<ClInclude Include="Patches\SSE\CrashGenMaxHeightData.h" />
<ClInclude Include="Patches\SSE\CrashHairKS.h" />
<ClInclude Include="Patches\SSE\CrashInventoryIterators.h" />
<ClInclude Include="Patches\SSE\CrashMHDTMoreThan70.h" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,6 @@
<ClCompile Include="Core\MemoryManager.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="Patches\SSE\CrashGenMaxHeightData.cpp">
<Filter>Patches\SSE</Filter>
</ClCompile>
<ClCompile Include="Patches\SSE\TESDataHandlerHookSSE.cpp">
<Filter>Patches\SSE</Filter>
</ClCompile>
Expand Down Expand Up @@ -1674,9 +1671,6 @@
<ClInclude Include="Core\MemoryManager.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="Patches\SSE\CrashGenMaxHeightData.h">
<Filter>Patches\SSE</Filter>
</ClInclude>
<ClInclude Include="Editor API\SSE\TESDataHandler.h">
<Filter>Editor API\SSE</Filter>
</ClInclude>
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace CreationKitPlatformExtended
bool CrashInventoryIteratorsPatch::QueryFromPlatform(EDITOR_EXECUTABLE_TYPE eEditorCurrentVersion,
const char* lpcstrPlatformRuntimeVersion) const
{
return eEditorCurrentVersion <= EDITOR_EXECUTABLE_TYPE::EDITOR_SKYRIM_SE_LAST;
return eEditorCurrentVersion <= EDITOR_EXECUTABLE_TYPE::EDITOR_SKYRIM_SE_1_6_1130;
}

bool CrashInventoryIteratorsPatch::Activate(const Relocator* lpRelocator,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace CreationKitPlatformExtended
bool CrashMHDTMoreThan70Patch::QueryFromPlatform(EDITOR_EXECUTABLE_TYPE eEditorCurrentVersion,
const char* lpcstrPlatformRuntimeVersion) const
{
return eEditorCurrentVersion == EDITOR_EXECUTABLE_TYPE::EDITOR_SKYRIM_SE_1_6_1130;
return eEditorCurrentVersion >= EDITOR_EXECUTABLE_TYPE::EDITOR_SKYRIM_SE_1_6_1130;
}

bool CrashMHDTMoreThan70Patch::Activate(const Relocator* lpRelocator,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace CreationKitPlatformExtended
bool CrashMergeFormsPatch::QueryFromPlatform(EDITOR_EXECUTABLE_TYPE eEditorCurrentVersion,
const char* lpcstrPlatformRuntimeVersion) const
{
return eEditorCurrentVersion == EDITOR_EXECUTABLE_TYPE::EDITOR_SKYRIM_SE_1_6_1130;
return eEditorCurrentVersion >= EDITOR_EXECUTABLE_TYPE::EDITOR_SKYRIM_SE_1_6_1130;
}

bool CrashMergeFormsPatch::Activate(const Relocator* lpRelocator,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace CreationKitPlatformExtended
bool MiscMessagesPatch::QueryFromPlatform(EDITOR_EXECUTABLE_TYPE eEditorCurrentVersion,
const char* lpcstrPlatformRuntimeVersion) const
{
return eEditorCurrentVersion == EDITOR_EXECUTABLE_TYPE::EDITOR_SKYRIM_SE_1_6_1130;
return eEditorCurrentVersion >= EDITOR_EXECUTABLE_TYPE::EDITOR_SKYRIM_SE_1_6_1130;
}

bool MiscMessagesPatch::Activate(const Relocator* lpRelocator,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ namespace CreationKitPlatformExtended
// Disable "Unable to initialize perforce, check your logs for more information."
lpRelocator->PatchNop(lpRelocationDatabaseItem->At(12), 6);

for (uint32_t i = 13; i < lpRelocationDatabaseItem->Count(); i++)
lpRelocator->PatchNop(_RELDATA_RAV(i), 5);

return true;
}

Expand Down
9 changes: 5 additions & 4 deletions Creation Kit Platform Extended Core/Patches/UIThemePatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,15 @@ namespace CreationKitPlatformExtended
{
// Main class Creation Kit
"Creation Kit",
"Creation Kit Skyrim Special Edition [v1.5.3]",
//"Creation Kit Skyrim Special Edition [v1.5.3]",
"Creation Kit Skyrim Special Edition [v1.5.73]",
"Creation Kit Skyrim Special Edition [v1.6.438]",
//"Creation Kit Skyrim Special Edition [v1.6.438]",
"Creation Kit Skyrim Special Edition [v1.6.1130]",
"Creation Kit Skyrim Special Edition [v1.6.1378.1]",
"Creation Kit Fallout 4 [v1.10.162.0]",
"Creation Kit Fallout 4 [v1.10.943.1]",
//"Creation Kit Fallout 4 [v1.10.943.1]",
"Creation Kit Fallout 4 [v1.10.982.3]",
"Creation Kit Starfield [v1.12.32.0]", // Qt5 makes it not valid
//"Creation Kit Starfield [v1.12.32.0]", // Qt5 makes it not valid
// Classes CK 2.0
"MAINMENU",
"CicMarshalWndClass",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ namespace CreationKitPlatformExtended
bool BNetUploadWindow::QueryFromPlatform(EDITOR_EXECUTABLE_TYPE eEditorCurrentVersion,
const char* lpcstrPlatformRuntimeVersion) const
{
// Upload for the editor only version CK 1.6.1130
return eEditorCurrentVersion == EDITOR_SKYRIM_SE_1_6_1130;
// Upload for the editor only version CK 1.6.1130 or newer
return eEditorCurrentVersion >= EDITOR_SKYRIM_SE_1_6_1130;
}

bool BNetUploadWindow::Activate(const Relocator* lpRelocator,
Expand Down
Binary file modified Creation Kit Platform Extended Core/Version/build_version.txt
Binary file not shown.
Binary file modified Creation Kit Platform Extended Core/Version/resource_version2.h
Binary file not shown.
6 changes: 6 additions & 0 deletions Database/SSE/1_6_1378_1/AddChangeRef.relb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Add Change Ref
1
extended
128FE65 130 FF15????????488B4C2458E8????????83F82475??488D05????????488944242041B9E39E000041B800040000BAFFFFFFFF488B442440488B4818FF15????????
1C12610 128 488954241048894C24084883EC3848837C2448000F84????????488B4C2440E8????????483B4424480F84????????41B00133D2488B4C2440E8????????488B
129025D 128 FF15????????488B4C2458E8????????83F82475??4533C0BAE39E0000488B442440488B4818FF15????????488B4C2458E8????????8BC8E8????????0FB6C0
5 changes: 5 additions & 0 deletions Database/SSE/1_6_1378_1/AllowMultipleWindowAndMaster.relb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Allow Multiple Window And Master
1
extended
1620CCA 0 0FB644243085C075??488B4C2468E8????????-2D
13D529B 128 74??488B8C24A8010000FF15????????E8????????E8????????48898424B0010000488B8424B0010000488B00488B8C24B0010000FF5010FF15????????C784
5 changes: 5 additions & 0 deletions Database/SSE/1_6_1378_1/AllowPlayerKnowsCondition.relb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Allow PlayerKnows Condition
1
extended
1465190 128 48894C24084883EC4848C74424380000000048C74424300000000048C74424280000000048C7442420000000004533C941B001B212488B4C2450E8????????48
1464E30 130 44884C242044884424188854241048894C24084881ECC800000048C7842490000000FEFFFFFF4883BC24D0000000000F84????????0FB68424E000000085C074??
15 changes: 15 additions & 0 deletions Database/SSE/1_6_1378_1/AllowSaveESMandMasterESP.relb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Allow Save ESM and Master ESP
1
extended
1650C50 0 E8????????488B4424604883B8D00400000074??488B442460488B-25
1650CE0 0 v0_0D????????41B001BA64000000488D8C2488000000E8????????-22
164A8C0 122 48894C24084883EC28488B4C2430E8????????4885C074??488B4C2430E8????????488BC8E8????????EB??488B4424300FB680780400004883C428C3
1648B80 0 4C8D0D????????41B001BA64000000488D4D48E8????????-27
16493E0 0 4C8D0D????????41B001BA64000000488D8C24A8000000E8????????-20
13B2124 0 33C0E9????????488B4C2428E8????????0FB6C085C074-C
162097E 116 75??488B4C2428E8????????0FB6C085C074??8B442420FFC089442420488B4C2430E8????????4889442430E9????????8B4424204883C448C3
162438A 134 E8????????0FB6C085C075??488B4C2448E8????????0FB6C085C074??488B4C2448E8????????4C8BC84C8D05????????BA00020000488B8C24B0000000E8????????
2FBF000 0 <nope>
1466BA0 128 4C894C24204488442418488954241048894C24084881EC98000000488D05????????48898424800000004883BC24A80000000074??488B8424A8000000488984
163B749 132 E8????????0FB6C085C074??488B442440488B00488B08E8????????4889442420488B4C2440488B4908488B09E8????????488B4C2420488BD1488BC8E8????????
14662B0 132 4C894C24204C89442418488954241048894C24084881EC680500004883BC24B00500000074??83BC24B80500000074??4883BC24780500000075??32C0E9????????
22 changes: 22 additions & 0 deletions Database/SSE/1_6_1378_1/AlteredFormListAndReferenceMap.relb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Altered Form List And Reference Map
1
extended
169C980 86 894C24084883EC5848C7442440FEFFFFFF48C744242800000000488D15????????488D4C2420E8????????
16AAC90 0 <nope>
1368CB0 0 <nope>
144E540 0 <nope>
1642CD0 0 <nope>
1483250 0 <nope>
11D45F0 0 <nope>
13656F0 0 <nope>
16A48F0 0 <nope>
16A4D30 128 8854241048894C24084883EC5848C7442440FEFFFFFF48C7442420000000004C8D442420488B542460488B0D????????E8????????0FB6C085C074??48837C24
16A4DF0 128 48894C24084883EC4833D2488B4C2450E8????????488944242048837C24200074??488B542450488B0D????????E8????????488B4424204889442430488B44
144FF10 0 <nope>
16A4ABE 0 E8????????488B05????????4889842480000000488B-2A
16A4C7F 0 <nope>
1621708 0 <nope>
169D862 128 E8????????488B8424800000008B401083C802488B8C2480000000894110488B8C2480000000E8????????0FB6C085C075??E8????????488BC8E8????????0F
169D166 128 E8????????488B8C24B0000000E8????????488B8C24B0000000E8????????85C074??488B8424B00000004883C018488BD0488D4C2478E8????????48894424
169D913 90 E8????????488B8424800000008B401083E0FD488B8C2480000000894110488D4C2458E8????????4883C478C3
169D83D 128 E8????????0FB6C085C075??488B8424800000004889442440488D542440488B0D????????E8????????488B8424800000008B401083C802488B8C2480000000
4 changes: 4 additions & 0 deletions Database/SSE/1_6_1378_1/BNetConvertUnicodeString.relb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
BNet Convert Unicode String
1
extended
293C210 0 <nope>
8 changes: 8 additions & 0 deletions Database/SSE/1_6_1378_1/BSArchiveManagerModded.relb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
BSArchiveManager Modded
1
extended
262F970 128 4885C90F84????????55565741564157488D6C24C94881EC9000000048C745D7FEFFFFFF48899C24C80000004D8BF0488BDA488BF18039000F84????????C744
2637410 128 44884C242048894C24085556574154415541564157488BEC4883EC7048C745F8FEFFFFFF48899C24C0000000498BF84C8BE2488BF133DB895DCC4889194883C1
164A765 130 E8????????E8????????488BC8E8????????41B001488BD0488B4C2450E8????????488B4C2450E8????????0FB6C085C00F85????????488B4C2450E8????????
141B896 0 <nope>
1648B80 0 <nope>
Loading

0 comments on commit 2e68a4c

Please sign in to comment.