Skip to content

Latest commit

 

History

149 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Krypton Wrapper

Note

The latest version:

Release 0.4.5

See Releases

Krypton Wrapper (aka NG-GL4ES) is a fork from gl4es and gl4es-114-extra.

Features

  1. Capability to handle more advanced shaders;
  2. Capability to run Minecraft in almost all versions;
  3. More advanced OpenGL features.

Change Log

Please see Releases

Build

CMake

License

gl4es: MIT License
gl4es-114-extra: MIT License
This Project (for modified code): MIT License
License file: LICENSE.

Third-party components

SPIRV-Cross by KhronosGroup - Apache License 2.0: github
glslang by KhronosGroup - Various Licenses: github
cJSON by DaveGamble - MIT License: github
Some code is from MobileGlues.

Sponsor

ptitSeb (gl4es): paypal
PojavLauncherTeam (gl4es-114-extra): patreon (Discontinued)


Android AAR 构建(供 Fold Craft Launcher 使用)

本仓库根目录集成了 Gradle 构建,产出 libng_gl4es.so 打包的 AAR。

本地构建

需要 JDK 17 与 Android SDK(NDK 27):

# 拉取嵌套 submodule(3rdparty/glslang、SPIRV-Cross)
git submodule update --init --recursive

# 构建 release AAR(arm64-v8a / armeabi-v7a / x86 / x86_64)
JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home ./gradlew assembleRelease

产物输出到 build/outputs/aar/NG-GL4ES-release.aar

CI

GitHub Actions(.github/workflows/build.yml)在手动触发或 push 时构建 release AAR 并上传 artifact,可从 Actions 页面下载。

分支维护

  • mio/fixes(默认构建分支):含 src/gl/getter.cpp 空指针防御修复
  • main:跟随官方 BZLZHH/NG-GL4ES 上游(git fetch upstream && git merge upstream/main 同步)

集成到 FCL

NG-GL4ES-release.aar 放入 FCL 仓库的 FCL/libs/ 目录(保持文件名不变)即可。

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages