Announcement

Collapse
No announcement yet.

Visitor Messages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hello, it might also be interesting that your script works under Ubuntu 20.04 and wine. I wrote a
    small shell script for this. I just have to run each .mps manually in Tiny Hexer but it works.

    rm -rf $HOME/.wine/drive_c/DMICOPY/*
    CHOOSE_FILE=$(zenity --file-selection --title "Zu bearbeitende File wählen!" --multiple --filename "$HOME/Downloads/" 2> /dev/null)
    FILE_NAME=$(basename ${CHOOSE_FILE})
    cp -uv $CHOOSE_FILE $HOME/.wine/drive_c/DMICOPY/locked.bin
    wine $HOME/Dokumente/Tiny-Hexer/Tiny\ Hexer/mpth.exe > /dev/null 2>&1
    zenity --info --title "WICHTIG" --text="\nBitte nur die File ** locked.bin ** kopieren!" --width=600 --height=100 2> /dev/null
    UNLOCK=$(zenity --file-selection --title "Zu kopierende File wählen! = locked.bin" --multiple --filename "$HOME/.wine/drive_c/DMICOPY/" 2> /dev/null)
    cp -uv $UNLOCK ${CHOOSE_FILE%.*}_unlocked.bin
Working...
X