File tree Expand file tree Collapse file tree 4 files changed +56
-0
lines changed Expand file tree Collapse file tree 4 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ # MiniUI Apps - 2048
2
+
3
+ [ Steward Fu] ( https://github.com/steward-fu ) 's port of 2048.
4
+
5
+ Source: https://github.com/steward-fu/miyoo-mini/releases (find ` 2048_<date>.zip ` )
6
+
7
+ ## Screenshots
8
+
9
+ | In-game |
10
+ | :-----------------------------------:|
11
+ | ![ 2048 - In-game] ( res/2048_000.png ) |
12
+
13
+ ## Installation
14
+
15
+ ** Steward Fu's ports require [ Parasyte] ( ../Parasyte.pak ) , make sure you have it installed!**
16
+
17
+ ## Pre-packaged
18
+
19
+ 1 . ** Install [ Parasyte] ( ../Parasyte.pak ) **
20
+ 2 . Download the latest version from Github: https://github.com/erazemk/MiniUI-Apps/releases
21
+ 3 . Extract the archive and move the ` 2048.pak ` directory to your SD card, to the ` Tools ` directory
22
+ (create it if it doesn't exist already)
23
+
24
+ ## Manually packaged
25
+
26
+ 1 . Download [ Steward Fu's 2048] ( https://github.com/steward-fu/miyoo-mini/releases )
27
+ (find ` 2048_<date>.zip ` )
28
+ 2 . Extract the archive, go into the directory and rename the ` 2048 ` directory to ` 2048.pak `
29
+ 3 . Delete the png files and config.json
30
+ 4 . Replace the existing ` launch.sh ` file with the one from this repository
31
+ (https://raw.githubusercontent.com/erazemk/MiniUI-Apps/main/2048.pak/launch.sh )
32
+ 5 . Move the ` 2048.pak ` directory to your SD card, to the ` Tools ` directory
33
+ (create it if it doesn't exist already)
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ DIR=$( dirname " $0 " )
4
+ PARASYTE=" /mnt/SDCARD/.system/paks/Parasyte.pak/rootfs"
5
+
6
+ export HOME=$DIR
7
+ export PYTHONPATH=$DIR /libs/python2.7:$DIR /libs/python2.7/site-packages:$DIR /libs/python2.7/lib-dynload
8
+ export PYTHONHOME=$DIR /libs/python2.7:$DIR /libs/python2.7/site-packages:$DIR /libs/python2.7/lib-dynload
9
+ export PATH=$DIR /bin:$PARASYTE /usr/local/sbin:$PARASYTE /usr/local/bin:$PARASYTE /usr/sbin:$PARASYTE /usr/bin:$PARASYTE /sbin:$PARASYTE /bin:$PATH
10
+ export LD_LIBRARY_PATH=$DIR /libs:$DIR /libs/python2.7/:$DIR /libs/python2.7/lib-dynload:$PARASYTE /lib:$PARASYTE /usr/lib:$LD_LIBRARY_PATH
11
+
12
+ cd " $DIR " || exit
13
+
14
+ # Launch a menu, explaining to the user that the game won't be auto-saved
15
+ if [ ! -f ./initial-warning-done ]; then
16
+ show okay.png
17
+ say " 2048 is a standalone app," $' \n ' " IT WILL NOT BE AUTO-SAVED" $' \n ' " when powering off!" $' \n '
18
+ confirm only
19
+ touch ./initial-warning-done
20
+ fi
21
+
22
+ python2 ./2048.py > " $LOGS_PATH " /2048.txt 2>&1
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ a custom launcher for the Miyoo Mini.
5
5
6
6
## Apps
7
7
8
+ - [ 2048] ( 2048.pak )
8
9
- [ Gmu] ( Gmu.pak )
9
10
- [ Parasyte] ( Parasyte.pak )
10
11
- [ VVVVVV] ( VVVVVV.pak )
You can’t perform that action at this time.
0 commit comments