Merge branch 'ReadOnly' of github.com:FunKey-Project/FunKey-OS into ReadOnly

This commit is contained in:
Vincent-FK 2020-11-04 00:28:40 +01:00
commit c41a3dce8f
21 changed files with 21 additions and 10075 deletions

View File

@ -11,6 +11,7 @@ fi
export PAGER='/bin/more' export PAGER='/bin/more'
export EDITOR='/usr/bin/nano' export EDITOR='/usr/bin/nano'
export SDL_NOMOUSE=1 export SDL_NOMOUSE=1
export MEDNAFEN_HOME=/tmp/funkey/.mednafen
# Source configuration files from /etc/profile.d # Source configuration files from /etc/profile.d
for i in /etc/profile.d/*.sh ; do for i in /etc/profile.d/*.sh ; do

View File

@ -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

View File

@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
#echo $1
cp /usr/games/mednafen-09x.cfg /root/.mednafen/ cd /tmp/funkey/
mednafen -fs 1 -gg.stretch full "$1" mednafen -fs 1 -gg.stretch full "$1"

View File

@ -1,7 +1,4 @@
#!/bin/sh #!/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" sdlgnuboy --syncrtc "$1"

View File

@ -1,7 +1,4 @@
#!/bin/sh #!/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" gpsp "$1"

View File

@ -1,7 +1,4 @@
#!/bin/sh #!/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" gpsp "$1"

View File

@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
#echo $1
cp /usr/games/mednafen-09x.cfg /root/.mednafen/ cd /tmp/funkey
mednafen -fs 1 -lynx.stretch full "$1" mednafen -fs 1 -lynx.stretch full "$1"

View File

@ -1,7 +1,4 @@
#!/bin/sh #!/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" cd /tmp/funkey
cp /usr/games/mednafen-09x.cfg /root/.mednafen/
mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -frameskip 1 -fs 0 "$1" mednafen -sound 1 -soundrate 22050 -soundbufsize 100 -vdriver sdl -frameskip 1 -fs 0 "$1"

View File

@ -1,6 +1,4 @@
#!/bin/sh #!/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" PicoDrive "$1"

View File

@ -1,9 +1,5 @@
#!/bin/sh #!/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" cd /tmp/funkey
fceux "$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"

View File

@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
#echo $1
cp /usr/games/mednafen-09x.cfg /root/.mednafen/ cd /tmp/funkey
mednafen -fs 1 -ngp.stretch full "$1" mednafen -fs 1 -ngp.stretch full "$1"

View File

@ -1,5 +1,4 @@
#!/bin/sh #!/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" mednafen -fs 1 -force_module pce_fast -pce_fast.stretch full "$1"

View File

@ -1,8 +1,4 @@
#!/bin/sh #!/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" pcsx -frameskip -cdfile "$1"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
#echo $1
cd /tmp/funkey
pcsx -frameskip -cdfile "$1" pcsx -frameskip -cdfile "$1"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
#echo $1
cd /tmp/funkey
PicoDrive "$1" PicoDrive "$1"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
#echo $1
cd /tmp/funkey
psnes "$1" psnes "$1"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
#echo $1
cd /tmp/funkey
psnes "$1" psnes "$1"

View File

@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
#echo $1
cp /usr/games/mednafen-09x.cfg /root/.mednafen/ cd /tmp/funkey
mednafen -fs 1 -wswan.stretch full "$1" mednafen -fs 1 -wswan.stretch full "$1"

View File

@ -11,6 +11,9 @@ if [ -f ${LOCK_FILE} ]; then
fi fi
touch ${LOCK_FILE} touch ${LOCK_FILE}
mkdir -p ${MEDNAFEN_HOME}
cp /usr/games/lynxboot.img /usr/games/mednafen-09x.cfg ${MEDNAFEN_HOME}/
# Launch Previous Game # Launch Previous Game
if [ -f ${QUICK_LOAD_FILE} ]; then if [ -f ${QUICK_LOAD_FILE} ]; then
command=$(cat ${QUICK_LOAD_FILE}) command=$(cat ${QUICK_LOAD_FILE})