Download Games From Archive.org

Thanks to Archive.org a lot of the human history and our digital legacy is being preserved. Below a few snippets of code to download some of the available material from the website. It depends on pup. On nixos you can just run:

nix-shell -p pup

Save the script below to any file:

function archiveorg-download7z(){
    local URL=$1
    for f in $(curl ${URL} -sqL | pup 'a attr{href}' | grep -E '.7z$')
    do
        echo ${f}
        if [ ! -f "${f}" ]
        then
            wget ${URL}/${f} --continue
        else
            echo Skipping file ${f} - already downloaded
        fi
    done
}

function archiveorg-downloadZip(){
    local URL=$1
    for f in $(curl ${URL} -sqL | pup 'a attr{href}' | grep -E '.zip$')
    do
        echo ${f}
        if [ ! -f "${f}" ]
        then
            wget ${URL}/${f} --continue
        else
            echo Skipping file ${f} - already downloaded
        fi
    done
}

And load it with:

source script.sh

Below a list of games grouped by their system.

Games

Nintendo Game Cube

Urls:

Download

archiveorg-download7z https://archive.org/download/gamecubenaiso
archiveorg-download7z https://archive.org/download/gamecubenaiso/Nintendo%20-%20Gamecube

Sega Dreamcast

Url:

Download

archiveorg-download7z https://archive.org/download/almstcmpltdrmcst

PC Engine and Turbo Grafx

Url:

Download

archiveorg-download7z https://archive.org/download/gamecubenaiso
archiveorg-download7z https://archive.org/download/gamecubenaiso/Nintendo%20-%20Gamecube

Sega Saturn

Url:

Download

archiveorg-download7z https://archive.org/download/SgaStrnCmplt