Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
2.4.0 Final Push
Browse files Browse the repository at this point in the history
  • Loading branch information
NoozAbooz committed Jul 19, 2022
1 parent 96baf96 commit 12cb76c
Show file tree
Hide file tree
Showing 78 changed files with 2,203 additions and 1,302 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if(NOT MCPI_HEADLESS_MODE)
endif()

# App ID
set(DEFAULT_APP_ID "com.thebrokenrail.MCPIReborn")
set(DEFAULT_APP_ID "com.nooz.MCPIRebornExtended")
if(MCPI_SERVER_MODE)
string(APPEND DEFAULT_APP_ID "Server")
else()
Expand All @@ -43,7 +43,7 @@ endif()
set(MCPI_APP_ID "${DEFAULT_APP_ID}" CACHE STRING "App ID")

# App Title
set(DEFAULT_APP_TITLE "Minecraft: Pi Edition: Reborn")
set(DEFAULT_APP_TITLE "MCPI-Reborn Extended")
if(MCPI_SERVER_MODE)
string(APPEND DEFAULT_APP_TITLE " (Server)")
else()
Expand Down
19 changes: 0 additions & 19 deletions Dockerfile

This file was deleted.

37 changes: 0 additions & 37 deletions Jenkinsfile

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 TheBrokenRail
Copyright (c) 2022 Nooz, TheBrokenRail, Bigjango13, and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
45 changes: 38 additions & 7 deletions README.md
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.
9 changes: 9 additions & 0 deletions debian/client-amd64
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
9 changes: 9 additions & 0 deletions debian/client-arm64
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
9 changes: 9 additions & 0 deletions debian/client-armhf
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
18 changes: 18 additions & 0 deletions debian/postinst
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
9 changes: 9 additions & 0 deletions debian/server-amd64
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
9 changes: 9 additions & 0 deletions debian/server-arm64
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
9 changes: 9 additions & 0 deletions debian/server-armhf
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 modified dependencies/minecraft-pi/minecraft-pi-0.1.1.tar.gz
Binary file not shown.
22 changes: 0 additions & 22 deletions docs/BUILDING.md

This file was deleted.

27 changes: 0 additions & 27 deletions docs/INSTALL.md

This file was deleted.

Loading

0 comments on commit 12cb76c

Please sign in to comment.