-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FO4: - Remove limit response text
- Loading branch information
Showing
11 changed files
with
135 additions
and
0 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
76 changes: 76 additions & 0 deletions
76
Creation Kit Platform Extended Core/Patches/FO4/ResponseIgnoreMaxF4.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:timencevaleksej@gmail.com> | ||
// License: https://www.gnu.org/licenses/gpl-3.0.html | ||
|
||
#include "Core/Engine.h" | ||
#include "ResponseIgnoreMaxF4.h" | ||
|
||
namespace CreationKitPlatformExtended | ||
{ | ||
namespace Patches | ||
{ | ||
namespace Fallout4 | ||
{ | ||
ResponseIgnoreMaxPatch::ResponseIgnoreMaxPatch() : Module(GlobalEnginePtr) | ||
{} | ||
|
||
bool ResponseIgnoreMaxPatch::HasOption() const | ||
{ | ||
return false; | ||
} | ||
|
||
bool ResponseIgnoreMaxPatch::HasCanRuntimeDisabled() const | ||
{ | ||
return false; | ||
} | ||
|
||
const char* ResponseIgnoreMaxPatch::GetOptionName() const | ||
{ | ||
return nullptr; | ||
} | ||
|
||
const char* ResponseIgnoreMaxPatch::GetName() const | ||
{ | ||
return "Response Ignore Max"; | ||
} | ||
|
||
bool ResponseIgnoreMaxPatch::HasDependencies() const | ||
{ | ||
return false; | ||
} | ||
|
||
Array<String> ResponseIgnoreMaxPatch::GetDependencies() const | ||
{ | ||
return {}; | ||
} | ||
|
||
bool ResponseIgnoreMaxPatch::QueryFromPlatform(EDITOR_EXECUTABLE_TYPE eEditorCurrentVersion, | ||
const char* lpcstrPlatformRuntimeVersion) const | ||
{ | ||
return eEditorCurrentVersion <= EDITOR_EXECUTABLE_TYPE::EDITOR_SKYRIM_SE_LAST; | ||
} | ||
|
||
bool ResponseIgnoreMaxPatch::Activate(const Relocator* lpRelocator, | ||
const RelocationDatabaseItem* lpRelocationDatabaseItem) | ||
{ | ||
if (lpRelocationDatabaseItem->Version() == 1) | ||
{ | ||
// | ||
// Skip message setting blocking text input after 149 characters. | ||
// | ||
lpRelocator->PatchNop(_RELDATA_RAV(0), 5); | ||
|
||
return true; | ||
} | ||
|
||
return false; | ||
} | ||
|
||
bool ResponseIgnoreMaxPatch::Shutdown(const Relocator* lpRelocator, | ||
const RelocationDatabaseItem* lpRelocationDatabaseItem) | ||
{ | ||
return false; | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
Creation Kit Platform Extended Core/Patches/FO4/ResponseIgnoreMaxF4.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:timencevaleksej@gmail.com> | ||
// 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 ResponseIgnoreMaxPatch : public Module | ||
{ | ||
public: | ||
ResponseIgnoreMaxPatch(); | ||
|
||
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: | ||
ResponseIgnoreMaxPatch(const ResponseIgnoreMaxPatch&) = default; | ||
ResponseIgnoreMaxPatch& operator=(const ResponseIgnoreMaxPatch&) = default; | ||
}; | ||
} | ||
} | ||
} |
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
+73 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 @@ | ||
Response Ignore Max | ||
1 | ||
extended | ||
B63276 0 <none> |
Binary file modified
BIN
+156 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 @@ | ||
Response Ignore Max | ||
1 | ||
extended | ||
B0AEE9 0 41B90002000085C0BAFF09000041B8C5000000488BCE440F45C84533F641FFC94C89742420FF15????????+25 |