Bash script for easily downloading ps2 games from archive.org. Script won't download already downloaded files so its safe to update the yaml file and rerun.
axeldownloader used to speed up the downloads from archive.org available in reposapt get install axel.bashand other basic linux comandline tools that should already be installed.
Run ./autorun.sh for an interactive session. Ok for first time use but I recommend manually calling scripts later on.
./get_urls.shwill download the download links from archive.org intourls.txt,urls2.txtandall_urls.txt./convert_urls.shwill convertall_urls.txtinto a readable filegame_names.txtcp game_names.txt game_names.yamland editgame_names.yamlby uncommenting what games you want to download. when finished make a backup ofgame_names.yamljust incase you use theautorun.shscript later on and accidentally press y when it asks you to create agame_names.yamlfile../build_download_urls.shthis will convertgame_names.yamlback to proper urls and save the output todownload_urls.txt- Finally
./download_all.shwill download everything fromdownload_urls.txt
You can edit download.sh to your liking as it is just a wrapper for axel. As is axel will use a random user agent each time it downloads, it will use 6 connections per download by default as I had issues with 10 on archive.org. It will also skip already downloaded files so you can safely rerun the script without it downloading everything again. And it will use an alternative graph so that it doesnt spam the display like the default one.
Convert 7z to gz for emulators. you can run the script convert_all_zips.sh to convert all downloaded 7z into gz. The script will create empty 7z files in place of the originals so that you dont waste disk space and so that the download all script skips them.
