the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1# Compile Instructions
2
3## Visual Studio (`.sln`)
4
51. Open `MinecraftConsoles.sln` in Visual Studio 2022.
62. Set `Minecraft.Client` as the Startup Project.
73. Select configuration:
8 - `Debug` (recommended), or
9 - `Release`
104. Select platform: `Windows64`.
115. Build and run:
12 - `Build > Build Solution` (or `Ctrl+Shift+B`)
13 - Start debugging with `F5`.
14
15## CMake (Windows x64)
16
17Configure (use your VS Community instance explicitly):
18
19```powershell
20cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -DCMAKE_GENERATOR_INSTANCE="C:/Program Files/Microsoft Visual Studio/2022/Community"
21```
22
23Build Debug:
24
25```powershell
26cmake --build build --config Debug --target MinecraftClient
27```
28
29Build Release:
30
31```powershell
32cmake --build build --config Release --target MinecraftClient
33```
34
35Run executable:
36
37```powershell
38cd .\build\Debug
39.\MinecraftClient.exe
40```
41
42Notes:
43- The CMake build is Windows-only and x64-only.
44- Contributors on macOS or Linux need a Windows machine or VM to build the project. Running the game via Wine is separate from having a supported build environment.
45- Post-build asset copy is automatic for `MinecraftClient` in CMake (Debug and Release variants).
46- The game relies on relative paths (for example `Common\Media\...`), so launching from the output directory is required.