mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-20 06:53:30 +00:00
97 lines
2.4 KiB
Markdown
97 lines
2.4 KiB
Markdown
# MinecraftPE
|
|
> [!Warning]
|
|
> Github repository **isnt main**. All issues and pull requests should be send in [Gitea Repository](https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1).
|
|
|
|
> [!Important]
|
|
> We have a discord server, where you can report bugs or send feedback https://discord.gg/c58YesBxve
|
|
|
|
Source code for **Minecraft Pocket Edition 0.6.1 alpha** with various fixes and improvements.
|
|
|
|
This project aims to preserve and improve this early version of Minecraft PE.
|
|
|
|
# TODO / Roadmap
|
|
- [x] Add platform GLFW
|
|
- [x] Compile for Linux
|
|
- [x] Compile for android aarch64
|
|
- [x] Touch control improvements
|
|
- [ ] Screen fixes
|
|
- [ ] Rewrite platform logic
|
|
- [x] Fix sound
|
|
- [ ] Do a server connection GUI
|
|
- [ ] Controller support
|
|
- [ ] Minecraft server hosting
|
|
- [x] Screen fixess
|
|
- [x] Fix fog
|
|
- [x] Add sprinting
|
|
- [x] Chat (semi working) and commands
|
|
- [x] Implementing options
|
|
- [x] Better F3
|
|
|
|
# Build
|
|
|
|
## CMake
|
|
### Linux
|
|
1. Install dependiences
|
|
|
|
(Debian-like)
|
|
|
|
``sudo apt install build-essential git cmake libgl-dev libwayland-dev xorg-dev libxkbcommon-dev``
|
|
|
|
(Arch-like)
|
|
|
|
``sudo pacman -S base-devel git cmake libglvnd wayland xorg-server-devel xorgproto libxkbcommon``
|
|
|
|
2. Create build folder
|
|
``mkdir build && cd build``
|
|
|
|
3. Generate CMake cache and build the project
|
|
```
|
|
cmake .. -B .
|
|
cmake --build .
|
|
```
|
|
|
|
### Windows
|
|
1. Install [Visual studio Build Tools](https://aka.ms/vs/stable/vs_BuildTools.exe) and [CMake](https://github.com/Kitware/CMake/releases/download/v4.3.0-rc3/cmake-4.3.0-rc3-windows-x86_64.msi)
|
|
|
|
2. Create build folder
|
|
``mkdir build && cd build``
|
|
|
|
3. Generate CMake cache and build the project
|
|
```
|
|
cmake ..
|
|
cmake --build .
|
|
```
|
|
|
|
## Visual Studio
|
|
|
|
1. Open the repository folder in **Visual Studio**.
|
|
2. Visual Studio will automatically detect the `CMakeLists.txt` file and generate the project configuration.
|
|
3. Set **MinecraftPE.exe** as the **target**.
|
|
4. Press **Run** (or F5) to build and launch the game.
|
|
|
|
## Android
|
|
|
|
1. Download **Android NDK r14b**:
|
|
http://dl.google.com/android/repository/android-ndk-r14b-windows-x86_64.zip
|
|
|
|
2. Extract it to the root of your `C:` drive so the path becomes:
|
|
|
|
```
|
|
C:\android-ndk-r14b
|
|
```
|
|
|
|
3. Run the build script:
|
|
|
|
```powershell
|
|
# Full build (NDK + Java + APK + install)
|
|
.\build.ps1
|
|
|
|
# Skip C++ compilation (Java/assets changed only)
|
|
.\build.ps1 -NoCpp
|
|
|
|
# Skip Java compilation (C++ changed only)
|
|
.\build.ps1 -NoJava
|
|
|
|
# Only repackage + install (no compilation)
|
|
.\build.ps1 -NoBuild
|
|
``` |