Skip to content

HiLick1/PojavLauncher_iOS

 
 

Repository files navigation

iOS build Discord

PojavLauncher_iOS

Minecraft: Java Edition launcher for iOS, based on PojavLauncher Android.

This launcher is now available at the Procursus repository, thanks to @Diatrus!

Navigation

Introduction

  • This is an attempt to get Minecraft: Java Edition running on jailbroken iOS.
  • Minimum requirements: device running iOS 12 or newer.

Building

Requirements:

  • Mac OS X (tested: 10.15)
  • Xcode (tested: 11.7.0)
  • Minimum iOS SDK: 13.4.
  • JDK 8 installed
  • gradle to build Java part.
  • cmake, wget, ldid, dpkg and fakeroot to package. Run in this directory
# Only run if you haven't installed JDK 8
brew install adoptopenjdk8

# Install required packages
brew install cmake wget ldid dpkg fakeroot gradle

# Give exec perm
chmod 755 *.sh

# Build natives part
./build_natives.sh

# Build java part
./build_javaapp.sh

# Sign with entitlements and package
./build_package.sh

How does it work?

  • Use OpenJDK 16 from Procursus to get a real Java environment.
  • Use MetalANGLE for OpenGL ES -> Metal translator.
  • Use GL4ES for OpenGL -> OpenGL ES translator.
  • Use our LWJGL3 iOS port.
  • Use same launch method as PojavLauncher Android.

Current status

  • Java Runtime Environment: OpenJDK 16.
  • LWJGL3 iOS port: works
  • OpenGL: GL4ES
  • Did Minecraft recognize OpenGL?
  • OpenAL: use @kcat's openal-soft
  • Input pipe implementation
  • Account authentication (partial).
  • Does it work? Partial.
  • Currently, only Minecraft 1.6.1+ is tested to fully work.
  • Forge (1.16.?+), Fabric and OptiFine work well.

Known issues

  • On some versions, the camera position will jump to a random location on first time touch.
  • It might crash sometimes, but try to launch again until it works.

Installing OpenJDK 16

For Chimera/Odyssey/Taurine jailbreak

  • Add Procursus repository (https://apt.procurs.us) (usually the Sileo package manager already comes with the Procursus repo).
  • Find and install openjdk-16-jre.

For other jailbreak bootstraps

Manual

  • Download openjdk-16-jre.deb.
  • Install and open Filza File manager.
  • Go to where the .deb file was downloaded.
  • Open it and press Install.
  • If everything is fine, it will ends up with Setting up ....

Installing PojavLauncher

For Chimera/Odyssey/Taurine jailbreak

  • Add Procursus repository (https://apt.procurs.us) (usually the Sileo package manager already comes with Procursus repo).
  • Find and install pojavlauncher.

For other jailbreak bootstraps

  • Add Doregon's repository (https://doregon.github.io/cydia)
  • Find and install pojavlauncher for the release version, or pojavlauncher-dev for the latest good commit.

Manual

  • To get the release version,

    • Go to the Releases tab
    • Find the release you want
    • Download the .deb file
    • Open the .deb in Filza or install via a terminal!
  • To get the latest commit,

    • Download the latest build artifact from here
    • Unzip to reveal the .deb file
    • Open the .deb in Filza or install via a terminal!

Directory locations

  • Account json directory: /var/mobile/Documents/.pojavlauncher/accounts.
  • Minecraft home directory: /var/mobile/Documents/minecraft.
  • You can also customize JVM Arguments in overrideargs.txt on .pojavlauncher directory and customize environment variables in custom_env.txt on .pojavlauncher directory.

License

Contributing

Contributions are welcome! We welcome any type of contribution, not only code. Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it.

Credits & Third party components and their licenses

About

Minecraft: Java Edition launcher for iOS

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 65.8%
  • C 25.5%
  • C++ 6.7%
  • Objective-C 1.9%
  • Other 0.1%