Commit Graph

7432 Commits

Author SHA1 Message Date
tomikun
eeedb91235 bump: version from 1.1.2 to 1.1.3 2026-04-18 02:20:55 +08:00
tomikun
8267e6c6b7 Merge pull request #242 from AngelAuraMC/feat/mixed-lwjgl
mixed lwjgl bugfixes
2026-04-18 02:14:17 +08:00
tomikun
fe12700fd7 update: LWJGL modules
Uses https://github.com/AngelAuraMC/lwjgl3/actions/runs/24576036363 and
https://github.com/AngelAuraMC/lwjgl3/actions/runs/24579760055 for 3.4.1
and 3.3.3 respectively

Literally changes nothing for 3.4.1, adds some fixes for 3.3.3

* https://github.com/AngelAuraMC/lwjgl3/pull/2
* 3.3.3 is now multi-release. This means its more in sync with official
mojang lwjgl.
2026-04-18 02:12:41 +08:00
tomikun
c944c8e5b0 fix(lwjgl): Specify org.lwjgl.librarypath
For some reason b1.7.3 doesn't work with only adding to
`java.library.path`. They appear to override it or something as the
LWJGL debug logs say it only looks through the android native library
dir and no other.
2026-04-18 01:37:52 +08:00
tomikun
5c0c78cb8b fix(lwjgl): Exclude vulkan related modules from merging 2026-04-18 01:37:51 +08:00
tomikun
0d3a52feb0 bump(krypton_wrapper): 0.4.4 to 0.4.5 (#241) 1.1.2 2026-04-17 14:57:33 +08:00
tomikun
28c208b0cd fix(GLFW): Incorrect logic for gl version select (#240)
Accidentally checked major instead of minor here
2026-04-17 14:47:00 +08:00
tomikun
9df33bae66 [FIXME]regression: Execute .jar non-functional (#239)
#238 pushed the wrong commit..oops
2026-04-16 00:11:38 +08:00
tomikun
f2542c059e [FIXME]regression: Execute .jar non-functional (#238)
Because we moved the lwjgl natives to another location, it could no
longer find freetype. This fix is a janky solution. We should really
ship freetype itself as they do have a fairly stable ABI.

Forge installers breaks without freetype.
1.1.1
2026-04-15 23:32:07 +08:00
tomikun
85670cdc3f bump: version from 1.0.0 to 1.1.0 1.1.0 2026-04-12 01:00:09 +08:00
tomikun
3474e9d963 Merge pull request #229 from AngelAuraMC/feat/mixed-lwjgl
rework(jre_lwjgl3glfw): Mixed LWJGL versions (3.3.3/3.4.1)
2026-04-11 18:50:50 +08:00
CADIndie
4f5bc35d69 fix(cacio): Remove things that break in java 25
Uses
https://github.com/AngelAuraMC/caciocavallo17/actions/runs/24133618071

Co-authored-by: alexytomi <60690056+alexytomi@users.noreply.github.com>
2026-04-10 19:19:16 +08:00
alexytomi
1a6732686d rework(jre_lwjgl3glfw): Mixed LWJGL versions (3.3.3/3.4.1)
3.3.3 is compatible enough from past experience, they started making
breaking changes after that.

Uses https://github.com/AngelAuraMC/lwjgl3/actions/runs/24239834125 and
https://github.com/AngelAuraMC/lwjgl3/actions/runs/24239000627 for 3.4.1
and 3.3.3 modules respectively

Removed the InfDev mouse stuff because it was moved to the LWJGLX
module.

Removed jemalloc because we don't have jemalloc natives so it's just
useless.

Enabled shaderc,vma,spvc,vulkan bindings for Mojang VK and VulkanMod.
Cinnabar still has the issue of needing to have the built-in lwjgl
classes inside the jar removed else module encapsulation screws it over
and it can't access lwjgl.jar classes.

[FIXME] Added spirv-cross natives as AAR. Using
https://github.com/AngelAuraMC/SPIRV-Cross/actions/runs/24189750259.
Should probably be included in lwjgl natives build but lets worry about
that another time.
2026-04-10 19:19:15 +08:00
tomikun
8e22693013 Merge pull request #227 from AngelAuraMC/feat/misc
feat: Download JREs from github
2026-04-05 00:28:02 +08:00
alexytomi
5ce315857d feat: Manual JRE downloads
Lets you decide if you wanna download the JREs in the runtime manager
2026-04-04 18:57:21 +08:00
alexytomi
afaa9bda94 feat: Download JREs from github
This should help reduce apk size.
We still maintain Java 8 due to reasons.

All old legacy code for having internal runtimes were not removed
because we have no reason to.
2026-04-04 02:09:47 +08:00
alexytomi
32d987c1b0 feat: Add common sodium fixes
People keep asking and asking in the discord and am going insane. Fine,
have it.
2026-04-02 22:46:52 +08:00
alexytomi
1eb0841ab1 rework(Tools): Make hasMods() not case sensitive
Sure mods are usually lowercase but lets not gamble
2026-04-02 22:46:52 +08:00
alexytomi
055d2989cb fix(GLFW): Crash when early loading screens are used
Oversight on my part and a regression.
2026-04-02 17:20:49 +08:00
alexytomi
c5c2ace87e fix(app): Shortname for app typo!
Accidentally forgot to remove while copy pasting, oops
2026-04-01 15:43:44 +08:00
alexytomi
34bcb3474b fix(gl4es): Remove unused holygl4es libs 1.0.0 2026-04-01 11:57:42 +08:00
alexytomi
4b4fc634d1 feat: Replace HolyGL4ES with Krypton Wrapper (#163)
I did not replace legacy holygl4es specific code.
Based on
https://github.com/AngelAuraMC/amethyst-prebuilt-libraries/actions/runs/23828877624
2026-04-01 11:55:19 +08:00
alexytomi
2215904d3e change(app): Add (Debug) to app display name if debug build (#219) 2026-04-01 10:54:59 +08:00
alexytomi
76fb5002fe change(version): use semver as part of version string
We maintain everything before since it's useful information.
2026-04-01 10:18:32 +08:00
alexytomi
aace6b3efd bump(MobileGlues): 1.3.2 to 1.3.4
Uses
https://github.com/AngelAuraMC/amethyst-prebuilt-libraries/actions/runs/23826433625
2026-04-01 09:43:10 +08:00
alexytomi
20b37b93c7 change(MobileGlues): Remove GL43 option 2026-04-01 08:43:34 +08:00
alexytomi
d72c19bcbe Merge pull request #216 from AngelAuraMC/update/readme
fix(README): Outdated nightly.link link
2026-04-01 06:48:19 +08:00
alexytomi
cfa621c5c7 fix(README): Outdated nightly.link link 2026-04-01 06:47:46 +08:00
alexytomi
258a8488b6 Merge pull request #203 from AngelAuraMC/feat/lwjgl3.3.6
bump(lwjgl): Update LWJGL to 3.3.6
2026-03-15 00:36:50 +08:00
alexytomi
68d55043c6 fix: classpath incorrectness causing crash on BTA and others 2026-03-14 18:15:27 +08:00
alexytomi
77f0b7d0ba rework: Hashing functions
Added `File[]` variant
2026-03-14 18:15:27 +08:00
alexytomi
1f82ac8c47 fix(glfw): Add some missing window properties
This still isn't all of them but it is some of them. Fixes 26.1 Snapshot
11.
2026-03-14 18:15:27 +08:00
alexytomi
dcb4a8b6c9 fix(glfw): Fetch GL context version from driver proper
Old logic is relegated to being an overengineered default
2026-03-14 18:15:27 +08:00
alexytomi
6ca2bb12f7 fix(glfw): implement missing methods
Added `glfwGetWindowTitle` (which doesn't seem to be used by Minecraft)
Added `glfwPlatformSupported`
Added `glfwSetPreeditCallback`, `glfwSetPreeditCandidateCallback`,
`glfwSetIMEStatusCallback`
2026-03-14 18:15:27 +08:00
alexytomi
11e3472a05 bump(lwjgl): Update to 3.3.6 (from 3.3.3)
Jars/Modules and AAR are from
https://github.com/AngelAuraMC/lwjgl3/actions/runs/23080032954
2026-03-14 18:15:26 +08:00
alexytomi
eebfcbef53 Merge pull request #193 from AngelAuraMC/feat/swap-natives-to-aars
refactor: Move all natives and assets/components into seperate build
2026-03-14 12:07:46 +08:00
alexytomi
bfd4524509 fix: Release builds don't have updating components 2026-03-11 00:23:52 +08:00
alexytomi
f1a3e2aa60 update: NDK to r27d and preemptive changes for newer NDK ver
Newer NDK vers are stricter and dont have PAGE_SIZE so we fix those.

This finishes changes to support compiling on android via
[termux-ndk](https://github.com/lzhiyong/termux-ndk) or [Android Code
Studio](https://github.com/AndroidCSOfficial/acs-build-system) /
[android-ndk-custom](https://github.com/HomuHomu833/android-ndk-custom).
2026-03-10 19:22:35 +08:00
alexytomi
beeb8b5cb9 fix: version files for components now reproducable
Hash the jar (which is now reproducable) and use that for version file
Also made it so it is no longer dependent on `pwd` being the root
project.

Should fix part of the issues this has on compiling in android (termux /
Android Code Studio)
2026-03-10 18:47:23 +08:00
alexytomi
9697f77517 add: zstd-jni support for Distant Horizons
Uses
https://github.com/AngelAuraMC/amethyst-prebuilt-libraries/actions/runs/22815158859
for zstd natives
2026-03-08 14:01:14 +08:00
alexytomi
f090d130b1 rework: Rename lwjgl2_methods_injector into methods_injector_agent 2026-03-02 22:58:03 +08:00
alexytomi
9b2b061596 fix: imgui library name
Axiom uses a fork with a different naming scheme for the libraries. This
argument overrides that with what we use, which is a fork of the
official repo with android build instructions.
2026-03-02 22:58:03 +08:00
alexytomi
7b032bf339 fix(GLFW): implement glfwGetWindowContentScale
Fetching the scale/density from android is overkill, but it's the proper
implementation :D
2026-03-02 22:58:02 +08:00
alexytomi
aea1421fa3 fix: replace signing key
We generate a new AAMC signing key for github actions "release" variants

Removes the old pojav key that is unused
2026-03-01 05:12:25 +08:00
yunuservices
a14c36ace4 fix: missing GLFW_FOCUSED
Co-authored-by: alexytomi <60690056+alexytomi@users.noreply.github.com>
This is a modified version of
db43ccb51e
without the configs.

This is needed so imgui functions correctly.
2026-03-01 05:12:25 +08:00
alexytomi
7c9759eb6d change: explicitly only build for the four main architectures android uses
Some AARs can provide MIPS, RISC, or other arches which we don't support
and bloat the APK file
2026-03-01 05:12:25 +08:00
alexytomi
166efa7500 change: replace most jniLibs AARs
Used artifacts from
https://github.com/AngelAuraMC/amethyst-prebuilt-libraries/actions/runs/22347671136
which is based on
f0d76f179c

Except for lwjgl-build which is from
https://github.com/AngelAuraMC/amethyst-prebuilt-libraries/actions/runs/22i528508288
which is based on
1717ee410c

Still need to figure out libunpack and building freedreno but that's
lows on the priority for now
2026-03-01 05:12:23 +08:00
alexytomi
54b2818be1 fix: add release build variant
Some phone setups (particularly parental controlled devices) block debug
builds. So we make a release variant for those.
2026-02-27 02:26:42 +08:00
alexytomi
34fe895c4d change: Use AARs for SDL and renderers
Licenses are moved to the AAR files themselves
2026-02-16 19:53:25 +08:00
alexytomi
e37b690728 regression: caciocavallo17 only worked on java 25 (#184)
Accidentally forgot to change target to 17
2026-02-13 12:02:04 +08:00