Advertisement
metalx1000

Street Fighter II - Shell Script - MAME

Mar 6th, 2015
597
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. zip="/tmp/rom_sf2.zip"
  4. dir="/tmp/sf2"
  5. rom="${dir}/ssf2t.zip"
  6.  
  7. mkdir -p "$dir"
  8.  
  9. if [ ! -f "/usr/games/mame" ]
  10. then
  11.   sudo apt-get install mame -y
  12. fi
  13.  
  14. wget -c "https://dl.dropbox.com/s/d1n98wb8p5gpj1w/sf2.zip?dl=0" -O "$zip"
  15. unzip -o "$zip" -d "$dir"
  16. rm "$zip"
  17.  
  18. mame "$rom" -rompath "$dir"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement