_                _   _                 ____            _     _  
   / \   _ __   ___ | |_| |__   ___ _ __  |  _ \ _ __ ___ (_) __| |  
  / _ \ | '_ \ / _ \| __| '_ \ / _ \ '__| | | | | '__/ _ \| |/ _` |  
 / ___ \| | | | (_) | |_| | | |  __/ |    | |_| | | | (_) | | (_| |  
/_/   \_\_| |_|\___/ \__|_| |_|\___|_|    |____/|_|  \___/|_|\____| 
                                                                bbs
  XQTRs lair...
Home // Blog // NULL emag. // Files // Docs // Tutors // GitHub repo


Getting ROMS from Archive.org
Posted on: 2024-07-06, by xqtr roms, bash, archive A neat way to get roms, specially for MAME, is using the Archive.org site. WIth a simple search you can find complete sets of rom files for many MAME versions. You can just click a file and get the complete set, but you can also navigate into the archive/zip file and get individual files/roms. This is really useful when you are making your own set of games and don't want to just download all the games/roms. Because i really liked this method and getting only the games i want to have in my collection, i built a bash script to automate the procedure. First find such a collection and click the links to get into the list of the main zip file. An example of such a list can be found here: https://ia601806.us.archive.org/view_archive.php?archive=/35/items/ arcade-0223-merged/Arcade/roms.zip You have to download the source of the HTML page with a browser or just use wget or curl. After you have the HTML list file, get the script i built from here: http://andr01d.zapto.org:8080/Files/xqtr_tools/arcroms.sh Make sure to make it executable. Also install fzf and wget if you don't have them in your system. To use it just give a command like: ./arcroms.sh ziplist.htm Replace ziplist.htm with the name of the file you gave to the HTML page you downloaded earlier. You will see a list of .zip files. Type the name of rom file and fzf will find it. Press TAB if you want to select multiple. When you are done selecting, press ENTER, and all the .zip files will be downloaded with wget into the current directory. Enjoy!