Commit Graph

73 Commits

Author SHA1 Message Date
Nicolas F 56a0d5bef2 contrib: add empty __init__.py
Maybe Debian needs this? Who knows!
2019-08-08 21:34:52 +02:00
Ben Steadman ae32f5f019 logger.warn->logger.warning 2019-04-06 19:08:23 +01:00
Ben Steadman d11bf1306d testRender.py Python3 refactor 2019-03-30 11:49:39 +00:00
Ben Steadman dd11cdd03b # This is a combination of 7 commits.
# This is the 1st commit message:

testRender.py Python3 refactor

# The commit message #2 will be skipped:

# Popen -> subprocess.run

# The commit message #3 will be skipped:

# split subprocess args

# The commit message #4 will be skipped:

# map -> list comprehension

# The commit message #5 will be skipped:

# optparse->argparse

# The commit message #6 will be skipped:

# factor out CLI parsing from main logic

# The commit message #7 will be skipped:

# fix backwards verbose/quiet behaviour
2019-03-30 11:46:37 +00:00
Ben Steadman 36f55ea7b4 python3 shebang lines 2019-03-30 11:46:37 +00:00
Ben Steadman 9121a4b080 regionTrimmer.py Python3 refactor 2019-03-30 11:46:37 +00:00
Ben Steadman ced67cf317 deltete deprecated/unused scripts 2019-03-30 11:48:07 +00:00
Ben Steadman 5807c2565b playerInspect.py Python3 refactor 2019-03-30 11:46:37 +00:00
Ben Steadman 7516cd0c25 gallery.py Python3 refactor 2019-03-30 11:46:37 +00:00
Ben Steadman 4e3a861c9c cyrillic_convert.py Python3 refactor 2019-03-30 11:47:00 +00:00
Ben Steadman bd596c56c2 contributors.py Python3 refactor 2019-03-30 11:46:37 +00:00
Nicolas F 4082c8ed05 contrib/playerInspect: add usage output 2019-03-14 13:57:29 +01:00
Nicolas F 05f031fbb9 contrib/playerInspect: fix code style
Also use the print function.
2019-03-14 13:48:53 +01:00
Nicolas F 2c1ce0d522 contrib/png-it: allow saving to stdout with -
Following the same convention as some other tools, - as output
filename means stdout now.
2019-03-12 00:41:57 +01:00
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