Skip to content

Create script for all depends #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
If you want to compile Super Mario 64 for Android on PC you'll probably want to clone [this repo](https://github.com/VDavid003/sm64-port-android-base) instead!
If you want to compile on Android using [Termux](https://f-droid.org/en/packages/com.termux/) (make sure you use the F-Droid version, as the Google Play version is outdated), follow these instructions in Termux:

**Install dependencies:**
```sh
pkg install git wget make python getconf zip apksigner clang
```

**Clone the repository:**
```sh
git clone https://github.com/VDavid003/sm64-port-android
git clone https://github.com/faizu396/sm64-port-android
cd sm64-port-android
```

Expand All @@ -21,9 +16,9 @@ termux-setup-storage
cp /sdcard/path/to/your/baserom.z64 ./baserom.us.z64
```

**Get SDL includes:**
**Install dependencies:**
```sh
./getSDL.sh
./getdepends.sh
```

**Build:**
Expand Down
12 changes: 0 additions & 12 deletions getSDL.sh

This file was deleted.

11 changes: 11 additions & 0 deletions getdepends.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

pkg install git wget make python getconf zip apksigner clang binutils openssl
wget https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.zip
unzip -q SDL2-2.28.5.zip
mv SDL2-2.0.12/include include
ln -s . include/SDL2
rm SDL2-2.28.5.zip
rm -r SDL2-2.28.5
mkdir ~/../usr/include/KHR
wget https://www.khronos.org/registry/EGL/api/KHR/khrplatform.h -O ~/../usr/include/KHR/khrplatform.h