Skip to content

uis246/AltCraft

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AltCraft Build Status

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)

Protocol

  • Compression
  • Encryption
  • Inventory
  • Multiple dimensions
  • Plugin channels
  • Extensions
    • Transperent protocol-level proxy
    • FML protocol

Building

  1. 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.

  1. Generate project-files for your compiler by CMake.
    git submodule update --init
    mkdir build && cd build
    cmake ..
  1. 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.

  1. 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.

  1. Enjoy!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.2%
  • Lua 10.4%
  • CMake 5.0%
  • Other 1.4%