This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
2,203 additions
and
1,302 deletions.
There are no files selected for viewing
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,40 @@ | ||
<p align="center"> | ||
<img alt="Start Screen" src="images/start.png"> | ||
</p> | ||
# MCPI++ Source Code | ||
|
||
# Minecraft: Pi Edition: Reborn | ||
Minecraft: Pi Edition Modding Project | ||
The [main](https://github.com/NoozSBC/mcpi-reborn-extended/tree/main) branch is for hosting the APT repo and debs. This branch is for the source code used to compile the modded debs. | ||
|
||
## Documentation | ||
[View Documentation](docs/README.md) | ||
If you are concerned about the mod having malware of any kind, just don't use it. Feel free to compare a diff against vanilla reborn to see a full list of what changes have been made. | ||
|
||
## Compiling | ||
### Depends | ||
- Debian-based build enviroment (or Docker if you don't have one) | ||
- git | ||
|
||
Download the source code: | ||
``` | ||
git clone --recurse-submodules -b source https://github.com/NoozSBC/mcpi-reborn-extended && cd mcpi-reborn-extended | ||
``` | ||
|
||
Make sure your OS is x86_64! | ||
To build everything for all available architectures use this: | ||
``` | ||
./scripts/install-dependencies.sh | ||
./scripts/package-all.sh | ||
``` | ||
|
||
If you are doing a lot of testing are you don't want to take the time to build everything then you will need to install dependencies with this command: | ||
`sudo bash ./scripts/install-dependencies.sh` | ||
|
||
and then use this command each time you compile: | ||
|
||
`./scripts/package.sh <client|server> <amd64|arm64|armhf>` | ||
|
||
You will need to choose your architecture and if you want to build the client or the server, click [here](https://github.com/mobilegmYT/mcpi-reborn-extended/blob/source/docs/INSTALL.md#picking-a-package) for more info | ||
|
||
### Building on Windows | ||
If you are a windows user on WSL and want to build packages, you'll need to have Docker Desktop installed and set to the WSL backend. | ||
|
||
``` | ||
./scripts/ci/simulate.sh | ||
``` | ||
|
||
Build output is in the out/ folder. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: minecraft-pi-reborn-client | ||
Version: ${VERSION} | ||
Architecture: amd64 | ||
Maintainer: Nooz <[email protected]> | ||
Description: Community mod of MCPI-Reborn | ||
Homepage: https://github.com/mobilegmYT/mcpi-reborn-extended/ | ||
Depends: libc6, libstdc++6, libc6-armhf-cross, libstdc++6-armhf-cross, libgles1, libegl1, libglfw3 | libglfw3-wayland, libfreeimage3, libopenal1, qemu-user, patchelf, python3-minecraftpi | ||
Section: games | ||
Priority: optional |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: minecraft-pi-reborn-client | ||
Version: ${VERSION} | ||
Architecture: arm64 | ||
Maintainer: Nooz <[email protected]> | ||
Description: Community mod of MCPI-Reborn | ||
Homepage: https://github.com/mobilegmYT/mcpi-reborn-extended/ | ||
Depends: libc6, libstdc++6, libc6:armhf, libstdc++6:armhf, libgles1, libegl1, libglfw3 | libglfw3-wayland, libfreeimage3, libopenal1, patchelf, python3-minecraftpi | ||
Section: games | ||
Priority: optional |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: minecraft-pi-reborn-client | ||
Version: ${VERSION} | ||
Architecture: armhf | ||
Maintainer: Nooz <[email protected]> | ||
Description: Community mod of MCPI-Reborn | ||
Homepage: https://github.com/mobilegmYT/mcpi-reborn-extended/ | ||
Depends: libc6, libstdc++6, libgles1, libegl1, libglfw3 | libglfw3-wayland, libfreeimage3, libopenal1, patchelf, python3-minecraftpi | ||
Section: games | ||
Priority: optional |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Sound | ||
for u in /home/* | ||
do | ||
n="$(basename "${u}")" | ||
if ! getent passwd "$n" >/dev/null | ||
then | ||
# not a real user, ignore | ||
continue | ||
fi | ||
|
||
mkdir -p "${u}/.minecraft-pi/" | ||
mkdir -p "${u}/.minecraft-pi/overrides" | ||
|
||
if [ ! -e "${u}/.minecraft-pi/overrides/libminecraftpe.so" ]; then | ||
echo "$(tput smul)$(tput setaf 6)$(tput bold)Installing sound support...$(tput sgr0)" | ||
mv /usr/lib/minecraft-pi-reborn-client/libminecraftpe.so "${u}/.minecraft-pi/overrides/libminecraftpe.so" | ||
fi | ||
done |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: minecraft-pi-reborn-server | ||
Version: ${VERSION} | ||
Maintainer: Nooz <[email protected]> | ||
Description: Modded server for Minecraft Pi Edition | ||
Homepage: https://github.com/mobilegmYT/mcpi-reborn-extended/ | ||
Architecture: amd64 | ||
Depends: libc6, libstdc++6, libc6-armhf-cross, libstdc++6-armhf-cross, qemu-user, patchelf | ||
Section: games | ||
Priority: optional |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: minecraft-pi-reborn-server | ||
Version: ${VERSION} | ||
Maintainer: Nooz <[email protected]> | ||
Description: Modded server for Minecraft Pi Edition | ||
Homepage: https://github.com/mobilegmYT/mcpi-reborn-extended/ | ||
Architecture: arm64 | ||
Depends: libc6, libstdc++6, libc6:armhf, libstdc++6:armhf, patchelf | ||
Section: games | ||
Priority: optional |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: minecraft-pi-reborn-server | ||
Version: ${VERSION} | ||
Maintainer: Nooz <[email protected]> | ||
Description: Modded server for Minecraft Pi Edition | ||
Homepage: https://github.com/mobilegmYT/mcpi-reborn-extended/ | ||
Architecture: armhf | ||
Depends: libc6, libstdc++6, patchelf | ||
Section: games | ||
Priority: optional |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.