Author Topic: [helper script] blockland file downloader  (Read 827 times)

this is a python script i made so i could easily download and update blockland files on a remote VPS that wouldn't necessarily have a) a compatible os, or b) display drivers to run the launcher

i'm sure people have found other ways, since there certainly are others, but i think this is a nice, organised approach which doesn't require much involvement past running the script

note: unsure of compatibility past python 2.7, prints are likely broken sorry mom

https://github.com/ottosparks/blocklandLaunch

Quote
command line:
-p : blockland install directory
-i : don't ask to confirm updates
-c : don't update, just check

just plop the .py file wherever and run it

e.g.
Code: [Select]
python blocklandLaunch.py -p blockland_dinguswould create/update the blockland installation at ./blockland_dingus/

if no -p parameter is given, the script defaults to ./Blockland/

i hope this helps some people

i don't imagine this goes against any policies but please stop me if it does


super-important post-note i just realised:
this will get windows files. if you want to get mac files, you likely need to change line 45 to reflect that, although i'm not sure of the specifics
if this is very serious for a lot of people i'll make an update to account for this
« Last Edit: September 20, 2014, 11:53:29 AM by otto-san »