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.
axel
downloader used to speed up the downloads from archive.org available in reposapt get install axel
.bash
and 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.sh
will download the download links from archive.org intourls.txt
,urls2.txt
andall_urls.txt
./convert_urls.sh
will convertall_urls.txt
into a readable filegame_names.txt
cp game_names.txt game_names.yaml
and editgame_names.yaml
by uncommenting what games you want to download. when finished make a backup ofgame_names.yaml
just incase you use theautorun.sh
script later on and accidentally press y when it asks you to create agame_names.yaml
file../build_download_urls.sh
this will convertgame_names.yaml
back to proper urls and save the output todownload_urls.txt
- Finally
./download_all.sh
will 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.