-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package Steward Fu's SuperMario64 port
- Loading branch information
Showing
4 changed files
with
62 additions
and
0 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 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,35 @@ | ||
# MiniUI Apps - Super Mario 64 | ||
|
||
[Steward Fu](https://github.com/steward-fu)'s port of Super Mario 64. | ||
|
||
Source: https://github.com/steward-fu/miyoo-mini/releases (find `sm64p_<date>.zip`) | ||
|
||
*Keep in mind that the Mini doesn't support Nintendo 64, so the performance is pretty bad.* | ||
|
||
## Screenshots | ||
|
||
| In-game | | ||
|:---------------------------------------------------:| | ||
| ![SuperMario64 - In-game](res/SuperMario64_000.png) | | ||
|
||
## Installation | ||
|
||
**Steward Fu's ports require [Parasyte](../Parasyte.pak), make sure you have it installed!** | ||
|
||
## Pre-packaged | ||
|
||
1. **Install [Parasyte](../Parasyte.pak)** | ||
2. Download the latest version from Github: https://github.com/erazemk/MiniUI-Apps/releases | ||
3. Extract the archive and move the `SuperMario64.pak` directory to your SD card, | ||
to the `Tools` directory (create it if it doesn't exist already) | ||
|
||
## Manually packaged | ||
|
||
1. Download [Steward Fu's sm64p](https://github.com/steward-fu/miyoo-mini/releases) | ||
(find `sm64p_<date>.zip`) | ||
2. Extract the archive, go into the directory and rename the `sm64p` directory to `sm64p.pak` | ||
3. Delete the png file and config.json | ||
4. Replace the existing `launch.sh` file with the one from this repository | ||
(https://raw.githubusercontent.com/erazemk/MiniUI-Apps/main/SuperMario64.pak/launch.sh) | ||
5. Move the `SuperMario64.pak` directory to your SD card, to the `Tools` directory | ||
(create it if it doesn't exist already) |
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,26 @@ | ||
#!/bin/sh | ||
|
||
DIR=$(dirname "$0") | ||
PARASYTE="/mnt/SDCARD/.system/paks/Parasyte.pak/rootfs" | ||
|
||
export HOME=$DIR | ||
export PATH=$DIR:$PARASYTE/usr/local/sbin:$PARASYTE/usr/local/bin:$PARASYTE/usr/sbin:$PARASYTE/usr/bin:$PARASYTE/sbin:$PARASYTE/bin:$PATH | ||
export LD_LIBRARY_PATH=$DIR/lib:$PARASYTE/lib:$PARASYTE/usr/lib:$LD_LIBRARY_PATH | ||
export SDL_VIDEODRIVER=mmiyoo | ||
export SDL_AUDIODRIVER=mmiyoo | ||
export EGL_VIDEODRIVER=mmiyoo | ||
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | ||
|
||
cd "$DIR" || exit | ||
|
||
# Launch a menu, explaining to the user that the game won't be auto-saved | ||
if [ ! -f ./initial-warning-done ]; then | ||
show okay.png | ||
say "SM64p is a standalone app,"$'\n'" IT WILL NOT BE AUTO-SAVED"$'\n'"when powering off!"$'\n' | ||
confirm only | ||
touch ./initial-warning-done | ||
fi | ||
|
||
swapon ./ram.img | ||
./sm64.us.f3dex2e > "$LOGS_PATH"/SM64p.txt 2>&1 | ||
swapoff ./ram.img |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.