Enabled the achievement fix in VR
This commit is contained in:
parent
6605d11a98
commit
1adc67de35
source/Enderal DLL/src
@ -173,21 +173,20 @@ SKSEPluginLoad(const LoadInterface* skse) {
|
|||||||
TweenMenuPatch::Install();
|
TweenMenuPatch::Install();
|
||||||
HUDMenuPatch::Install();
|
HUDMenuPatch::Install();
|
||||||
|
|
||||||
|
LoadINI(&g_settings, "Data/SKSE/Plugins/EnderalSE.ini");
|
||||||
|
|
||||||
|
if (g_settings.at("AchievementFix")) {
|
||||||
|
logger::info("Patching achievements...");
|
||||||
|
AchievementFix::Install();
|
||||||
|
}
|
||||||
|
|
||||||
if (!REL::Module::IsVR()) {
|
if (!REL::Module::IsVR()) {
|
||||||
LoadINI(&g_settings, "Data/SKSE/Plugins/EnderalSE.ini");
|
|
||||||
|
|
||||||
RE::INISettingCollection::GetSingleton()->GetSetting("bModManagerMenuEnabled:General")->data.b = false;
|
RE::INISettingCollection::GetSingleton()->GetSetting("bModManagerMenuEnabled:General")->data.b = false;
|
||||||
|
|
||||||
if (g_settings.at("AchievementFix")) {
|
|
||||||
logger::info("Patching achievements...");
|
|
||||||
AchievementFix::Install();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (g_settings.at("VideoInterruptPatch")) {
|
if (g_settings.at("VideoInterruptPatch")) {
|
||||||
logger::info("Making videos interruptible...");
|
logger::info("Making videos interruptible...");
|
||||||
BinkInterruptPatch::Install();
|
BinkInterruptPatch::Install();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_settings.at("ForceBorderless")) {
|
if (g_settings.at("ForceBorderless")) {
|
||||||
ForceBorderless::Install();
|
ForceBorderless::Install();
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,9 @@ namespace AchievementFix
|
|||||||
{
|
{
|
||||||
REL::Relocation<std::uintptr_t> target;
|
REL::Relocation<std::uintptr_t> target;
|
||||||
|
|
||||||
if (REL::Module::get().version() >= REL::Version(1, 6, 1130, 0)) {
|
if (REL::Module::IsVR()) {
|
||||||
|
target = REL::Offset(0x17FB90);
|
||||||
|
} else if (REL::Module::get().version() >= REL::Version(1, 6, 1130, 0)) {
|
||||||
// Checked: 1.6.1130
|
// Checked: 1.6.1130
|
||||||
target = REL::ID(441528);
|
target = REL::ID(441528);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user