fa254306949eec458cdff71c3867ded0e7494d2f
In _tWinMain (Windows64_Minecraft.cpp) add logic to detect if the executable path contains "\\x64\\". If found, truncate the path at that position, append "\\Minecraft.Client" and call SetCurrentDirectoryA to set the process working directory. This ensures relative resource paths resolve correctly when running from an x64 build output directory; the change is guarded by a substring check and uses MAX_PATH-safe APIs.
MinecraftConsoles
Introduction
This project contains the source code of Minecraft Legacy Console Edition v1.3.0494.0, with some fixes and improvements applied.
Features
- Fixed compilation and execution in both Debug and Release mode on Windows using Visual Studio 2022
- Added support for keyboard and mouse input
- Added fullscreen mode support (toggle using F11)
- Disabled V-Sync for better performance
- Auto-detect native monitor resolution with DPI awareness, resulting in sharper visuals on high-resolution displays
Build & Run
- Install Visual Studio 2022
- Clone the repository
- Open the project by double-clicking
MinecraftConsoles.sln - Make sure
Minecraft.Clientis set as the Startup Project - Set the build configuration to Debug (Release is also OK but has some bugs) and the target platform to Windows64, then build and run
Known Issues
- Builds for other platforms have not been tested and are most likely non-functional
- There are some render bugs in the Release mode build
Description
Languages
Arc
66.5%
PLSQL
18.1%
C++
13.3%
Self
1.2%
C
0.9%
