Merge branch 'main' into externalmouse

This commit is contained in:
Duy Tran Khanh authored and GitHub committed 2021-04-16 11:08:40 +07:00
commit f39a0e211b
9 files changed
+127 -18

No files matched your search

+30
View File
@@ -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
+1
View File
@@ -0,0 +1 @@
blank_issues_enabled: false
+26
View File
@@ -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
+15
View File
@@ -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!
+11
View File
@@ -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.
+2 -2
View File
@@ -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];
Binary file not shown.
+40 -15
View File
@@ -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).
+2 -1
View File
@@ -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