forked from Perchik71/Creation-Kit-Platform-Extended
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Supported only 8.1 or newer; - Install hook for mipmaps (DX11); SSE: - Fixed transparent water for CK 1.6.1130 or newer; - Fixed fog; FO4: - Fixed bad picture in render with sky enabled;
- Loading branch information
Showing
22 changed files
with
183 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
Creation Kit Platform Extended Core/Patches/FO4/FixBadPictureInRender.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
// Copyright © 2023-2024 aka perchik71. All rights reserved. | ||
// Contacts: <email:[email protected]> | ||
// License: https://www.gnu.org/licenses/gpl-3.0.html | ||
|
||
#include "Core/Engine.h" | ||
#include "FixBadPictureInRender.h" | ||
|
||
namespace CreationKitPlatformExtended | ||
{ | ||
namespace Patches | ||
{ | ||
namespace Fallout4 | ||
{ | ||
FixBadPictureInRenderPatch::FixBadPictureInRenderPatch() : Module(GlobalEnginePtr) | ||
{} | ||
|
||
bool FixBadPictureInRenderPatch::HasOption() const | ||
{ | ||
return false; | ||
} | ||
|
||
bool FixBadPictureInRenderPatch::HasCanRuntimeDisabled() const | ||
{ | ||
return false; | ||
} | ||
|
||
const char* FixBadPictureInRenderPatch::GetOptionName() const | ||
{ | ||
return nullptr; | ||
} | ||
|
||
const char* FixBadPictureInRenderPatch::GetName() const | ||
{ | ||
return "Fix Bad Picture In Render"; | ||
} | ||
|
||
bool FixBadPictureInRenderPatch::HasDependencies() const | ||
{ | ||
return false; | ||
} | ||
|
||
Array<String> FixBadPictureInRenderPatch::GetDependencies() const | ||
{ | ||
return {}; | ||
} | ||
|
||
bool FixBadPictureInRenderPatch::QueryFromPlatform(EDITOR_EXECUTABLE_TYPE eEditorCurrentVersion, | ||
const char* lpcstrPlatformRuntimeVersion) const | ||
{ | ||
return (eEditorCurrentVersion != EDITOR_EXECUTABLE_TYPE::EDITOR_FALLOUT_C4_1_10_943_1) && | ||
(eEditorCurrentVersion <= EDITOR_EXECUTABLE_TYPE::EDITOR_FALLOUT_C4_LAST); | ||
} | ||
|
||
bool FixBadPictureInRenderPatch::Activate(const Relocator* lpRelocator, | ||
const RelocationDatabaseItem* lpRelocationDatabaseItem) | ||
{ | ||
auto verPatch = lpRelocationDatabaseItem->Version(); | ||
if ((verPatch == 1) || (verPatch == 2)) | ||
{ | ||
// Remove stuff init FXAA or TAA | ||
lpRelocator->PatchNop(_RELDATA_RAV(0), verPatch == 1 ? 0x55 : 0x50); | ||
|
||
return true; | ||
} | ||
|
||
return false; | ||
} | ||
|
||
bool FixBadPictureInRenderPatch::Shutdown(const Relocator* lpRelocator, | ||
const RelocationDatabaseItem* lpRelocationDatabaseItem) | ||
{ | ||
return false; | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
Creation Kit Platform Extended Core/Patches/FO4/FixBadPictureInRender.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Copyright © 2023-2024 aka perchik71. All rights reserved. | ||
// Contacts: <email:[email protected]> | ||
// License: https://www.gnu.org/licenses/gpl-3.0.html | ||
|
||
#pragma once | ||
|
||
#include "Core/Module.h" | ||
#include "Core/Relocator.h" | ||
#include "Core/RelocationDatabase.h" | ||
|
||
namespace CreationKitPlatformExtended | ||
{ | ||
namespace Patches | ||
{ | ||
namespace Fallout4 | ||
{ | ||
using namespace CreationKitPlatformExtended::Core; | ||
|
||
class FixBadPictureInRenderPatch : public Module | ||
{ | ||
public: | ||
FixBadPictureInRenderPatch(); | ||
|
||
virtual bool HasOption() const; | ||
virtual bool HasCanRuntimeDisabled() const; | ||
virtual const char* GetOptionName() const; | ||
virtual const char* GetName() const; | ||
virtual bool HasDependencies() const; | ||
virtual Array<String> GetDependencies() const; | ||
protected: | ||
virtual bool QueryFromPlatform(EDITOR_EXECUTABLE_TYPE eEditorCurrentVersion, | ||
const char* lpcstrPlatformRuntimeVersion) const; | ||
virtual bool Activate(const Relocator* lpRelocator, const RelocationDatabaseItem* lpRelocationDatabaseItem); | ||
virtual bool Shutdown(const Relocator* lpRelocator, const RelocationDatabaseItem* lpRelocationDatabaseItem); | ||
private: | ||
FixBadPictureInRenderPatch(const FixBadPictureInRenderPatch&) = default; | ||
FixBadPictureInRenderPatch& operator=(const FixBadPictureInRenderPatch&) = default; | ||
}; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
Creation Kit Platform Extended Core/Version/build_version.txt
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Creation Kit Platform Extended Core/Version/resource_version2.h
Binary file not shown.
Binary file modified
BIN
+79 Bytes
(100%)
Database/FO4/1_10_162_0/CreationKitPlatformExtended_FO4_1_10_162.database
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Fix Bad Picture In Render | ||
1 | ||
extended | ||
2AC6179 0 <nope> |
Binary file modified
BIN
+79 Bytes
(100%)
Database/FO4/1_10_982_3/CreationKitPlatformExtended_FO4_1_10_982_3.database
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Fix Bad Picture In Render | ||
2 | ||
extended | ||
2B55235 0 <nope> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
Re-enable fog rendering | ||
1 | ||
02E21DEF | ||
02E21E43 | ||
02E21EEE | ||
02E220B0 | ||
02E220B5 | ||
02E22124 | ||
02E1EA90 | ||
02E1E930 | ||
02D93405 | ||
013C9F92 | ||
013CA23F | ||
013CA4C4 | ||
013CA6CD | ||
02D9DAC0 | ||
04EE6FA8 | ||
059F51C8 | ||
059F51D8 | ||
02E21CF0 | ||
2E21DEF | ||
2E21E43 | ||
2E21EEE | ||
2E220B0 | ||
2E220B5 | ||
2E22124 | ||
2E1EA90 | ||
2E1E930 | ||
2D93405 | ||
13C9F92 | ||
13CA23F | ||
13CA4C4 | ||
13CA6CD | ||
2D9DAC0 | ||
4EE6FA8 | ||
59F51C8 | ||
59F51D8 | ||
2E21CF0 |
Binary file modified
BIN
+0 Bytes
(100%)
Database/SSE/1_6_1130/CreationKitPlatformExtended_SSE_1_6_1130.database
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ Re-enable fog rendering | |
2CF1700 | ||
2C65115 | ||
136CA32 | ||
136CB35 | ||
136CCDF | ||
136CF64 | ||
136D182 | ||
2C6FC60 | ||
|
Binary file modified
BIN
+0 Bytes
(100%)
Database/SSE/1_6_1378_1/CreationKitPlatformExtended_SSE_1_6_1378_1.database
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters