minecraft-pi-reborn/soundstuff/compile.txt
2021-11-12 09:05:09 -07:00

16 lines
384 B
Plaintext

Extract sound from .so:
# Compile extract.cpp
clang++ -o extract ./extract.cpp
# Usage
./extract [Path To libminecraftpe.so] > minecraftpe.c
Compile .c to sound.so:
# Get toolchain
sudo apt-get install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi libncurses5-dev build-essential
# Compile
arm-linux-gnueabihf-gcc -shared -o libminecraftpe.so minecraftpe.c