Andrew Brown
ea179118bd
added an option to skip generating region.js and marker.js
2010-10-15 22:23:15 -04:00
Kyle Brantley
bcb423ace4
Add --optimize-img={1,2} -- performs postprocessing on images
...
This adds basic post-processing to images. At the moment, it only
performs actions for the png output type, but changes to work for
jpeg will be exceptionall minimal.
2010-10-09 22:57:20 -06:00
Alex Jurkiewicz
9f49bf3d77
Change logging to use the 'logging' module.
2010-09-30 14:35:37 +10:00
Andrew Brown
7a696fcee0
modified to support freezing
2010-09-28 23:04:21 -04:00
Alex Jurkiewicz
f0d6776ad9
Add JPEG output support.
2010-09-27 21:51:24 +10:00
Andrew Brown
d637ddbbe1
added the option to specify a list of chunks to update.
2010-09-27 00:52:11 -04:00
Andrew Brown
a957d0b097
clarified texture issue in readme. Misc changes
...
Added check for python >=2.6
Added current directory and program directory to paths to search for
minecraft.jar
2010-09-26 23:04:12 -04:00
Andrew Brown
3c75c60f61
overhauled options descriptions in readme
2010-09-25 01:33:39 -04:00
Andrew Brown
c53070304f
can now specify a chunk cache directory manually
2010-09-22 23:51:31 -04:00
Andrew Brown
d6f5afc40f
Added GPL license to all files.
...
If anyone is interested in using this software under different
conditions, contact me.
2010-09-21 22:51:12 -04:00
Ryan Hitchman
07145bef3b
make it easier for the user to use a map in an expected location, show some information about found saves
2010-09-21 15:09:11 -05:00
Andrew Brown
c8c16d5fd3
big commits to a bunch of stuff. See expanded message
...
Added an option to enter your own zoom level. Use -z to set the map at a
particular zoom level. Zoom levels define the width and height in tiles
of the highest zoom level, each new zoom level is twice as wide and
tall. (z=6 -> 2^6 tiles wide and tall)
Implemented tile re-arrangement on map expansion. Now most tiles will
get re-used if your map needs another zoom level! No longer does it need
to re-generate everything.
No longer creates empty directories for tiles, only creates directories
if needed.
Fixed some minor off-by-one logic (and the code that canceled it out to
make it work)
2010-09-18 00:14:02 -04:00
Andrew Brown
9737a97d8a
added an option to delete caches
2010-09-15 21:17:37 -04:00
Andrew Brown
2d4f0cc082
I believe I now have a usable program again
2010-09-14 23:53:28 -04:00
Andrew Brown
44fc65d753
I think this should fix windows support
2010-09-14 18:12:02 -04:00
Andrew Brown
0003950c5e
tile generation works for -p1
2010-09-12 22:23:01 -04:00
Andrew Brown
8870e1d22a
Merge remote branch 'munki/master'
2010-09-12 01:06:04 -04:00
Andrew Brown
a3a4877e6a
no longer validates images, runs MUCH faster to scan existing chunks.
...
If a chunk image can't be loaded, it re-generates it on the fly.
2010-09-12 01:04:31 -04:00
Andrew Brown
55d596fc26
chunk progress prints fewer lines. Made a perhaps insignificant
...
algorithm change
2010-09-11 22:34:07 -04:00
Andrew Brown
5726f7e23e
chunk generation checks mtime before hashing block array
2010-09-11 22:07:46 -04:00
Gregory Short
7e5deed0f5
Merge branch 'master' of http://github.com/brownan/Minecraft-Overviewer
2010-09-11 14:27:23 -05:00
Gregory Short
8bc789a4d0
Minor documentation update (alleged default was incorrect)
2010-09-11 11:13:57 -05:00
Andrew Brown
f9783d7a20
Tile rendering is now mostly parallel up to 4 procs.
...
The initial recursive call for tile generation will spawn up to 3 extra
processes to work on each quadrant. It's not perfect yet since some
quadrants may have more or less work to do, and only 4 total workers are
supported.
Also, it waits for all chunks are finished before it dives into the
tiles, to prevent it from using more resources than requested.
2010-09-11 00:15:59 -04:00
Gregory Short
f442c984c1
If -c or --cachelife option is <= 0, the ?c= parameter won't be appended to tile urls so that caching can be controlled server-side (or left to the whim of the browser)
2010-09-09 02:41:11 -05:00
Andrew Brown
b0b9a9a71a
Merge remote branch 'munki/master'
...
Conflicts:
gmap.py
2010-09-07 21:36:08 -04:00
Andrew Brown
8382e6664a
cleaned up some comments
2010-09-07 21:32:57 -04:00
Gregory Short
32c2626b39
Added configurable option for controlling how long a tile will live in the browser's cache before being refetched. Good for configurations where the map will be automatically updated ona regular basis and the web browser's cache would get out of sync. Default is 24 hours.
2010-09-07 19:56:44 -05:00
Gregory Short
9e11071b35
Moved html generation to happen before quadtree generation. This way, you can open up the html file immediately and browse the map as it is being generated! This necessitated pulling the zoom-depth determination out into its own function.
2010-09-06 20:51:06 -05:00
Gregory Short
bf07d3d10c
Moved gmap tiles into a tiles/ subdirectory for a cleaner gmap final output (output directory contains just index.html and tiles/)
2010-09-06 19:58:56 -05:00
Andrew Brown
ed8ea421fc
won't render tiles that would otherwise be blank.
...
This cuts down on the number of files outputted and the total size.
2010-09-05 13:58:50 -04:00
Andrew Brown
a31810957f
added gmap command line interface file
2010-09-04 19:22:32 -04:00