AltCraft is implementation of Minecraft: Java Edition client in C++. This is aimed at being fast, free, portable and easy expandable. Current protocol version: 340 (Minecraft 1.12.2)
- Compression
- Encryption
- Inventory
- Multiple dimensions
- Plugin channels
- Extensions
- Transperent protocol-level proxy
- FML protocol
- Install C++ compiler, CMake 3.5, SDL2, SDL2_net(exclude Linux), libZLIB, Lua5 and OpenAL.
Arch:
sudo pacman -S cmake gcc sdl2 openal lua51
Debian:
sudo apt install cmake g++ libsdl2-dev libopenal-dev liblua5.1-0-dev
Fedora:
sudo dnf install cmake gcc-c++ SDL2-devel mesa-libGL-devel mesa-libGLU-devel zlib-devel
Linux: GCC7 and system package manager.
Windows: Visual Studio 2017 and vcpkg.
- Generate project-files for your compiler by CMake.
git submodule update --init
mkdir build && cd build
cmake ..
- Copy .minecraft/version/{version}/{version}.jar/assets/ to AltCraft-root/cwd/
You can extract .jar file as .zip archive.
/cwd/assets/minecraft/models/block/block.json must be a valid path.
- Compile generated files. Content of /cwd/ will be automatically copied to directory with compiled binary.
Linux:
make
in directory with generated files.
Windows: Use VS2017 to open .sln file and build project.
- Enjoy!