0
Commit Graph

63 Commits

Author SHA1 Message Date
Aaron Griffith
0e87368a06 moved google map related code int googlemap.py (from quadtree.py)
basic support in googlemap.py for handling multiple QuadtreeGens
2011-03-20 21:43:18 -04:00
Aaron Griffith
4e9985c611 changed web_assets_hook to use new config-file function support 2011-03-20 00:46:56 -04:00
Aaron Griffith
346ee004e8 fixed some things left over from configfile merge 2011-03-19 21:25:04 -04:00
Aaron Griffith
ebc043b95c Merge branch 'master' into dtt-master-merge
Conflicts:
	gmap.py
	quadtree.py
2011-03-19 21:15:05 -04:00
Aaron Griffith
c286f840bb Merge remote branch 'upstream/configfile' into dtt-config-merge
Conflicts:
	chunk.py
	gmap.py
	world.py
2011-03-19 21:10:40 -04:00
Aaron Griffith
38deb98d5a added command line option for web_assets postprocessing hook 2011-03-19 20:45:40 -04:00
Aaron Griffith
494caba598 added a nice error if c_overviewer is missing, simplified composite.py
now that c_overviewer is required, we don't need to have a PIL paste()
fallback. The next step is to remove composite.py entirely!
2011-03-19 19:07:47 -04:00
Aaron Griffith
5a05105b62 Merge branch 'master' into dtt-merge
Conflicts:
	chunk.py
2011-03-06 18:05:28 -05:00
Andrew Chin
9c7d6a184d Print error messages after print_help 2011-03-06 17:54:18 -05:00
Aaron Griffith
8b6b5df8ef handle get_worlds() returning None correctly
Exposed by Issue #287:
https://github.com/brownan/Minecraft-Overviewer/issues/287
2011-03-06 15:29:07 -05:00
Aaron Griffith
a6805c2e0c updated biome rendering to use latest Biome Extractor format 2011-03-03 12:27:47 -05:00
Aaron Griffith
5a043ab3d6 fixed -d flag, which now deletes just overviewer.dat 2011-03-02 08:28:55 -05:00
Aaron Griffith
300d4ac53e added back lighting, night, and spawn support 2011-03-02 08:21:41 -05:00
Aaron Griffith
83d7a36ef4 moved quadtree.py to mtime-based update checking, and added a stub direct-to-tile renderer 2011-03-01 13:18:25 -05:00
Aaron Griffith
f34d9739e9 removed rendering code from WorldRenderer (now just World) 2011-03-01 12:28:37 -05:00
Aaron Griffith
5485e684b5 gutted gmap.py in preperation for direct-to-tile rendering 2011-03-01 10:34:34 -05:00
Aaron Griffith
b40d84f92b fixed crash on worlds named "World[not int]", and made world list play nice with world names 2011-02-23 13:07:21 -05:00
Aaron Griffith
dd01eae9e0 corrected world loading by name to handle renamed worlds 2011-02-23 12:52:21 -05:00
Aaron Griffith
3ce887162b support for opening worlds by name 2011-02-23 12:42:00 -05:00
Andrew Chin
f46d0ce4ad options with default args are now seeded in the globals dict 2011-01-22 14:23:20 -05:00
Andrew Chin
dc842874ed Merge remote branch 'upstream/master' 2011-01-08 01:03:58 -05:00
Aaron Griffith
c43e7c0dbf alpha_over warning will now only print once per run 2011-01-01 19:00:44 -05:00
Andrew Chin
e989e97c5e Added a new config file parser.
The new config file parser has an interface that's nearly identical to
the OptionParser of optparse.

Below is a sample settings.py config file:

$ cat settings.py
import multiprocessing

if 'rendermode' not in locals():
    rendermode="lighting"

cachedir = "cache.%s.cachedir" % rendermode

procs = multiprocessing.cpu_count() - 1
2010-12-31 00:53:57 -05:00
Andrew Chin
fe8cd07c51 Fixed version check 2010-12-23 23:31:07 -05:00
Jenny
d210076479 Adds spawn output rendering (variant of night which shows dark areas in red) and support for multiple map types with buttons to switch between them. 2010-12-14 02:39:01 -08:00
Andrew Chin
97c58212c3 Check for the optimization programs at the start of execution.
This prevents the annoying case where MCO will fail hours into a run if
pngcrush and friends are missing.
2010-12-11 19:44:59 -05:00
Andrew Chin
c60180f793 Biome data from Biome Extractor is now used if it is present.
If the BIOMEEXTRACTOR data is not available, then non-biome aware
tinting will be used

Open biome data in binary mode (Windows requires this)
2010-11-23 00:48:39 -05:00
Andrew Chin
c96b3363b2 Fixed bug in signpost handling code
Two of the coordinates were flipped in markers.js
Also, overviewer.dat is now removed with -d
2010-11-06 15:27:52 -04:00
Andrew Brown
f4f415514c Merge branch 'lighting' of http://github.com/agrif/Minecraft-Overviewer into lighting 2010-10-15 22:55:15 -04:00
Andrew Brown
ea179118bd added an option to skip generating region.js and marker.js 2010-10-15 22:23:15 -04:00
Aaron Griffith
f8b516b360 Merge branch 'master' into lighting
Conflicts:
	chunk.py
2010-10-14 15:01:31 -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
Aaron Griffith
51e1721a6d Merge branch 'master' into lighting
Conflicts:
	chunk.py
	gmap.py
	textures.py
	world.py
2010-10-05 08:35:23 -04: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
Aaron Griffith
8dccf4162c added run-time flags to enable lighting or nighttime rendering 2010-09-28 16:57:23 -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