mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
launch emulators in /tmp/funkey
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
4bc5db8c79
commit
652b6cc581
@ -11,6 +11,7 @@ fi
|
||||
export PAGER='/bin/more'
|
||||
export EDITOR='/usr/bin/nano'
|
||||
export SDL_NOMOUSE=1
|
||||
export MEDNAFEN_HOME=/tmp/funkey/.mednafen
|
||||
|
||||
# Source configuration files from /etc/profile.d
|
||||
for i in /etc/profile.d/*.sh ; do
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
|
||||
|
||||
# New default palette for version 1.0.
|
||||
#set dmg_bgp 0x98d0e0 0x68a0b0 0x60707C 0x2C3C3C
|
||||
#set dmg_wndp 0x98d0e0 0x68a0b0 0x60707C 0x2C3C3C
|
||||
#set dmg_obp0 0x98d0e0 0x68a0b0 0x60707C 0x2C3C3C
|
||||
#set dmg_obp1 0x98d0e0 0x68a0b0 0x60707C 0x2C3C3C
|
||||
|
||||
# Light grayscale.
|
||||
set dmg_bgp 0xffffff 0xc0c0c0 0x808080 0x404040
|
||||
set dmg_wndp 0xffffff 0xc0c0c0 0x808080 0x404040
|
||||
set dmg_obp0 0xffffff 0xc0c0c0 0x808080 0x404040
|
||||
set dmg_obp1 0xffffff 0xc0c0c0 0x808080 0x404040
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
cp /usr/games/mednafen-09x.cfg /root/.mednafen/
|
||||
cd /tmp/funkey/
|
||||
mednafen -fs 1 -gg.stretch full "$1"
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -gb.xscale 1.5 -gb.yscale 1.5 -fs 0 "$1"
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -gb.xscale 1.5 -gb.yscale 1.67 -fs 0 "$1"
|
||||
|
||||
#mednafen -sounddriver sdl -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -gb.xres 240 -gb.yres 240 -gb.yscale 1 -gb.xscale 1 -gb.stretch full -fs 1 "$1"
|
||||
cd /tmp/funkey
|
||||
sdlgnuboy --syncrtc "$1"
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -gba.xscale 1 -gba.yscale 1 -fs 0 "$1"
|
||||
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -gba.xscale 1 -gba.yscale 1.5 -fs 0 "$1"
|
||||
|
||||
cd /tmp/funkey
|
||||
gpsp "$1"
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -gba.xscale 1 -gba.yscale 1 -fs 0 "$1"
|
||||
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -gba.xscale 1 -gba.yscale 1.5 -fs 0 "$1"
|
||||
|
||||
cd /tmp/funkey
|
||||
gpsp "$1"
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
cp /usr/games/mednafen-09x.cfg /root/.mednafen/
|
||||
cd /tmp/funkey
|
||||
mednafen -fs 1 -lynx.stretch full "$1"
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -frameskip 1 -force_module snes_faust -snes_faust.xscale 0.823 -snes_faust.yscale 0.823 -fs 0 "$1"
|
||||
|
||||
cp /usr/games/mednafen-09x.cfg /root/.mednafen/
|
||||
cd /tmp/funkey
|
||||
mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -frameskip 1 -fs 0 "$1"
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -frameskip 1 -force_module md -md.xscale 0.822 -md.yscale 0.822 -fs 0 "$1"
|
||||
|
||||
cd /tmp/funkey
|
||||
PicoDrive "$1"
|
||||
|
||||
@ -1,9 +1,5 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -nes.xscale 0.94 -nes.yscale 0.94 -nes.special none -fs 0 "$1"
|
||||
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -nes.xscale 0.94 -nes.yscale 1.075 -nes.special none -fs 0 "$1"
|
||||
|
||||
SDL_NOMOUSE=1 /usr/games/fceux "$1"
|
||||
cd /tmp/funkey
|
||||
fceux "$1"
|
||||
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
cp /usr/games/mednafen-09x.cfg /root/.mednafen/
|
||||
cd /tmp/funkey
|
||||
mednafen -fs 1 -ngp.stretch full "$1"
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
cp /usr/games/mednafen-09x.cfg /root/.mednafen/
|
||||
cd /tmp/funkey
|
||||
mednafen -fs 1 -force_module pce_fast -pce_fast.stretch full "$1"
|
||||
|
||||
@ -1,8 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -psx.xscale 0.625 -psx.yscale 0.625 -fs 0 "$1"
|
||||
|
||||
#mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -psx.xscale 0.625 -psx.yscale 0.834 -fs 0 "$1"
|
||||
|
||||
cd /tmp/funkey
|
||||
pcsx -frameskip -cdfile "$1"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
cd /tmp/funkey
|
||||
pcsx -frameskip -cdfile "$1"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
cd /tmp/funkey
|
||||
PicoDrive "$1"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
cd /tmp/funkey
|
||||
psnes "$1"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
cd /tmp/funkey
|
||||
psnes "$1"
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
#!/bin/sh
|
||||
#echo $1
|
||||
|
||||
cp /usr/games/mednafen-09x.cfg /root/.mednafen/
|
||||
cd /tmp/funkey
|
||||
mednafen -fs 1 -wswan.stretch full "$1"
|
||||
|
||||
@ -11,6 +11,9 @@ if [ -f ${LOCK_FILE} ]; then
|
||||
fi
|
||||
touch ${LOCK_FILE}
|
||||
|
||||
mkdir -p ${MEDNAFEN_HOME}
|
||||
cp /usr/games/lynxboot.img /usr/games/mednafen-09x.cfg ${MEDNAFEN_HOME}/
|
||||
|
||||
# Launch Previous Game
|
||||
if [ -f ${QUICK_LOAD_FILE} ]; then
|
||||
command=$(cat ${QUICK_LOAD_FILE})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user