Author Topic: .bat script for downloading all Tempus maps  (Read 554 times)

Larry

  • Intermediate Jumper
  • **
  • Posts: 55
    • View Profile
.bat script for downloading all Tempus maps
« on: July 06, 2017, 11:30:24 PM »
Made a script that downloads all maps currently on Tempus / maps you are missing. See readme for more details.  8)
https://github.com/PancakeLarry/BatchDownloadTempusMaps

Default download url is in EU, so might be slow for gamers elsewhere.

Quote
07:11 - un gato: thank you for infecting my computer


Larry

  • Intermediate Jumper
  • **
  • Posts: 55
    • View Profile
Re: .bat script for downloading all Tempus maps
« Reply #1 on: July 06, 2017, 11:37:50 PM »
Oh, and if for some reason anyone wants all the maps currently on Tempus in a handy list, here you go:

John

  • video games
  • Administrator
  • Legend
  • *****
  • Posts: 775
    • View Profile
Re: .bat script for downloading all Tempus maps
« Reply #2 on: July 06, 2017, 11:41:53 PM »
i love bash but i do not love batch

scotch

  • Moderator
  • Advanced Jumper
  • *****
  • Posts: 237
    • View Profile
Re: .bat script for downloading all Tempus maps
« Reply #3 on: July 07, 2017, 12:17:17 AM »
8)hell yeah

Vexon

  • Community Manager
  • needs to stop posting
  • *****
  • Posts: 1253
  • :}
    • View Profile
Re: .bat script for downloading all Tempus maps
« Reply #4 on: July 07, 2017, 12:38:57 AM »
well thats fuckin useful
5:01 PM - john | jump.tf: 👌

200

  • Advanced Jumper
  • ***
  • Posts: 114
  • bind space hud_reloadscheme
    • View Profile
    • CFG.TF
Re: .bat script for downloading all Tempus maps
« Reply #5 on: July 07, 2017, 03:06:08 AM »
Honestly, wget has built-in download list support so looping through the entire map_list.txt with batch is kinda pointless, but I like the idea of this script being fool-proof.

Here is a possible 2-line solution for Linux users (run directly from your /maps folder). It will skip files if exist. map_list.txt should be in that folder too.

Code: [Select]
sed -i -e 's/^/http:\/\/51.15.35.221\/tf\/maps\//' map_list.txt
wget -nc -i map_list.txt

AI

  • Server Admin
  • Professional Jumper
  • *
  • Posts: 345
  • Plugins Developer
    • View Profile
Re: .bat script for downloading all Tempus maps
« Reply #6 on: July 07, 2017, 05:13:03 AM »
There's also the download link generator at the bottom of https://cdn.jumpacademy.tf for any other maps.

Larry

  • Intermediate Jumper
  • **
  • Posts: 55
    • View Profile
Re: .bat script for downloading all Tempus maps
« Reply #7 on: July 07, 2017, 12:51:13 PM »
Honestly, wget has built-in download list support so looping through the entire map_list.txt with batch is kinda pointless, but I like the idea of this script being fool-proof.

Here is a possible 2-line solution for Linux users (run directly from your /maps folder). It will skip files if exist. map_list.txt should be in that folder too.

Code: [Select]
sed -i -e 's/^/http:\/\/51.15.35.221\/tf\/maps\//' map_list.txt
wget -nc -i map_list.txt
cool, didn't know about this. Any idea if it works for wget in poweshell?

Larry

  • Intermediate Jumper
  • **
  • Posts: 55
    • View Profile
Re: .bat script for downloading all Tempus maps
« Reply #8 on: July 07, 2017, 12:51:44 PM »
There's also the download link generator at the bottom of https://cdn.jumpacademy.tf for any other maps.
doesn't have some newer maps like mireal3 :(

AI

  • Server Admin
  • Professional Jumper
  • *
  • Posts: 345
  • Plugins Developer
    • View Profile
Re: .bat script for downloading all Tempus maps
« Reply #9 on: July 07, 2017, 06:12:31 PM »
You can ask any of our mods, delegates, or admins to upload it.  They all have access to the map uploads page of the site.