#!/bin/bash

umount /dev/cdrom

SAVE=`kdialog --icon /usr/share/pixmaps/aiso2.png --caption "Select where to Save the PSX Image and Name!" --getsavefilename $HOME/ `

if test -z $SAVE
then
exit
else
echo
continua
fi

konsole --noclose -e cdrdao read-cd --read-raw --datafile "$SAVE".bin --device /dev/cdrom --driver generic-mmc-raw "$SAVE".toc

exit
