Commit Graph
72 Commits
Author SHA1 Message Date
Eilionoir Tunnicliff 698ce11bcd Fix Elucubratus dpkg errors 2022-07-12 23:37:42 -04:00
Duy Tran Khanh 8aea2ee5fc Changes
Added a little more debug info
Fixes: the GUI button hides itself; Makefile jar path; Restart before
launching game
2022-07-01 12:43:30 +07:00
Eilionoir Tunnicliff 7f9d71537d Bugfix: "The folder does not exist" when signing into the launcher 2022-06-30 22:48:11 -04:00
Duy Tran Khanh ee2c68fb98 Fixes
Makefile: fix path
Moved GameSurfaceView to a separate class
Renamed MinecraftDownloader to MinecraftResourceUtils

Fix: Some versions fails because GLFW_CLIENT_API is not set
2022-07-01 07:02:25 +07:00
Duy Tran Khanh b772e3d8f2 Fix building .jar; support mapped resources 2022-06-02 07:14:52 +07:00
Duy Tran Khanh 5d7c77d697 Forge 1.17+ support 2022-05-29 20:03:04 +07:00
khanhduytran0 2a9d3909f8 Internal, renderer and UI changes + 1.19-pre1 support
Minecraft 1.19 support:
- Since 1.19-pre1, LWJGL 3.3.1 is used. However, LWJGL 3.2.3 still works with it, at least for this Minecraft release.
- Added a hack to skip calling to ObjC codes (skipped an asset file to skip setting the icon)
- JNA version replacing: now only change to 5.8.0 if version < 5.8.0

Internal changes:
- Cleanup: moved global functions to a new place
- Handle demo user correctly: actually authenticate the game with demo's access token and use the Xbox gamertag as the username
- Start moving strings to Localizable.strings (WIP)
- Re-wrote the Microsoft authentication and account management to Objective-C
- Assets downloading: added a tiny sleep call so that the UI won’t be frozen when too many tasks are executed at the same time

Renderers changes
- gl4es: `init_constructor` is now enabled, therefore moved the preload part to before `eglInitialize` (or EGL will be de-init after gl4es's hardware test).
- gl4es-extra (aka holy gl4es 1.1.4) is now used to replace the regular gl4es. This fixes VBO issue on version < 1.13 and some extra stuff. https://github.com/PojavLauncherTeam/gl4es-114-extra/commit/d6cf5c4
- Removed gl4es 1.1.5 and `Disable gl4es shaderconv` as it's unnecessary for now
- Removed vgpu, as it requires some missing extensions when come to shaders

User interface:
- The account selection list now displays the skin head (or the Xbox gamerpic if demo) and the account type
2022-05-22 11:31:14 +07:00
Adam TunnicandDuy Tran Khanh 81ae236181 Disable Mojang login (#331)
Merging early because... why not. Anyone that hasn't migrated now will get the warning.

Co-authored-by: Duy Tran Khanh <[email protected]>
2022-03-09 19:03:08 -05:00
Adam Tunnic 3c26158406 Fix ipa build
Note that the ipa still doesn't work
2022-03-05 00:17:06 -05:00
Adam Tunnic 3ece9e2ccb Workflow changes part 2 2022-02-07 01:13:35 -05:00
Adam Tunnic 30e51de2cd oops 2022-01-30 10:47:34 -05:00
Adam Tunnic df8c8fc85f use gnproc and nproc (for procursus on macos)
on the road development is bumpy
2022-01-30 10:45:04 -05:00
Duy Tran Khanh 6ddcfbe47d Makefile: multi-jobs building native code 2022-01-30 06:51:04 +07:00
Adam Tunnic 623f336c6f Merge remote-tracking branch 'refs/remotes/origin/main' 2022-01-23 20:46:46 -05:00
Adam Tunnic cedfe8f38c Finish make ipa
Still requires proper codesigning afterwards, and until I figure out the depends folder you'll need to download a copy of the Azul JDK artifact on our android-openjdk-build-multiarch repository and extract it to depends/jre. Tested and working on my MacBook Pro, although I need to find out why libjsig.dylib is defined twice (this issue doesn't hinder the build though, install_name_tool just doesn't apply changes).
2022-01-23 20:46:31 -05:00
khanhduytran0 fbde4948d5 Various bug fixes
- Input cursor movement seems too fast, attempt to reduce it by setting larger font size in the hidden text field.
- latestlog.txt doesn't log in 1.12+ since Log4j patch. Fixed by adding some config lines.
- Makefile: building is broken when run make from a path with space(s). Fixed by handling spaces with backslashes.
- text2speech is not overridden properly. Fixed by excluding it from download list and adding launcher.jar itself to the classpath.
- XML log output in < 1.12 since Log4j patch. Fixed by using our own configuration file.

Some more changes:
- Commented out a debug line in LWJGLX
- Fix a typo.
- JavaLauncher: use (ObjC)BOOL instead of (std)bool.
2022-01-17 08:18:06 +07:00
Adam Tunnic 7ca6bf8a67 Fix Makefile error and move external_include to external/zink 2021-11-30 11:00:44 -05:00
Adam Tunnic e73cc6e9ef Fix Duy's deploy and install stuffs 2021-11-30 10:52:00 -05:00
Adam Tunnic 131cb61be6 smh my head x2 2021-11-26 00:13:53 -05:00
Adam Tunnic f1707045b0 smh my head 2021-11-26 00:10:16 -05:00
Adam Tunnic cfd2dde8fa Fix postinst properly 2021-11-26 00:07:22 -05:00
Adam Tunnic 59b152c427 Makefile for 2.0 (#291)
* my brain hurts. let's keep going:

- iOS 15 packaging support
- rewrote the makefile to not copy and paste over and over
- dSYM generation in the makefile itself
- started working on ipabuilder in the makefile

* delete unneeded files

* delete unneeded files 2

* ahaha

* PojavCore.dSYM is a directory

* why am i such an idiot smh

* Update release.yml (#279)

* Add /usr/share changes, pt 1

* Fix old dir removal and migration

* Add check for already migrated + remove unneeded stuffs

* Remove free() from removed vars

* Fix workflow

* Fix Makefile

* Fix Makefile... again

* Add unjailbroken branch's IPABuilder

* Push what I have

* Push more changes

* control file stuff
2021-11-25 23:29:20 -05:00
Duy Tran Khanh 4f59e0ffff PojavCore is now inside the main executable
This took so long since there was a failed attempt in unloading and
reloading JVM to support Forge 1.17.x. Next attempt would be rewrite
everything to Objective-C and move the JVM entry point to the start of
the game.
2021-10-01 11:14:05 +07:00
Duy Tran Khanh 64f4042103 Changes
- Downgraded to Mesa 21.0 since 21.2.? goes brrr
- Zink renderer is now visible in the renderer picker.
- Makefile: test multi-line ssh script moment
2021-09-18 19:52:09 +07:00
Duy Tran Khanh b2ffd5edc3 Changes
- libpojavexec.dylib is now PojavCore.framework.
- More changes for Zink renderer. Note that Mesa 21.0 is included instead of 21.2.1 due to the new version seems to be broken, only display glClearColor.
2021-09-17 07:00:14 +07:00
doregon 0c1122c0ea Debug logging switch, currently not used 2021-09-05 15:01:35 -04:00
Adam Tunnic 58030b7caf Disable shaderconv switch completely on 1.1.4 2021-09-02 23:03:03 -04:00
doregon 11974a497f Changes
- exit app button in pojavlauncher prefs
- jailbreak warning on non-pro strapped jailbreaks
- better deciphering of what jailbreak is in use
2021-09-01 23:54:19 -04:00
doregon 15a6cf0acf MultiMC-like instances:
- now stores the minecraft directory in .pojavlauncher/instances/default
- configurable straight from the preferences
- migrates your existing minecraft folder to instances/default
- moves L/AS/m from Documents/ to .pojavlauncher/
- changes home directory to .pojavlauncher/
- automatically switches the L/AS/m symlink based on the current instance
- accounts stay the same between instances
2021-08-24 02:56:00 -04:00
Adam Tunnic e60209eaf6 Merge branch 'main' of [email protected]:PojavLauncherTeam/PojavLauncher_iOS 2021-08-23 11:14:51 -04:00
Adam Tunnic 74091950a2 Require JDK 8 2021-08-23 11:14:36 -04:00
doregon 51d342bdac Allow the Makefile to run when stdin is not available. 2021-08-22 22:17:27 -04:00
Duy Tran Khanh de6479f1e6 Changes
- test regal stuff (lib not added)
- auto init symlinks for jailed JRE
2021-08-18 05:52:40 +07:00
Duy Tran Khanh b7086e7316 Symlink "Library/Application Support/minecraft" 2021-08-14 18:28:45 +07:00
doregon a0582d0f26 Make the About view into a UIMenu
- Only affects iOS 14
- About, Send your logs, Update all in one spot **EASY TO FIND**
- Also fixed a makefile error
- Also fixed a text field thing
2021-08-09 02:05:41 -04:00
Duy Tran Khanh 98ecda573c Fixes #253: symlink for libawt_headless.dylib 2021-08-08 06:56:17 +07:00
Duy Tran Khanh b297f9b57d Update Makefile 2021-08-05 05:57:41 +07:00
Duy Tran Khanh a3976102a9 Removed MinecraftSurface storyboard dependence 2021-08-04 05:48:43 +07:00
Duy Tran Khanh fa62e8d268 Correct how Makefile set debug mode 2021-08-04 05:30:29 +07:00
Duy Tran Khanh f2566e3da5 Basic mod installer implementation 2021-08-03 16:06:32 +07:00
Duy Tran Khanh 0668d016bf Changes
- Added Caciocavallo (libawt_xawt stubs) support library.
- Added support lauching Minecraft 1.5.2 and older (requires latest
JRE8 build)
- [Custom controls] Implemented opacity property.
- Version info is now updated through macro instead of `sed` command.
2021-08-01 10:41:02 +07:00
doregon 1c0a8a34dc Actually build the launcher with the new option on GH 2021-07-20 00:14:57 -04:00
doregon 6a43d3d823 Try to prevent any merge conflicts from building the launcher 2021-07-20 00:11:37 -04:00
doregon b749da72b1 Update the Makefile to support dev vs stable
The whole point is to be able to distinguish commits, tbh
2021-07-19 23:49:07 -04:00
Duy Tran Khanh cade3c1f01 Added Caciocavallo (not yet finished) 2021-07-04 19:43:33 +07:00
doregon e74790a165 Revert that last commit 2021-07-03 18:39:09 -04:00
doregon febb1a40c6 Make the makefile detect a little better
This shouldn't affect operation on Apple Silicon Macs.
2021-07-03 17:32:48 -04:00
Duy Tran Khanh 7d3913ecb5 Revert c2cc703c2d
See 31fc7647b6
Duplicate resign, but c2cc703c2d is problematic.
2021-07-02 05:06:48 +07:00
Adam Tunnic 31fc7647b6 Fix make deploy ldid issues on iOS 2021-07-01 18:01:36 -04:00
Duy Tran Khanh c2cc703c2d Resign binaries on deploy task 2021-07-02 04:59:02 +07:00