0
Commit Graph

59 Commits

Author SHA1 Message Date
Nicolas F
e6d4ed8068 contrib/png-it: use the print function
This also allows us to print to stderr, which is handy and means
all program text output (i.e. argument parser and script messages)
will be on stderr.
2019-03-12 00:33:02 +01:00
Nicolas F
eee196623f contrib/png-it: switch from optparse to argparse
In the process, we can clean up some of the command line argument
handling. Sadly, argparse's mutually exclusive groups are too
primitive to get rid of the autocrop/manual crop conflict checking,
but we'll have to live with those two lines I guess.

This script apparently also works with Python 3 now, which is neat.
2019-03-12 00:26:51 +01:00
Nicolas F
88c056b6b7 contrib/png-it: clean up code, grammar
This took several years off my life expectancy, and there's still
ways to go.
2019-03-12 00:26:45 +01:00
Nicolas F
9f50e0fb2f contrib: delete scripts that are no longer useful
dtt-c has been a thing for 8 years now, I think it's safe to say
people have deleted their old caches in the meantime.

findSigns has also been superseded by genPOI ever since genPOI
has been a thing, which has probably been since anvil.
2019-03-10 18:09:09 +01:00
Ean McLaughlin
52651c034c Fix a typo and silly crash case
Would crash instead of gracefully exiting if a tileset dir wasn't provided. Might also change how the memory limit option works - currently has to be provided, even though that's not mentioned.
2014-08-31 13:01:29 -06:00
Aaron Griffith
28a08631ee updated testrender script to re-use current python for children 2013-12-27 14:11:39 -05:00
Thomas Lake
fbb1a7b379 It helps if we print the error message 2013-08-29 20:05:45 +01:00
PotcFdk
15709e454d Fixed a typo ('leve' -> 'level'). 2013-08-29 19:46:35 +02:00
Alejandro Aguilera
eb8d445822 Updated png-it.py, now it has --autocrop option. 2013-02-26 08:45:57 +01:00
Alejandro Aguilera
22cefd69e6 Add png-it.py script to contrib directory
Creates 1 big PNG images from an overviewer tileset directory

Addresses #826
2012-11-29 10:03:52 -05:00
aheadley
8f3a76edd3 dumb commit to trigger travis 2012-10-12 10:48:10 -04:00
aheadley
89685b9bca fix node deletion, better usage message 2012-10-09 11:59:06 -04:00
aheadley
f95dcaea3b remove unused import 2012-10-09 11:12:41 -04:00
aheadley
2c9385a894 add some initial work on region trimmer 2012-10-03 12:11:17 -04:00
Johannes Dewender
f6dcfea6fe fix contributor list sorting
Two things were off:

 1. sorting should be case-insensitive, in both places
 2. multiple entries can be added just before the same line
2012-04-20 11:53:59 +02:00
Johannes Dewender
3f93dc4b6d handle all types of aliases for the contributor list
If a contributor email is already in the list we won't create a new
entry. However, if the name is different than in the list, we print a
message if an alias is missing in .mailmap

If an email is not in the list, but the name is in the list this could
mean two things:

 1. Two different persons have the same name.
    This is possible, but less likely than 2.
 2. A contributor used another mail.
    This is likely the case and we don't make a new entry,
    but print a message.
2012-04-19 17:33:48 +02:00
Johannes Dewender
1a26af6ebb script to update contributor list automatically
The script merges new contributors in the short-term
contributor list in CONTRIBUTORS.rst
2012-04-19 03:04:29 +02:00
Johannes Dewender
d573631e11 add script to check for new contributors to list
Use git shortlog to create a list of contributors
that are not yet included in CONTRIBUTORS.rst

The email address is taken as definitive.
People with the same name, but different email addresses
are supported.
Aliases, different email addresses for the same person,
are handled by git with .mailmap
2012-04-19 01:44:15 +02:00
Johannes Dewender
d6b2cf3a0d more detailed player inspect + list multiple
List all the main player information:
position, dimension, spawnposition
health, foodLevel, Level. XP, gametype

If a players directory is given, all players in there are listed.

If a file is given, list only this player.

You can also give a directory and a player name:

python playerInspect.py [ file | dir [playername] ]
2012-03-27 03:41:14 +02:00
Aaron Griffith
f9b0f8667b initial update of C code to work with textures object 2012-01-01 22:44:08 -05:00
Aaron Griffith
c4a183b9b0 moved most global vars in textures.py into an instantiatable class 2012-01-01 22:43:37 -05:00
Andrew Chin
b1d5dee84d Remove unused function 2012-01-01 17:56:31 -05:00
Andrew Chin
12a81a2b47 Fixed the contribManager in windows binaries 2011-10-04 23:27:30 -04:00
Aaron Griffith
b640b6dc2d updated contrib scripts to work with latest code 2011-09-16 15:59:43 -04:00
Aaron Griffith
8c4dd10824 Revert "small findSigns.py fix -- loading regions with north_direction pre-rotates"
This reverts commit 085d400337.
2011-09-16 14:27:03 -04:00
Aaron Griffith
085d400337 small findSigns.py fix -- loading regions with north_direction pre-rotates
What we want in findSigns.py is the raw map data.
2011-09-16 13:43:20 -04:00
Thomas Lake
49b810b84b Store supplied north direction in generated overviewer.dat 2011-09-16 15:07:04 +01:00
Thomas Lake
65db6530db Update findSigns.py to support north direction.
Closes Issue #485
2011-09-16 14:39:41 +01:00
Aaron Griffith
e3fb3f4a66 fixed testRender.py to work with newer overviewer.py 2011-09-04 08:24:15 -04:00
Aaron Griffith
c0dcda3d84 fixed clearOldCache.py contrib script to work with new python package 2011-08-30 02:37:08 -04:00
Andrew Chin
6678eac654 Add cyrillic_convert script to contrib manager 2011-08-25 22:05:57 -04:00
Andrew Chin
99abbe3336 Merge branch 'contribs' of git://github.com/eminence/Minecraft-Overviewer 2011-08-25 22:02:51 -04:00
Andrew Chin
22f40a9075 Added docstrings to all contrib scripts 2011-08-25 22:01:05 -04:00
Ryan Rector
3304de593f Add contrib script to fix gibberish Cyrillic signs 2011-08-24 19:38:29 -06:00
asmodai
88e889301a Added new items.py file with list of itemID and names 2011-08-19 11:22:45 -04:00
Andrew Chin
5ae1fc4b64 Very basic player.dat inspection script 2011-08-19 09:20:49 -04:00
Thomas Lake
19f83a4a16 Edit scripts to move overviewer.dat to render dir
Overviewer.dat is moved on first run and a warning is issued
2011-08-16 13:02:09 +01:00
Aaron Griffith
c10074e87f Merge branch 'master' into py-package 2011-06-04 20:05:31 -04:00
Andrew Chin
f47e7fe406 Fixed rerenderBlocks contrib script 2011-06-02 13:06:12 -04:00
Aaron Griffith
299f15a312 Merge branch 'dtt-c-render' into py-package 2011-04-13 02:42:22 -04:00
Aaron Griffith
c428fcbd70 changed testRender.py to work with ./overviewer.py and ./gmap.py (sorta) 2011-04-04 02:13:12 -04:00
Aaron Griffith
115c36ad5e Merge branch 'dtt-c-render' into py-package
Conflicts:
	overviewer.py
2011-04-01 22:00:45 -04:00
Aaron Griffith
3d78e21af7 fixed contrib/testRender.py crashing when -l isn't specified 2011-04-01 21:47:50 -04:00
Aaron Griffith
3fa54aff26 initial work at reorganizing source tree 2011-03-29 11:10:24 -04:00
Aaron Griffith
16a4abe843 added my render timing script to contrib/ 2011-03-25 22:50:54 -04:00
Xon
e55b7045ea Updated findSigns.py & rerenderBlocks.py to work against region format 2011-03-26 02:37:11 +08:00
Aaron Griffith
04ef95e4d6 renamed gmap.py to overviewer.py 2011-03-20 21:43:18 -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
Alex Headley
5ae361824b cleaned up contrib/validateRegionFile script 2011-03-19 17:45:20 -04:00
Alex Headley
fae67de9f0 fixed some bugs in the validateRegion script 2011-03-19 14:28:19 -04:00