自上而下使用 C 编写的自定义 Minecraft Classic / ClassiCube 客户端(以前称为 C# 中的 ClassicalSharp)
自上而下使用 C 编写的自定义 Minecraft Classic / ClassiCube 客户端(以前称为 C# 中的 ClassicalSharp)
ClassiCube is a custom Minecraft Classic compatible client written in C from scratch.
You can download ClassiCube here and the very latest builds here.
[!IMPORTANT] ClassiCube is not affiliated with (or supported by) Mojang AB, Minecraft, or Microsoft in any way.
ClassiCube is not trying to replicate modern Minecraft.
It will never support survival, Minecraft accounts, or modern Minecraft servers.
ClassiCube aims to replicate the 2009 Minecraft Classic client while offering optional enhancements to improve gameplay. ClassiCube can run on many systems, including desktop, web, mobile, and even some consoles.
Features (click to expand)ClassiCube strives to replicate the original Minecraft Classic experience by strictly adhering to clean room reverse engineering approach.
If you're interested in documenting or verifying the behaviour of the original Minecraft Classic, please get in contact on the ClassiCube Discord
Initially, you will need to run ClassiCube.exe to download the required assets from minecraft.net and classicube.net.
Just click 'OK' to the dialog menu that appears when you start the launcher.
Note: When running from within VirtualBox, disable Mouse Integration, otherwise the in-game camera won't work properly.
Singleplayer mode Run ClassiCube.exe, then click Singleplayer at the main menu.
Multiplayer mode Run ClassiCube.exe. You can connect to LAN/locally hosted servers, and classicube.net servers if you have a ClassiCube account.
The most common reason for being stuck on OpenGL 1.1 is non-working GPU drivers - so if possible, you should try either installing or updating the drivers for your GPU.
Otherwise:
-DCC_BUILD_GL11 to the compilation command line so that the compiled game supports OpenGL 1.1.ClassiCube runs on:
libopenalAnd also runs on:
libopenallibexecinfo and openal-soft packages (can download from here)libexecinfo and openal-soft packages (can download from here)libexecinfo and openal packagesopenal packagesopenal package (if you have a GitHub account, can download from here)openal packagesSDL2Note: The instructions below automatically compile ClassiCube with the recommended defaults for the platform.
If you (not recommended) want to override the defaults (e.g. to compile OpenGL build on Windows), see here for details.
If you get a The Windows SDK version 5.1 was not found compilation error, see here for how to fix
cl.exe src\*.c third_party\bearssl\*.c /link user32.lib gdi32.lib winmm.lib dbghelp.lib shell32.lib comdlg32.lib /out:ClassiCube.exeAssuming that you used the installer from https://sourceforge.net/projects/mingw-w64/ :
make windows - produces a simple non-optimised executable, easier to debugmake windows RELEASE=1 - produces an optimised executable, harder to debugAssuming that you used the installer from https://osdn.net/projects/mingw/ :
make windows - produces a simple non-optimised executable, easier to debugmake windows RELEASE=1 - produces an optimised executable, harder to debugSetting up TCC:
tcc-0.9.27-win64-bin.zip from https://bellard.org/tcc/winapi-full-for-0.9.27.zip from https://bellard.org/tcc/ winapi folder and _mingw_dxhelper.h from winapi-full-for-0.9.27.zip into TCC's include folderCompiling with TCC:
tcc.exe -o ClassiCube.exe src/*.c third_party/bearssl/*.c -lwinmm -lgdi32 -luser32 -lcomdlg32 -lshell32tcc.exe instead of just tcc.exe)Setting up Watcom:
Compiling with Watcom:
wcl386 -za99 -DCC_GFX_BACKEND=CC_GFX_BACKEND_GL1 -fe=ClassiCube.exe src/*.c third_party/bearssl/*.c winmm.lib
(Note: OpenGL rendering was specifically chosen because Direct3D 9 is broken in OW v2; This method written for compilation under Windows; on Linux, the steps are slightly different)libx11-dev, libxi-dev and libgl1-mesa-dev packagesmake linux - produces a simple non-optimised executable, easier to debugmake linux RELEASE=1 - produces an optimised executable, harder to debuggcc-mingw-w64 package)make windows CC=i686-w64-mingw32-gccgcc-mingw-w64 package)make windows CC=x86_64-w64-mingw32-gccAlthough the regular linux compiliation flags will work fine, to take full advantage of the hardware:
make rpi
make darwin - produces a simple non-optimised executable, easier to debugmake darwin RELEASE=1 - produces an optimised executable, harder to debugmisc/macOS/CCMAC.xcodeproj project in XcodeNOTE: If you are distributing a modified version, please change the package ID from com.classicube.android.client to something else - otherwise Android users won't be able to have both ClassiCube and your modified version installed at the same time on their Android device
Open misc/android folder in Android Studio (TODO explain more detailed)
Run gradlew in misc/android folder (TODO explain more detailed)
iOS version will have issues as it's incomplete and only tested in iOS Simulator
NOTE: If you are distributing a modified version, please change the bundle ID from com.classicube.ios.client to something else - otherwise iOS users won't be able to have both ClassiCube and your modified version installed at the same time on their iOS device
misc/ios/CCIOS.xcodeproj project in Xcodexcodebuild -sdk iphoneos -configuration Debug (TODO explain more detailed)
make web - produces simple non-optimised output, easier to debugmake web RELEASE=1 - produces optimised output, harder to debugThe generated javascript file has some issues. See here for how to fix
For details on how to integrate the webclient into a website, s
暂无开放 Issues,或尚未同步最近议题。