mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
Replaced SDLRetro by PicoArch frontend (author: neonloop) for RetroFE and GMenu2X
Updated OS version
This commit is contained in:
parent
18d9e142dc
commit
270421b92c
@ -1,11 +1,11 @@
|
|||||||
# Uncomment and edit the following line to use a different ROM path.
|
# Uncomment and edit the following line to use a different ROM path.
|
||||||
list.path = %BASE_ITEM_PATH%/%ITEM_COLLECTION_NAME%
|
list.path = %BASE_ITEM_PATH%/%ITEM_COLLECTION_NAME%
|
||||||
list.includeMissingItems = false
|
list.includeMissingItems = false
|
||||||
list.extensions = zip,ZIP,wad,WAD,pak,PAK,scummvm,SCUMMVM
|
list.extensions = so,SO
|
||||||
list.menuSort = yes
|
list.menuSort = yes
|
||||||
list.romHierarchy = true
|
list.romHierarchy = true
|
||||||
|
|
||||||
launcher = sdlretro
|
launcher = picoarch
|
||||||
#metadata.type = MAME
|
#metadata.type = MAME
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,2 @@
|
|||||||
|
executable = %RETROFE_PATH%/launchers/picoarch_launch.sh
|
||||||
|
arguments = "%ITEM_FILEPATH%"
|
||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Launch the process in background, record the PID into a file, wait
|
# Launch the process in background, record the PID into a file, wait
|
||||||
# for the process to terminate and erase the recorded PID
|
# for the process to terminate and erase the recorded PID
|
||||||
sdlretro "$1"&
|
picoarch "$1"&
|
||||||
pid record $!
|
pid record $!
|
||||||
wait $!
|
wait $!
|
||||||
pid erase
|
pid erase
|
||||||
@ -1,2 +0,0 @@
|
|||||||
executable = %RETROFE_PATH%/launchers/sdlretro_launch.sh
|
|
||||||
arguments = "%ITEM_FILEPATH%"
|
|
||||||
Binary file not shown.
@ -49,7 +49,7 @@ mount_share () {
|
|||||||
|
|
||||||
# Create the directory structure if required
|
# Create the directory structure if required
|
||||||
#(cd /mnt; mkdir -p "Applications" "Emulators" "Games" "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "PS1/bios" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx")
|
#(cd /mnt; mkdir -p "Applications" "Emulators" "Games" "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "PS1/bios" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx")
|
||||||
(cd /mnt; mkdir -p "Libretro" "FunKey/.sdlretro/cores" "Emulators" "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "PS1/bios" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx")
|
(cd /mnt; mkdir -p "Libretro/cores" "Emulators" "Atari lynx" "Game Boy" "Game Boy Color" "Game Boy Advance" "Game Gear" "Neo Geo Pocket" "NES" "PS1" "PS1/bios" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan" "PCE-TurboGrafx")
|
||||||
|
|
||||||
# Check if there is a firmware update file
|
# Check if there is a firmware update file
|
||||||
if [ -f /mnt/FunKey-*.fwu ]; then
|
if [ -f /mnt/FunKey-*.fwu ]; then
|
||||||
|
|||||||
Binary file not shown.
8
Makefile
8
Makefile
@ -62,7 +62,7 @@ sdk: buildroot SDK/output/.config
|
|||||||
@$(BRMAKE) BR2_EXTERNAL=../SDK O=../SDK/output prepare-sdk
|
@$(BRMAKE) BR2_EXTERNAL=../SDK O=../SDK/output prepare-sdk
|
||||||
@$(call MESSAGE,"Generating SDK tarball")
|
@$(call MESSAGE,"Generating SDK tarball")
|
||||||
@export LC_ALL=C; \
|
@export LC_ALL=C; \
|
||||||
SDK=FunKey-sdk-$(shell cat FunKey/board/funkey/rootfs-overlay/etc/sw-versions | cut -f 2)-DrUm78; \
|
SDK=FunKey-sdk-DrUm78; \
|
||||||
grep -lr "$(shell pwd)/SDK/output/host" SDK/output/host | while read -r FILE ; do \
|
grep -lr "$(shell pwd)/SDK/output/host" SDK/output/host | while read -r FILE ; do \
|
||||||
if file -b --mime-type "$${FILE}" | grep -q '^text/'; then \
|
if file -b --mime-type "$${FILE}" | grep -q '^text/'; then \
|
||||||
sed -i "s|$(shell pwd)/SDK/output/host|/opt/$${SDK}|g" "$${FILE}"; \
|
sed -i "s|$(shell pwd)/SDK/output/host|/opt/$${SDK}|g" "$${FILE}"; \
|
||||||
@ -105,7 +105,7 @@ image: fun
|
|||||||
@mkdir -p root tmp
|
@mkdir -p root tmp
|
||||||
@./Recovery/output/host/bin/genimage --loglevel 0 --inputpath .
|
@./Recovery/output/host/bin/genimage --loglevel 0 --inputpath .
|
||||||
@rm -rf root tmp
|
@rm -rf root tmp
|
||||||
@mv images/sdcard.img images/FunKey-sdcard-$(shell cat FunKey/board/funkey/rootfs-overlay/etc/sw-versions | cut -f 2)-DrUm78.img
|
@mv images/sdcard.img images/FunKey-sdcard-DrUm78.img
|
||||||
|
|
||||||
image-prod: fun
|
image-prod: fun
|
||||||
@$(call MESSAGE,"Creating disk image")
|
@$(call MESSAGE,"Creating disk image")
|
||||||
@ -113,7 +113,7 @@ image-prod: fun
|
|||||||
@mkdir -p root tmp
|
@mkdir -p root tmp
|
||||||
@./Recovery/output/host/bin/genimage --loglevel 0 --config "genimage-prod.cfg" --inputpath .
|
@./Recovery/output/host/bin/genimage --loglevel 0 --config "genimage-prod.cfg" --inputpath .
|
||||||
@rm -rf root tmp
|
@rm -rf root tmp
|
||||||
@mv images/sdcard-prod.img images/FunKey-sdcard-prod-$(shell cat FunKey/board/funkey/rootfs-overlay/etc/sw-versions | cut -f 2)-DrUm78.img
|
@mv images/sdcard-prod.img images/FunKey-sdcard-prod-DrUm78.img
|
||||||
|
|
||||||
update: fun
|
update: fun
|
||||||
@$(call MESSAGE,"Creating update file")
|
@$(call MESSAGE,"Creating update file")
|
||||||
@ -128,7 +128,7 @@ update: fun
|
|||||||
@cd tmp && \
|
@cd tmp && \
|
||||||
echo sw-description rootfs.ext2.gz update_partition | \
|
echo sw-description rootfs.ext2.gz update_partition | \
|
||||||
tr " " "\n" | \
|
tr " " "\n" | \
|
||||||
cpio -o -H crc --quiet > ../images/FunKey-rootfs-$(shell cat FunKey/board/funkey/rootfs-overlay/etc/sw-versions | cut -f 2)-DrUm78.fwu
|
cpio -o -H crc --quiet > ../images/FunKey-rootfs-DrUm78.fwu
|
||||||
@rm -rf tmp
|
@rm -rf tmp
|
||||||
|
|
||||||
defconfig:
|
defconfig:
|
||||||
|
|||||||
12
package
Executable file
12
package
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd /opt/picoarch
|
||||||
|
./package
|
||||||
|
cp picoarch /opt/FunKey-OS/FunKey/board/funkey/rootfs-overlay/usr/games/
|
||||||
|
cp picoarch_funkey-s.opk /opt/FunKey-OS/FunKey/board/funkey/rootfs-overlay/usr/local/share/OPKs/Libretro/
|
||||||
|
|
||||||
|
cd ../FunKey-OS
|
||||||
|
make
|
||||||
|
|
||||||
|
rm -f FunKey/board/funkey/rootfs-overlay/usr/games/picoarch
|
||||||
|
rm -f FunKey/board/funkey/rootfs-overlay/usr/local/share/OPKs/Libretro/picoarch_funkey-s.opk
|
||||||
Loading…
x
Reference in New Issue
Block a user