From 7272b62d38fda5f21db66d05111f535a74d48003 Mon Sep 17 00:00:00 2001
From: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com>
Date: Tue, 29 Sep 2026 19:41:38 -0400
Subject: [PATCH] fix: windows64 contentpackage
---
Minecraft.Client/Common/Audio/SoundEngine.cpp | 2 +-
Minecraft.Client/Minecraft.Client.vcxproj | 662 ++++++++++++++----
.../Xbox/Sentient/Include/SenClientTypes.h | 3 +-
Minecraft.World/Minecraft.World.vcxproj | 10 +-
4 files changed, 523 insertions(+), 154 deletions(-)
diff --git a/Minecraft.Client/Common/Audio/SoundEngine.cpp b/Minecraft.Client/Common/Audio/SoundEngine.cpp
index 7399aa2a..42827c99 100644
--- a/Minecraft.Client/Common/Audio/SoundEngine.cpp
+++ b/Minecraft.Client/Common/Audio/SoundEngine.cpp
@@ -58,7 +58,7 @@ void SoundEngine::playMusicTick() {};
char SoundEngine::m_szMusicPath[]={"Common\\music\\"};
#ifdef _WINDOWS64
-char SoundEngine::m_szSoundPath[]={"Durango\\Sound\\"};
+char SoundEngine::m_szSoundPath[]={"Windows64Media\\Sound\\"};
char SoundEngine::m_szRedistName[]={"Windows64\\redist64"};
#elif defined _DURANGO
char SoundEngine::m_szSoundPath[]={"Sound\\"};
diff --git a/Minecraft.Client/Minecraft.Client.vcxproj b/Minecraft.Client/Minecraft.Client.vcxproj
index 7aba040d..75ce786d 100644
--- a/Minecraft.Client/Minecraft.Client.vcxproj
+++ b/Minecraft.Client/Minecraft.Client.vcxproj
@@ -756,9 +756,9 @@
false
$(OutDir)default$(TargetExt)
$(OutDir)default.xex
- $(ProjectDir)\Xbox\Sentient\Include;$(IncludePath)
+ $(ProjectDir)\..\Minecraft.World\x64headers;$(ProjectDir)\Xbox\Sentient\Include;$(IncludePath)
$(SolutionDir)Windows64\$(Configuration)\
- Build\Windows64\\$(Configuration)\
+ Build\Windows64\$(Configuration)\
false
@@ -1417,7 +1417,7 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata"
true
$(OutDir)$(ProjectName).pdb
- d3d11.lib;..\Minecraft.World\x64_Debug\Minecraft.World.lib;%(AdditionalDependencies);XInput9_1_0.lib;..\Minecraft.Client\Windows64\Miles\Lib\mss64.lib
+ d3d11.lib;..\Minecraft.World\\Build\$(Platform)_$(Configuration)\Minecraft.World.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;..\Minecraft.Client\Windows64\Miles\Lib\mss64.lib;wsock32.lib;%(AdditionalDependencies)
NotSet
false
@@ -1551,7 +1551,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CU
true
$(OutDir)$(ProjectName).pdb
- d3d11.lib;..\Minecraft.World\x64_Release\Minecraft.World.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;%(AdditionalDependencies)
+ d3d11.lib;..\Minecraft.World\\Build\$(Platform)_$(Configuration)\Minecraft.World.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;..\Minecraft.Client\Windows64\Miles\Lib\mss64.lib;wsock32.lib;%(AdditionalDependencies)
NotSet
false
@@ -1596,7 +1596,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CU
true
$(OutDir)$(ProjectName).pdb
- d3d11.lib;..\Minecraft.World\x64_Release\Minecraft.World.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;%(AdditionalDependencies)
+ d3d11.lib;..\Minecraft.World\\Build\$(Platform)_$(Configuration)\Minecraft.World.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;..\Minecraft.Client\Windows64\Miles\Lib\mss64.lib;wsock32.lib;%(AdditionalDependencies)
NotSet
false
@@ -2403,11 +2403,12 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata"
false
$(OutDir)$(ProjectName).pch
MultiThreaded
- _TU_BUILD;_FINAL_BUILD;_ITERATOR_DEBUG_LEVEL=0;NDEBUG;_XBOX;_CONTENT_PACKAGE;%(PreprocessorDefinitions);
+ _LARGE_WORLDS;_FINAL_BUILD;_CONTENT_PACKAGE;_WINDOWS64;_LIB;_CRT_NON_CONFORMING_SWPRINTFS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
true
true
Disabled
Default
+ Windows64\Iggy\include;$(ProjectDir);%(AdditionalIncludeDirectories)
true
@@ -2415,8 +2416,7 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata"
false
$(OutDir)default.pdb
true
- xavatar2.lib;xapilib.lib;d3d9.lib;d3dx9.lib;xgraphics.lib;xboxkrnl.lib;xbox\Sentient\libs\SenCore.lib;xnet.lib;xaudio2.lib;xact3.lib;x3daudio.lib;xmcore.lib;vcomp.lib;xuirun.lib;xuirender.lib;xuihtml.lib;xonline.lib;xhv2.lib;qnetxaudio2.lib;xbox\4JLibs\libs\4J_Input.lib;xbox\4JLibs\libs\4J_Storage.lib;xbox\4JLibs\libs\4J_Profile.lib;xbox\4JLibs\libs\4J_Render.lib;..\Minecraft.World\ContentPackage\Minecraft.World.lib;xsocialpost.lib;xrnm.lib;xparty.lib;xbox\Sentient\libs\SenNews.lib;xbox\Sentient\libs\SenUGC.lib;xbox\Sentient\libs\SenBoxArt.lib;NuiApi.lib;ST.lib;NuiFitnessApi.lib;NuiHandles.lib;NuiSpeech.lib;NuiAudio.lib;xhttp.lib;xauth.lib;xgetserviceendpoint.lib;xav.lib;xjson.lib;%(AdditionalDependencies)
- xapilib.lib
+ d3d11.lib;..\Minecraft.World\\Build\$(Platform)_$(Configuration)\Minecraft.World.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;..\Minecraft.Client\Windows64\Miles\Lib\mss64.lib;wsock32.lib;%(AdditionalDependencies)
false
false
@@ -2461,8 +2461,9 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata"
false
$(OutDir)default.pdb
true
- xavatar2.lib;xapilib.lib;d3d9.lib;d3dx9.lib;xgraphics.lib;xboxkrnl.lib;xbox\Sentient\libs\SenCore.lib;xnet.lib;xaudio2.lib;xact3.lib;x3daudio.lib;xmcore.lib;vcomp.lib;xuirun.lib;xuirender.lib;xuihtml.lib;xonline.lib;xhv2.lib;qnetxaudio2.lib;xbox\4JLibs\libs\4J_Input.lib;xbox\4JLibs\libs\4J_Storage.lib;xbox\4JLibs\libs\4J_Profile.lib;xbox\4JLibs\libs\4J_Render.lib;..\Minecraft.World\ContentPackage\Minecraft.World.lib;xsocialpost.lib;xrnm.lib;xparty.lib;xbox\Sentient\libs\SenNews.lib;xbox\Sentient\libs\SenUGC.lib;xbox\Sentient\libs\SenBoxArt.lib;NuiApi.lib;ST.lib;NuiFitnessApi.lib;NuiHandles.lib;NuiSpeech.lib;NuiAudio.lib;xhttp.lib;xauth.lib;xgetserviceendpoint.lib;xav.lib;xjson.lib;%(AdditionalDependencies)
- xapilib.lib
+ d3d11.lib;..\Minecraft.World\\Build\$(Platform)_$(Configuration)\Minecraft.World.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;..\Minecraft.Client\Windows64\Miles\Lib\mss64.lib;wsock32.lib;%(AdditionalDependencies)
+
+
false
false
@@ -2507,8 +2508,9 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata"
false
$(OutDir)default.pdb
true
- xavatar2.lib;xapilib.lib;d3d9.lib;d3dx9.lib;xgraphics.lib;xboxkrnl.lib;xbox\Sentient\libs\SenCore.lib;xnet.lib;xaudio2.lib;xact3.lib;x3daudio.lib;xmcore.lib;vcomp.lib;xuirun.lib;xuirender.lib;xuihtml.lib;xonline.lib;xhv2.lib;qnetxaudio2.lib;xbox\4JLibs\libs\4J_Input.lib;xbox\4JLibs\libs\4J_Storage.lib;xbox\4JLibs\libs\4J_Profile.lib;xbox\4JLibs\libs\4J_Render.lib;..\Minecraft.World\ContentPackage\Minecraft.World.lib;xsocialpost.lib;xrnm.lib;xparty.lib;xbox\Sentient\libs\SenNews.lib;xbox\Sentient\libs\SenUGC.lib;xbox\Sentient\libs\SenBoxArt.lib;NuiApi.lib;ST.lib;NuiFitnessApi.lib;NuiHandles.lib;NuiSpeech.lib;NuiAudio.lib;xhttp.lib;xauth.lib;xgetserviceendpoint.lib;xav.lib;xjson.lib;%(AdditionalDependencies)
- xapilib.lib
+ d3d11.lib;..\Minecraft.World\\Build\$(Platform)_$(Configuration)\Minecraft.World.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;..\Minecraft.Client\Windows64\Miles\Lib\mss64.lib;wsock32.lib;%(AdditionalDependencies)
+
+
false
false
@@ -2553,8 +2555,9 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata"
false
$(OutDir)default.pdb
true
- xavatar2.lib;xapilib.lib;d3d9.lib;d3dx9.lib;xgraphics.lib;xboxkrnl.lib;xbox\Sentient\libs\SenCore.lib;xnet.lib;xaudio2.lib;xact3.lib;x3daudio.lib;xmcore.lib;vcomp.lib;xuirun.lib;xuirender.lib;xuihtml.lib;xonline.lib;xhv2.lib;qnetxaudio2.lib;xbox\4JLibs\libs\4J_Input.lib;xbox\4JLibs\libs\4J_Storage.lib;xbox\4JLibs\libs\4J_Profile.lib;xbox\4JLibs\libs\4J_Render.lib;..\Minecraft.World\ContentPackage\Minecraft.World.lib;xsocialpost.lib;xrnm.lib;xparty.lib;xbox\Sentient\libs\SenNews.lib;xbox\Sentient\libs\SenUGC.lib;xbox\Sentient\libs\SenBoxArt.lib;NuiApi.lib;ST.lib;NuiFitnessApi.lib;NuiHandles.lib;NuiSpeech.lib;NuiAudio.lib;xhttp.lib;xauth.lib;xgetserviceendpoint.lib;xav.lib;xjson.lib;%(AdditionalDependencies)
- xapilib.lib
+ d3d11.lib;..\Minecraft.World\\Build\$(Platform)_$(Configuration)\Minecraft.World.lib;XInput9_1_0.lib;Windows64\Iggy\lib\iggy_w64.lib;..\Minecraft.Client\Windows64\Miles\Lib\mss64.lib;wsock32.lib;%(AdditionalDependencies)
+
+
false
false
@@ -10026,6 +10029,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
true
@@ -10126,6 +10130,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
true
@@ -16813,7 +16818,15 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
-
+
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+
true
@@ -16846,6 +16859,10 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
+ true
+ true
+ true
true
@@ -16876,6 +16893,10 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
+ true
+ true
+ true
true
@@ -26398,6 +26419,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
true
@@ -26498,6 +26520,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
true
@@ -29059,6 +29082,10 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
+ true
+ true
+ true
true
@@ -29089,6 +29116,10 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
+ true
+ true
+ true
true
@@ -29119,6 +29150,10 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
+ true
+ true
+ true
true
@@ -29263,6 +29298,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
true
@@ -29293,6 +29329,10 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
+ true
+ true
+ true
NotUsing
@@ -29359,6 +29399,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
true
@@ -34462,66 +34503,309 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CU
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
true
- true
- false
- false
+ true
true
- true
- true
- true
- true
- true
- true
- true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
true
- true
- true
- true
- true
- true
true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
- true
- true
- true
- true
- true
- true
- true
- true
true
- true
- true
- true
- true
true
- false
- true
- true
- true
- true
- true
- true
- true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
true
- true
- true
- true
- true
- true
true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+
+
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+
+
+ true
+ true
+ true
+ false
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+
+
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+
+
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+
+
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
true
@@ -34539,7 +34823,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
- true
+ false
true
true
true
@@ -34569,103 +34853,177 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- false
- false
- false
- false
- true
+ true
true
- false
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
true
- true
- true
- true
- true
- true
true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
- true
- true
- true
- true
- true
- true
- true
- true
- false
- false
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
true
- true
+ true
+ true
+ true
true
+ true
+ true
+ true
+ true
+ true
+ true
true
+ true
+ true
+ true
+ true
+ true
+ true
true
+ true
+ true
+ true
+ true
+ true
+ true
true
- true
+ true
+ true
+ true
+ true
+ true
+ true
true
- true
+ true
true
+ true
+ true
+ true
+ true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- false
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
- true
true
- true
+ true
true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
true
+ true
+ true
+ true
+ true
+
+
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
+ true
true
@@ -34888,6 +35246,10 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
+ true
+ true
+ true
true
@@ -34985,6 +35347,10 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
+ true
+ true
+ true
true
@@ -35163,6 +35529,10 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUtrue
true
true
+ true
+ true
+ true
+ true
true
diff --git a/Minecraft.Client/Xbox/Sentient/Include/SenClientTypes.h b/Minecraft.Client/Xbox/Sentient/Include/SenClientTypes.h
index 1a1827a2..8c459923 100644
--- a/Minecraft.Client/Xbox/Sentient/Include/SenClientTypes.h
+++ b/Minecraft.Client/Xbox/Sentient/Include/SenClientTypes.h
@@ -23,8 +23,7 @@
#define NOD3D
#define WIN32_LEAN_AND_MEAN
- #include
- //#include
+ #include
#endif
diff --git a/Minecraft.World/Minecraft.World.vcxproj b/Minecraft.World/Minecraft.World.vcxproj
index 801439d7..ee5c8544 100644
--- a/Minecraft.World/Minecraft.World.vcxproj
+++ b/Minecraft.World/Minecraft.World.vcxproj
@@ -672,25 +672,25 @@
$(OutDir)$(ProjectName).lib
- $(ProjectDir)\x64header;$(DXSDK_DIR)include;$(IncludePath)
+ $(ProjectDir)\x64headers;$(IncludePath)
Build\$(Platform)_$(Configuration)\
Build\$(Platform)_$(Configuration)\
$(OutDir)$(ProjectName).lib
- $(ProjectDir)\x64header;$(DXSDK_DIR)include;$(IncludePath)
+ $(ProjectDir)\x64headers;$(IncludePath)
Build\$(Platform)_$(Configuration)\
Build\$(Platform)_$(Configuration)\
$(OutDir)$(ProjectName).lib
- $(ProjectDir)\x64header;$(DXSDK_DIR)include;$(IncludePath)
+ $(ProjectDir)\x64headers;$(IncludePath)
Build\$(Platform)_$(Configuration)\
Build\$(Platform)_$(Configuration)\
$(OutDir)$(ProjectName).lib
- $(ProjectDir)\x64header;$(DXSDK_DIR)include;$(IncludePath)
+ $(ProjectDir)\x64headers;$(IncludePath)
Build\$(Platform)_$(Configuration)\
Build\$(Platform)_$(Configuration)\
@@ -1537,7 +1537,7 @@
false
$(OutDir)$(ProjectName).pch
MultiThreaded
- _TU_BUILD;_FINAL_BUILD;NDEBUG;_XBOX;_LIB;_CONTENT_PACKAGE;_CRT_NON_CONFORMING_SWPRINTFS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ _LARGE_WORLDS;_FINAL_BUILD;_CONTENT_PACKAGE;_WINDOWS64;_LIB;_CRT_NON_CONFORMING_SWPRINTFS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
true
Default