picodrive.sh 403 B

123456789
  1. #!/bin/sh
  2. # Compare md5 of the PicoDrive binary in /usr/games with the OPK one
  3. if [ `md5sum /usr/games/PicoDrive | cut -d' ' -f1` != `md5sum PicoDrive | cut -d' ' -f1` ]; then
  4. rw
  5. cp -f PicoDrive /usr/games
  6. sed -i 's|list.extensions.*|list.extensions = zip,ZIP,sms,SMS,bin,BIN,gg,GG|' /usr/games/collections/Sega\ Master\ System/settings.conf
  7. ro
  8. fi
  9. exec /usr/games/launchers/megadrive_launch.sh "$1"