From 81e4a789b689771480af3e8ac8b0b7d73f8a7713 Mon Sep 17 00:00:00 2001 From: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com> Date: Wed, 26 Aug 2026 21:59:06 -0400 Subject: [PATCH] fix: non High Def resolutions not showing splitscreen hint & fix missing string --- Minecraft.Client/Common/Consoles_App.cpp | 33 ++++++++++-------- Minecraft.Client/Common/Media/MediaPS3.arc | Bin 11823235 -> 11823341 bytes .../PS3Media/loc/stringsPlatformSpecific.xml | 2 +- .../Windows64/Windows64_Minecraft.cpp | 10 +++--- 4 files changed, 24 insertions(+), 21 deletions(-) diff --git a/Minecraft.Client/Common/Consoles_App.cpp b/Minecraft.Client/Common/Consoles_App.cpp index 203f0275..754e99f2 100644 --- a/Minecraft.Client/Common/Consoles_App.cpp +++ b/Minecraft.Client/Common/Consoles_App.cpp @@ -6257,7 +6257,6 @@ void CMinecraftApp::InitialiseTips() ZeroMemory(m_TipIDA,sizeof(UINT)*MAX_TIPS_GAMETIP+MAX_TIPS_TRIVIATIP); // Make the first tip tell you that you can play splitscreen in HD modes if you are in SD - //str1k3r - this doesnt work on Windows64, can someone help me with this? please. if(!RenderManager.IsHiDef()) { m_GameTipA[0].uiStringID=IDS_TIPS_GAMETIP_0; @@ -6322,27 +6321,31 @@ void CMinecraftApp::InitialiseTips() UINT CMinecraftApp::GetNextTip() { static bool bShowSkinDLCTip=true; - // don't display the DLC tip in the trial game - if(ProfileManager.IsFullVersion() && app.GetNewDLCAvailable() && app.DisplayNewDLCTip()) + //str1k3r - if uiStringID is IDS_TIPS_GAMETIP_0 then dont do this, fixes a bug with IDS_TIPS_GAMETIP_0 not showing on Windows64 if not high def + if(m_GameTipA[0].uiStringID != IDS_TIPS_GAMETIP_0) { - return IDS_TIPS_GAMETIP_NEWDLC; - } - else - { - if(bShowSkinDLCTip && ProfileManager.IsFullVersion()) + // don't display the DLC tip in the trial game + if(ProfileManager.IsFullVersion() && app.GetNewDLCAvailable() && app.DisplayNewDLCTip()) { - bShowSkinDLCTip=false; - if( app.DLCInstallProcessCompleted() ) + return IDS_TIPS_GAMETIP_NEWDLC; + } + else + { + if(bShowSkinDLCTip && ProfileManager.IsFullVersion()) { - if(app.m_dlcManager.getPackCount(DLCManager::e_DLCType_Skin)==0) + bShowSkinDLCTip=false; + if( app.DLCInstallProcessCompleted() ) + { + if(app.m_dlcManager.getPackCount(DLCManager::e_DLCType_Skin)==0) + { + return IDS_TIPS_GAMETIP_SKINPACKS; + } + } + else { return IDS_TIPS_GAMETIP_SKINPACKS; } } - else - { - return IDS_TIPS_GAMETIP_SKINPACKS; - } } } diff --git a/Minecraft.Client/Common/Media/MediaPS3.arc b/Minecraft.Client/Common/Media/MediaPS3.arc index c360cdcdff395afb9b68c36b22287e9550207b97..e55ab3cc039c11f42f8b0fd77dfb9db7a561bbf5 100644 GIT binary patch delta 933 zcmZ9}$yZWw7{+m+Y%(%R!3OQ8VK!-orZx{sW}y-`ml@%`O2UP>kWm%|7Fwni70vTJ zh}D9>gL69m3GG_6>6{jI`ewTppVjj|&*qI~GFjg+8Z$NzXtLFAw_HN~waEp(WGiO9kvOvV&U#WZANI`o)<9L$6PvoIUE$b%7oxAQRvb1@I|QGh}$ zfItz7u@GjIU=d2O7)!7e%di|}D8~v^U?nW5L={${8a1fJYOKLptiyV2z(#DsW^6$n z>S4uJG+-MVu^l^LLlc_OlD3-c!+KpLFFt0rV`qBI?69;M1C6o>`$EF+afU^(%dLt| zr&mf2MI8Cb{ys-eb;vJ*J|X);f$*|wF6_o0?8QFp#{nF~A++Hz+HnL<9EA%VkRYQIU2x+Vy5WHr3ViV6I08@+LtRM96FFw z7yCQ*JU#w^F5J0rSrht-zu;5ba)k3hnqs?kGWvAPFEP^NImyqzY zNr=#u6dEiRv&~*=wsz;_Wp32DHBpc$iZ|6y#9|% zRJlc!403G2R`|gm0SH78wjmfHP#_fB5r!QI$4*2b5=#7gM`0IsBN{Q-gIK5$hj=7l zFEmKRJ|rO-`*8p%NJSdbk%3HPL5pnU;2;hm7kN00BRGnD9K&&(KmktT6bhk(h$0l@ zG|u2G&Y=XQ(8J&rRmM?;yl=+6tTCd@yR0eK)&&LX4Ha>fCQ;{hILl!|1uAhK7f^+2 z)Swm@QHOe5!eum|5lv`@85Xpl6>Vro2d>~MtmwowbioEYuA>__(1V+}h1+o84tmjt ze%!?XoN(bD1~CLT?&AT5@em$7!U#t37*FsN5}x5XUf?BO;Wgf13~%uc?=g-K_=r!K gz$B(HjnDXkulR-;%;G!dFpmW+V#(`p{;;jA17-|OFaQ7m diff --git a/Minecraft.Client/PS3Media/loc/stringsPlatformSpecific.xml b/Minecraft.Client/PS3Media/loc/stringsPlatformSpecific.xml index 59d87495..a41c066a 100644 --- a/Minecraft.Client/PS3Media/loc/stringsPlatformSpecific.xml +++ b/Minecraft.Client/PS3Media/loc/stringsPlatformSpecific.xml @@ -1,6 +1,6 @@  - NOT USED + If you play this game in High Definition mode, you can have up to four players in split-screen on the same system! diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index c516e512..dbfe16c2 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -540,10 +540,10 @@ HRESULT InitDevice() hr = D3D11CreateDeviceAndSwapChain( NULL, g_driverType, NULL, createDeviceFlags, featureLevels, numFeatureLevels, D3D11_SDK_VERSION, &sd, &g_pSwapChain, &g_pd3dDevice, &g_featureLevel, &g_pImmediateContext ); - if (hr == E_INVALIDARG && numFeatureLevels > 1 && featureLevels[0] == D3D_FEATURE_LEVEL_11_1) - { - hr = D3D11CreateDeviceAndSwapChain( NULL, g_driverType, NULL, createDeviceFlags, &featureLevels[1], numFeatureLevels - 1, - D3D11_SDK_VERSION, &sd, &g_pSwapChain, &g_pd3dDevice, &g_featureLevel, &g_pImmediateContext ); + if (hr == E_INVALIDARG && numFeatureLevels > 1 && featureLevels[0] == D3D_FEATURE_LEVEL_11_1) + { + hr = D3D11CreateDeviceAndSwapChain( NULL, g_driverType, NULL, createDeviceFlags, &featureLevels[1], numFeatureLevels - 1, + D3D11_SDK_VERSION, &sd, &g_pSwapChain, &g_pd3dDevice, &g_featureLevel, &g_pImmediateContext ); } if( SUCCEEDED( hr ) ) @@ -599,7 +599,7 @@ HRESULT InitDevice() vp.TopLeftY = 0; g_pImmediateContext->RSSetViewports( 1, &vp ); - RenderManager.Initialise(g_pd3dDevice, g_pSwapChain); + //RenderManager.Initialise(g_pd3dDevice, g_pSwapChain); //str1k3r - this was getting ran twice, keeping this commented out just incase return S_OK; }