fant0men

Get US ROMs regex

Nov 21st, 2019
145
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. This torrent contains 804 american Super Nintendo ROMs. It doesn't contain any hacks/beta's and very few doubles. A list of the ROMs is included in the torrent as a text file.
  2.  
  3. I downloaded a FULL SET torrent created by euroemu.net and used regular expressions in bash to separate the (U) ROMs from the other ones. This is the method I used:
  4.  
  5. for r in *\(*U*\)*[!].* *\(*U*\).*; do echo "$r"; done
  6.  
  7. It uses two regex's:
  8.  
  9. *(*U*)*[!].*
  10. Gets all the verified good dumps.
  11.  
  12. *(*U*).*
  13. Gets the other dumps that are not available as verified.
  14.  
  15. ..and after that, to get rid of the hacks and beta's:
  16.  
  17. ls | grep -i -e hack -e beta | while read line; do echo "$line"; done
RAW Paste Data