Skip to content

Commit 52d51f4

Browse files
committed
Added missing NGP script
Forgot the NGP script for RetroArch! Also updated the README to cover the script.
1 parent e7bf5f3 commit 52d51f4

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ hacked `lang_array.ini` for a system that you know was working fine.
1818

1919
# How to install
2020

21+
If you don't already have a script to launch NeoGeo Pocket games through RetroArch, copy
22+
the file `retroarch\bin\ngp` to your existing `retroarch\bin` directory. If you do already
23+
have a script, the `emuinfo.txt` stuff included here and explained further down expects
24+
your script to launch NeoGeo Pocket games to be called `ngp` - if it's not, you'll need
25+
to make adjustments to the `emuinfo.txt` and `rominfo.txt` files to reflect this
26+
difference...
27+
2128
From your existing `ASPh\local` directory, go into one of the existing system directories
2229
(e.g. `English`) and copy the `help` directory to the `ASPh\local\French` directory
2330
included here.

retroarch/bin/ngp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/system/bin/sh
2+
3+
LD_LIBRARY_PATH=/mnt/hdisk/retroarch/lib:$LD_LIBRARY_PATH
4+
RAPATH=/mnt/hdisk/retroarch
5+
RABIN=${RAPATH}/bin/retroarch
6+
CORESPATH=${RAPATH}/cores
7+
RACFG=${RAPATH}/retroarch.cfg
8+
9+
export HOME=/mnt/hdisk/
10+
11+
busybox fbset -fb /dev/fb0 -g 1280 720 1280 720 32
12+
13+
retroarch_launch () {
14+
$RABIN --verbose --log-file /mnt/hdisk/ra_${1}.log -c $RACFG -L $CORESPATH/${1}_libretro.so ${2} &> /mnt/hdisk/error_ra_${1}.log
15+
}
16+
17+
retroarch_launch mednafen_ngp $1
18+

0 commit comments

Comments
 (0)