Add mcpelauncher install script (Minecraft: Bedrock Edition launcher) - #307
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Add mcpelauncher install script (Minecraft: Bedrock Edition launcher)#307devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new RetroPie-Extra
portsscriptmodule that builds the client from minecraft-linux/mcpelauncher-manifest (the unofficial Minecraft: Bedrock Edition launcher) from source and registers it as a port.The script follows the standard RetroPie scriptmodule format (
depends/sources/build/install/configurefunctions,rp_module_*headers,getDepends/gitPullOrClone/addPorthelpers).gitPullOrCloneclones with--recursive, which pulls the manifest's many submodules needed for the build.Build/install specifics:
-DBUILD_UI=OFF) to avoid the Qt dependency chain, uses the system libcurl (-DUSE_OWN_CURL=OFF), and disables source-tree dev paths (-DENABLE_DEV_PATHS=OFF) for a clean packaged install.make installtarget (-DCMAKE_INSTALL_PREFIX="$md_inst"), which placesbin/mcpelauncher-clientand the bundled native libs undershare/mcpelauncher.configurewrites a smallmcpelauncher.shwrapper that invokes the client with--game-dir/--data-dir/--cache-dirpointing at$romdir/ports/mcpelauncher/gameand the user's config/cache dirs, thenaddPorts it.Minecraft is not free/redistributable, so no game data is downloaded.
rp_module_helpinstructs the user to extract their own Bedrock APK (AndroidManifest.xml,assets/,lib/) into$romdir/ports/mcpelauncher/game.rp_module_flags="!all rpi4 rpi5 x86_64"— excluded from--alland limited to platforms with the required OpenGL ES support.Also adds the entry to the ports list in
README.md, marked untested.Note: I have not been able to run a full build/install on target RetroPie hardware, so the script is listed as untested.
Link to Devin session: https://app.devin.ai/sessions/2b40522a36664ce3a5d0a7afa941df98
Requested by: @Exarkuniv