From 175fc3824e502ecd701c1da2ecd2061d77495693 Mon Sep 17 00:00:00 2001 From: Loki Rautio Date: Fri, 6 Mar 2026 13:44:43 -0600 Subject: [PATCH] Disable EULA popup --- Minecraft.Client/Common/UI/UIController.cpp | 2 ++ Minecraft.Client/Common/UI/UIScene_Intro.cpp | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Minecraft.Client/Common/UI/UIController.cpp b/Minecraft.Client/Common/UI/UIController.cpp index 9109b85f..12370bb0 100644 --- a/Minecraft.Client/Common/UI/UIController.cpp +++ b/Minecraft.Client/Common/UI/UIController.cpp @@ -1867,6 +1867,7 @@ void UIController::unregisterSubstitutionTexture(const wstring &textureName, boo bool UIController::NavigateToScene(int iPad, EUIScene scene, void *initData, EUILayer layer, EUIGroup group) { static bool bSeenUpdateTextThisSession = false; + #if 0 // Disable since we don't use this // If you're navigating to the multigamejoinload, and the player hasn't seen the updates message yet, display it now // display this message the first 3 times if((scene==eUIScene_LoadOrJoinMenu) && (bSeenUpdateTextThisSession==false) && ( app.GetGameSettings(ProfileManager.GetPrimaryPad(),eGameSetting_DisplayUpdateMessage)!=0)) @@ -1874,6 +1875,7 @@ bool UIController::NavigateToScene(int iPad, EUIScene scene, void *initData, EUI scene=eUIScene_NewUpdateMessage; bSeenUpdateTextThisSession=true; } + #endif // if you're trying to navigate to the inventory,the crafting, pause or game info or any of the trigger scenes and there's already a menu up (because you were pressing a few buttons at the same time) then ignore the navigate if(GetMenuDisplayed(iPad)) diff --git a/Minecraft.Client/Common/UI/UIScene_Intro.cpp b/Minecraft.Client/Common/UI/UIScene_Intro.cpp index 7fc435b2..f4aefc40 100644 --- a/Minecraft.Client/Common/UI/UIScene_Intro.cpp +++ b/Minecraft.Client/Common/UI/UIScene_Intro.cpp @@ -83,17 +83,23 @@ void UIScene_Intro::handleInput(int iPad, int key, bool repeat, bool pressed, bo case C4JStorage::eOptions_Callback_Read: case C4JStorage::eOptions_Callback_Read_FileNotFound: // we've either read it, or it wasn't found + #if 0 if(app.GetGameSettings(0,eGameSetting_PS3_EULA_Read)==0) { ui.NavigateToScene(0,eUIScene_EULA); } else + #endif { ui.NavigateToScene(0,eUIScene_SaveMessage); } break; default: - ui.NavigateToScene(0,eUIScene_EULA); + #if 0 + ui.NavigateToScene(0,eUIScene_EULA); + #else + ui.NavigateToScene(0,eUIScene_SaveMessage); + #endif break; } #elif defined _XBOX_ONE @@ -131,17 +137,23 @@ void UIScene_Intro::handleAnimationEnd() case C4JStorage::eOptions_Callback_Read: case C4JStorage::eOptions_Callback_Read_FileNotFound: // we've either read it, or it wasn't found + #if 0 if(app.GetGameSettings(0,eGameSetting_PS3_EULA_Read)==0) { ui.NavigateToScene(0,eUIScene_EULA); } else + #endif { ui.NavigateToScene(0,eUIScene_SaveMessage); } break; default: - ui.NavigateToScene(0,eUIScene_EULA); + #if 0 + ui.NavigateToScene(0,eUIScene_EULA); + #else + ui.NavigateToScene(0,eUIScene_SaveMessage); + #endif break; }