Haiku port #23

Open
Li wants to merge 3 commits from Li/minecraft-pe-0.6.1:main into main
First-time contributor
No description provided.
Li added 1 commit 2026-04-20 00:40:25 +02:00
First-time contributor

Hope this will be merged soon

Hope this will be merged soon
Author
First-time contributor

there are a few things i think maybe could be sorted out at some point

  • creating a haiku package file (hpkg) for the game

  • in this case, also saving savedata in a different directory to the main directory (since haiku has the system files mounted as read-only by default-)

currently the game will always look in the current directory for game files, which haiku will defualt to the home folder or the folder the game was started from (so if you launch it from the deskpad the game doesn't work as it expects the data folder to aslo be in the deskpad folder-)

however the way* these things are handled in the code does not make it have a clear way to solve this, at the moment (vannilia MCPE will load from an 'asset path' or whatever, seems to have been removed in this one ..)

there are a few things i think maybe could be sorted out at some point - creating a haiku package file (hpkg) for the game - in this case, also saving savedata in a different directory to the main directory (since haiku has the system files mounted as read-only by default-) currently the game will always look in the current directory for game files, which haiku will defualt to the home folder or the folder the game was started from (so if you launch it from the deskpad the game doesn't work as it expects the data folder to aslo be in the deskpad folder-) however the way* these things are handled in the code does not make it have a clear way to solve this, at the moment (vannilia MCPE will load from an 'asset path' or whatever, seems to have been removed in this one ..)
Li added 1 commit 2026-04-20 11:02:38 +02:00
Li added 1 commit 2026-04-20 12:30:35 +02:00
Author
First-time contributor

ok i have tried to solve both issues, i have coded the game to search in the system/data/minecraftpe folder on haiku, and i have also included a script at project/haiku/createpkg.sh to create a hpkg file, along with some other stuff, (though maybe this should be done by cmake itself? i dont know-)

the game seems very functional and playable now though .

ok i have tried to solve both issues, i have coded the game to search in the system/data/minecraftpe folder on haiku, and i have also included a script at project/haiku/createpkg.sh to create a hpkg file, along with some other stuff, (though maybe this should be done by cmake itself? i dont know-) the game seems very functional and playable now though .
Li force-pushed main from 7353c08084 to f8e7c0f80f 2026-04-20 12:36:45 +02:00 Compare
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u main:Li-main
git checkout Li-main
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Kolyah35/minecraft-pe-0.6.1#23