SpComp made a nice python app to view openttd giant screens:
[18:11] <SpComb> http://pastebin.com/m480a4d55 <-- better
[18:11] <SpComb> Ammler: well, yes, there's a C .so, and a .pyx, you need to compile both
[18:11] <SpComb> the build stuff isn't very pretty
[18:13] <SpComb> `make` should do the libpngtile.so, and then `setup.py build_ext -i` will give you a pypngtile.so
[18:13] <SpComb> then some environment var trickery and it should work
Maybe, this is something for us?
#1 Updated by Ammler almost 10 years ago
needs: python-memcached, python-devel
http://qmsk.net/~terom/stuff/pypngtile.c in ./python
python setup.py build_ext -i (disable cython stuff and replace .pyx with .c)
to generate the cache file, use "--background 0xD7"
running test server:
LD_LIBRARY_PATH="lib" PYTHONPATH="lib:." ./bin/dev-server
Script to make screenshot directly: