@@ -34,7 +34,7 @@ do_postinst()
3434 # #############################
3535 # SHARED PARTITION PROCESSES #
3636 # #############################
37- notif_set 0 " 3/4 COPY OPKS TO USB MOUNT^DO NOT TURN OFF THE CONSOLE"
37+ notif_set 0 " 3/4 COPY FILES TO USB MOUNT^DO NOT TURN OFF THE CONSOLE"
3838
3939 # Mount Rootfs
4040 mkdir -p ${root_mount}
@@ -47,8 +47,11 @@ do_postinst()
4747 # Copy OPKs
4848 cp -r ${root_mount} /usr/local/share/OPKs/* /mnt
4949
50+ # Copy freware games and other necessary mnt files
51+ unzip -q -o ${root_mount} /usr/local/share/mnt_files.zip -d /mnt/
52+
5053 # Fix PCE opk name if necessary
51- mv /mnt/Emulators/pce_mednaefn_funkey-s.opk /mnt/Emulators/pce_mednafen_funkey-s.opk 1> /dev/null 2>&1
54+ # mv /mnt/Emulators/pce_mednaefn_funkey-s.opk /mnt/Emulators/pce_mednafen_funkey-s.opk 1>/dev/null 2>&1
5255
5356 # Unmount Rootfs
5457 umount ${root_mount}
@@ -58,14 +61,14 @@ do_postinst()
5861 fi
5962
6063 # Change FunKey config files extension from .cfg to .fkcfg
61- SAVEIFS=$IFS
62- IFS=$( echo -en " \n\b" )
63- 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
64- for FILE in $( ls /mnt/" ${FOLDER} " /* .cfg 2> /dev/null) ; do
65- mv " $FILE " " ${FILE% .cfg} .fkcfg"
66- done
67- done
68- IFS=$SAVEIFS
64+ # SAVEIFS=$IFS
65+ # IFS=$(echo -en "\n\b")
66+ # 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
67+ # for FILE in $(ls /mnt/"${FOLDER}"/*.cfg 2>/dev/null); do
68+ # mv "$FILE" "${FILE%.cfg}.fkcfg"
69+ # done
70+ # done
71+ # IFS=$SAVEIFS
6972
7073 # ####################
7174 # Erase update file #
0 commit comments