diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot index 92420a0..d13761f 100755 --- a/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot +++ b/FunKey/board/funkey/rootfs-overlay/usr/local/sbin/first_boot @@ -202,8 +202,8 @@ copy_files_to_usb_partition () { mount /mnt/ || die_notif 16 "Cannot mount /mnt" fi - # Copy freware games - unzip -q -o /usr/local/share/mnt_freware_games.zip -d /mnt/ + # Copy freware games and other necessary mnt files + unzip -q -o /usr/local/share/mnt_files.zip -d /mnt/ # Copy OPKs set +f diff --git a/FunKey/board/funkey/rootfs-overlay/usr/local/share/mnt_freware_games.zip b/FunKey/board/funkey/rootfs-overlay/usr/local/share/mnt_freware_games.zip deleted file mode 100644 index b6f39a1..0000000 Binary files a/FunKey/board/funkey/rootfs-overlay/usr/local/share/mnt_freware_games.zip and /dev/null differ diff --git a/FunKey/board/funkey/update_partition b/FunKey/board/funkey/update_partition index 4b34217..5cf8ae6 100755 --- a/FunKey/board/funkey/update_partition +++ b/FunKey/board/funkey/update_partition @@ -34,7 +34,7 @@ do_postinst() ############################## # SHARED PARTITION PROCESSES # ############################## - notif_set 0 " 3/4 COPY OPKS TO USB MOUNT^DO NOT TURN OFF THE CONSOLE" + notif_set 0 " 3/4 COPY FILES TO USB MOUNT^DO NOT TURN OFF THE CONSOLE" # Mount Rootfs mkdir -p ${root_mount} @@ -47,8 +47,11 @@ do_postinst() # Copy OPKs cp -r ${root_mount}/usr/local/share/OPKs/* /mnt + # Copy freware games and other necessary mnt files + unzip -q -o ${root_mount}/usr/local/share/mnt_files.zip -d /mnt/ + # Fix PCE opk name if necessary - mv /mnt/Emulators/pce_mednaefn_funkey-s.opk /mnt/Emulators/pce_mednafen_funkey-s.opk 1>/dev/null 2>&1 + #mv /mnt/Emulators/pce_mednaefn_funkey-s.opk /mnt/Emulators/pce_mednafen_funkey-s.opk 1>/dev/null 2>&1 # Unmount Rootfs umount ${root_mount} @@ -58,14 +61,14 @@ do_postinst() fi # Change FunKey config files extension from .cfg to .fkcfg - SAVEIFS=$IFS - IFS=$(echo -en "\n\b") - for FOLDER in "Atari lynx" "Game Boy" "Game Boy Advance" "Game Boy Color" "Game Gear" "Neo Geo Pocket" "NES" "PCE-TurboGrafx" "PS1" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan"; do - for FILE in $(ls /mnt/"${FOLDER}"/*.cfg 2>/dev/null); do - mv "$FILE" "${FILE%.cfg}.fkcfg" - done - done - IFS=$SAVEIFS + #SAVEIFS=$IFS + #IFS=$(echo -en "\n\b") + #for FOLDER in "Atari lynx" "Game Boy" "Game Boy Advance" "Game Boy Color" "Game Gear" "Neo Geo Pocket" "NES" "PCE-TurboGrafx" "PS1" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan"; do + # for FILE in $(ls /mnt/"${FOLDER}"/*.cfg 2>/dev/null); do + # mv "$FILE" "${FILE%.cfg}.fkcfg" + # done + #done + #IFS=$SAVEIFS ##################### # Erase update file # diff --git a/FunKey/package/retrofe/retrofe.mk b/FunKey/package/retrofe/retrofe.mk index 256b249..a0787fe 100644 --- a/FunKey/package/retrofe/retrofe.mk +++ b/FunKey/package/retrofe/retrofe.mk @@ -4,7 +4,7 @@ # ################################################################################ -RETROFE_VERSION = RetroFE-FunKey-1.1.3 +RETROFE_VERSION = RetroFE-FunKey-1.1.4 RETROFE_SITE_METHOD = git RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib