minecraft-pi-reborn/soundstuff/compile.txt

16 lines
384 B
Plaintext
Raw Normal View History

2021-11-12 16:05:09 +00:00
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