mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
- Add SystemFlagClearForSystem (PlatformNetworkManagerInterface / GameNetworkManager) - In PlayerList::placeNewPlayer, clear flags when no active player exists on the same system - Prevent initial chunk transmission from being incorrectly skipped after disconnect/reconnect |
||
|---|---|---|
| .github | ||
| cmake | ||
| Minecraft.Client | ||
| Minecraft.World | ||
| x64 | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Compile.md | ||
| MinecraftConsoles.sln | ||
| README.md | ||
MinecraftConsoles
Introduction
This project contains the source code of Minecraft Legacy Console Edition v1.3.0494.0 from https://archive.org/details/minecraft-legacy-console-edition-source-code, 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
- Added a high-resolution timer path on Windows for smoother high-FPS gameplay timing
- Device's screen resolution will be used as the game resolution instead of using a fixed resolution (1920x1080)
- Added Windows64 LAN & Target Server multiplayer (host/join via in-game Join Game menu)
Multiplayer (Windows64)
The multiplayer implementation was added with reference to:
Command Line Options
-name <PlayerName>: Set the local player name (max 16 chars)-host <IP:PORT>: Set host bind address/port when creating a game (default port:25565)-target <IP:PORT>: Add a direct server candidate to the Join Game list (default port:25565)
Usage Example
Host:
Minecraft.Client.exe -name HostPlayer -host 0.0.0.0:25565
Join:
Minecraft.Client.exe -name ClientPlayer -target 192.168.0.10:25565
Then open Play Game -> Join Game in-game and select the discovered/target session.
Controls (Keyboard & Mouse)
- Movement:
WASD - Jump / Fly (Up):
Space - Sneak / Fly (Down):
Shift(Hold) - Sprint:
Ctrl(Hold) or Double-tapW - Inventory:
E - Drop Item:
Q - Crafting:
C - Toggle View (FPS/TPS):
F5 - Fullscreen:
F11 - Pause Menu:
Esc - Toggle Mouse Capture:
Left Alt(for debugging) - Attack / Destroy:
Left Click - Use / Place:
Right Click - Select Item:
Mouse Wheelor keys1to9 - Accept or Decline Tutorial hints:
Enterto accept andBto decline - Host Options:
TAB - Toggle Debug Info:
F3 - Open Debug Overlay:
F4
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
CMake (Windows x64)
cmake -S . -B build -G "Visual Studio 17 2022" -A x64
cmake --build build --config Debug --target MinecraftClient
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
