Not logged inOpenClonk Forum
Up Topic General / Feedback and Ideas / Automated snapshot installation
- - By Maikel Date 2015-12-30 13:06
I have created small python script which loads the most current linux-amd64 snapshot and installs it, to remove the hassle of always finding and extracting the latest snapshot.

With some minor adaptations you might also get it to work with windows ;)

I hereby license the file get_snapshot.py.ext under the CC-BY license
Attachment: get_snapshot.py.ext (1k)
Parent - - By Pyrit Date 2016-01-20 14:03 Edited 2016-01-20 14:11
Very handy!

I modified it in order to work with Windows and Python 3!

I changed it a bit to extract everything but Music.ocg, because I like to keep an unpacked Music.ocg that contains the full soundtrack in the directory.

It extracts into the folder in wich the script itself lies.

I think you have to rename it to get_snapshot.py in order to run it. (Why did the forum add the .ext extension?)

Note that you might have to run it as an administrator if it's in a restricted folder like "Program Files".

Although I think it should work, I am not responsible for any damage or file loss this script might cause!

I hereby license the file get_snapshot.py.ext under the CC-BY license
Attachment: get_snapshot.py.ext (1k)
Parent - By Luchs [de] Date 2016-01-20 18:38

>Why did the forum add the .ext extension?


To protect against badly-configured webservers executing Python scripts like PHP. This can be disabled in the options.
Up Topic General / Feedback and Ideas / Automated snapshot installation

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill