diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 00000000..4d42e46b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,30 @@ +--- +name: Bug Report +about: Something not right? +title: "[Bug Report]" +labels: bug +assignees: '' + +--- + +**First, let us know what you’re using.** +Tell us what iOS/iPadOS device and version you’re using, and the PojavLauncher version. + +**Next, describe the issue.** +Make sure to be as descriptive as possible. + +**What’s supposed to happen?** +What were you expecting? + +**How does it happen?** +Let’s get a step by step on how to reproduce this issue. + +**Any files you want to send?** +We could use a copy of latestlog.txt or a Cr4shed screenshot. + +**Please verify that you have done the following:** + +- [ ] Provided details on what you’re seeing vs what you wanted +- [ ] Provided a log file, if relevant +- [ ] Provided steps to reproduce this issue +- [ ] Tested on the latest version of PojavLauncher diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md new file mode 100644 index 00000000..d77dea3f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -0,0 +1,26 @@ +--- +name: Feature request +about: Got an idea for PojavLauncher? +title: "[F-Req]" +labels: enhancement +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +Give us some details into the problem, and how this affects it. + +**Describe the solution you'd like** +What do you want to see changed, added, or removed? Make sure to be specific. + +**Describe alternatives you've considered** +Is there anythingg else you’ve thought of but crossed off? If so, tell us why. + +**Additional context** +Have a movk-up? Perhaps a template or set of files. Share them here! + +**Make sure you’ve dine the following:** +- [ ] Provided a clear description into what the feature request is +- [ ] (If applicable) provided an issue that this request would fix +- [ ] (If applicable) presented potential possibilities into adding this request +- [ ] (If applicable) Provided evidence such as a drawing, log file, file, etc. of what you wish to see reflected diff --git a/.github/ISSUE_TEMPLATE/informational.md b/.github/ISSUE_TEMPLATE/informational.md new file mode 100644 index 00000000..bf7e6c05 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/informational.md @@ -0,0 +1,15 @@ +--- +name: Informational +about: Quick and dirty docs, where they’re needed. +title: "[Info]" +labels: documentation +assignees: '' + +--- + +**Add some background.** +What’s this documentation for? If it’s a solution doc, what’s causing the issue? Why is it important to document? + +**The guts.** Write the documentation here. Solutions, simple tricks, screenshots and other goodies belong in this section. + +**Disclaimers.** If you’re posting a solution that’s risky, post a disclaimer saying it is! diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 00000000..966a6a93 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,11 @@ +--- +name: Question +about: Want to learn more about PojavLauncher? +title: "[Question]" +labels: question +assignees: '' + +--- + +**Ask your question here!** +Be descriptive in your question so that we can provide an equally descriptive answer. Make sure you’ve checked out the subreddit or the README before asking—your question might already have an answer. diff --git a/Natives/LauncherViewController.m b/Natives/LauncherViewController.m index 85eedd18..4d2e7a88 100644 --- a/Natives/LauncherViewController.m +++ b/Natives/LauncherViewController.m @@ -43,14 +43,14 @@ UITextField* versionTextField; } UILabel *versionTextView = [[UILabel alloc] initWithFrame:CGRectMake(4.0, 4.0, 0.0, 30.0)]; - versionTextView.text = @"Minecraft version:"; + versionTextView.text = @"Minecraft version: "; versionTextView.numberOfLines = 0; [versionTextView sizeToFit]; [scrollView addSubview:versionTextView]; versionTextField = [[UITextField alloc] initWithFrame:CGRectMake(versionTextView.bounds.size.width + 4.0, 4.0, width - versionTextView.bounds.size.width - 8.0, versionTextView.bounds.size.height)]; [versionTextField addTarget:versionTextField action:@selector(resignFirstResponder) forControlEvents:UIControlEventEditingDidEndOnExit]; - versionTextField.placeholder = @"Minecraft version"; + versionTextField.placeholder = @"Specify version..."; versionTextField.text = [NSString stringWithUTF8String:configver]; fclose(configver_file); [scrollView addSubview:versionTextField]; diff --git a/Natives/resources/Assets.car b/Natives/resources/Assets.car index 23106458..8bf2f05f 100644 Binary files a/Natives/resources/Assets.car and b/Natives/resources/Assets.car differ diff --git a/README.md b/README.md index 40337a8d..2b8770ed 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # PojavLauncher_iOS Minecraft: Java Edition launcher for iOS, based on [PojavLauncher Android](https://github.com/PojavLauncherTeam/PojavLauncher). -This launcher is now available at Procursus repository, thanks to @Diatrus! +This launcher is now available at the Procursus repository, thanks to [@Diatrus](https://twitter.com/Diatrus)! ## Navigation - [Introduction](#introduction) @@ -17,7 +17,7 @@ This launcher is now available at Procursus repository, thanks to @Diatrus! - [Credits & Third party components and their licenses](#credits--third-party-components-and-their-licenses) ## Introduction -- This is an attempt to get Minecraft Java run on a jailbroken iOS. +- This is an attempt to get Minecraft: Java Edition running on jailbroken iOS. - Minimum requirements: device running iOS 12 or newer. ## Building @@ -49,8 +49,8 @@ chmod 755 *.sh ./build_package.sh ``` -## How can it work? -- Use OpenJDK 16 from Procursus to get real Java environment. +## 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](https://github.com/PojavLauncherTeam/lwjgl3). @@ -65,30 +65,55 @@ chmod 755 *.sh - [x] Input pipe implementation - [x] Account authentication (partial). - [x] Does it work? Partial. -- Currently, only Minecraft 1.6.1+ tested to fully works. -- Forge (1.13+), Fabric and OptiFine works well. +- Currently, only Minecraft 1.6.1+ is tested to fully work. +- Forge (1.16.?+), Fabric and OptiFine work well. ## Known issues -- (Some versions) Camera position will be jumped to random location on first time touch. -- It might crash sometimes, but try launch again until you get it works. +- 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 bootstrap -- Add Procursus repository (https://apt.procurs.us) (usually Sileo package manager already come with Procursus repo). -- Find and install `openjdk-jre`. +### 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 bootstrap +### For other jailbreak bootstraps +- Add Doregon's repository (https://doregon.github.io/cydia) +- Find and install `openjdk-16-jre`. + +### Manual - Download [openjdk-16-jre.deb](https://github.com/PojavLauncherTeam/PojavLauncher_iOS/releases/tag/v16-openjdk). - Install and open Filza File manager. -- Go to where the .deb file downloaded. +- Go to where the .deb file was downloaded. - Open it and press Install. -- If everything fine, it will ends up with `Setting up ...`. +- 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](https://nightly.link/PojavLauncherTeam/PojavLauncher_iOS/workflows/ios/main/PojavLauncher%20deb.zip) + - 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 vatiables Arguments in `custom_env.txt` on `.pojavlauncher` directory. +and customize environment variables in `custom_env.txt` on `.pojavlauncher` directory. ## License - PojavLauncher is licensed under [GNU GPLv3](https://github.com/khanhduytran0/PojavLauncher_iOS/blob/master/LICENSE). diff --git a/control b/control index d78d5c3a..d2d666cf 100644 --- a/control +++ b/control @@ -2,7 +2,8 @@ Package: pojavlauncher Maintainer: DuyKhanhTran Architecture: iphoneos-arm Version: 1.1 -Depends: openjdk-16-jre +Depends: openjdk-16-jre, firmware (>= 12.0) +Conflicts: pojavlauncher-dev Section: Games Priority: optional Homepage: https://github.com/PojavLauncherTeam/PojavLauncher_iOS