diff --git a/README.md b/README.md index 7c53cde..ff5a6dc 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,19 @@ A project that aims at rebuilding the 4J libraries source code via decompilation for the Minecraft: Legacy Console Edition +## NOTICE + +There's a bug in the main game code where the depth stencil view descriptor isn't zero initialized, this happens in the file ``Windows64_Minecraft.cpp`` at the +```D3D11_DEPTH_STENCIL_VIEW_DESC descDSView;``` line + + +This causes the depth stencil view creation to fail and consequently breaks the game, to fix this you will need to add the following line after the definition described: + +```ZeroMemory(&descDSView, sizeof(descDSView));``` + +This issue only happens when building with newer versions of the Visual Studio compiler, Visual Studio 2012 isn't affected by this, so if you're working on a fork of the main source +remember to add this line to avoid breaking the game for other people + ## Why? This would allow compiling the Minecraft: Legacy Console Edition source code from newer versions of Visual Studio, expand the Renderer code, add new Input support, etc...