From 4a7d75194a2091458a83e5739bc93e3ad3e39e39 Mon Sep 17 00:00:00 2001 From: deadman96385 Date: Sun, 1 Mar 2026 06:34:24 -0600 Subject: [PATCH] fix: copy sound assets to Windows64 build output The Debug|x64 and Release|x64 configurations had no PostBuildEvent to deploy sound assets alongside the executable. At runtime, SoundEngine looks for Durango\Sound\Minecraft.msscmp and music\ relative to the output directory, causing silent failure (no sound effects or music). Add post-build xcopy steps for both configurations to mirror what the Durango build already does. --- Minecraft.Client/Minecraft.Client.vcxproj | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Minecraft.Client/Minecraft.Client.vcxproj b/Minecraft.Client/Minecraft.Client.vcxproj index 38886043..8e54bc42 100644 --- a/Minecraft.Client/Minecraft.Client.vcxproj +++ b/Minecraft.Client/Minecraft.Client.vcxproj @@ -1301,6 +1301,11 @@ if not exist "$(TargetDir)\savedata" mkdir "$(TargetDir)\savedata" false MultiplyDefinedSymbolOnly + + Copying sound assets to output directory + xcopy /q /y /i /s /e "$(ProjectDir)Durango\Sound" "$(OutDir)Durango\Sound" +xcopy /q /y /i /s /e "$(ProjectDir)music" "$(OutDir)music" + $(ProjectDir)xbox\xex-dev.xml @@ -1429,6 +1434,11 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUNotSet false + + Copying sound assets to output directory + xcopy /q /y /i /s /e "$(ProjectDir)Durango\Sound" "$(OutDir)Durango\Sound" +xcopy /q /y /i /s /e "$(ProjectDir)music" "$(OutDir)music" + $(ProjectDir)xbox\xex-dev.xml