AnvilStats
#1
AnvilStats has reached the first release-able milestone. It can calculate per-biome blocktype statistics for a level. Thus, it can be used to measure the amount of ores in the vanilla world and adjust the generator parameters.

Usage:
AnvilStats <method> [<path>]
<method> is a number, currently only 0 is supported, for blocktype statistics.
<path> is a path to MCA files, if not specified, current directory is used.

The process creates N + 1 threads (where N is the number of available cores) and processes all MCA files. In the end, three statistics files are written:
- Biomes.xls - amount of biomes in the level
- BlockTypes.xls - amount of blocktypes in the level
- BiomeBlockTypes - amount of blocktypes in each individual biome

I'm planning to add more statistics (mobs, spawnertypes, trees etc.) and even new methods (draw biome map, draw height map, ...)

Currently, you can only build the project from sources, there is no binary release. Also, the build has been tested on Windows only, it probably won't work on Linux (porting volunteers are welcome Smile

EDIT: Added example output files as attachments to this post.
EDIT2: Updated Biomes.xls with fixed format string.
Now I just need a large-enough world to run tests on. Unfortunately MLG ( http://www.minecraftforum.net/topic/1877...generator/ ) runs only single-threaded, so the generation is painfully slow. I might write my own MLG knockoff faster than it generates a decent worldTongue


Attached Files
.xls   Biomes.xls (Size: 3.94 KB / Downloads: 210)
.xls   BlockTypes.xls (Size: 5.91 KB / Downloads: 201)
.xls   BiomeBlockTypes.xls (Size: 135.77 KB / Downloads: 194)
Reply
Thanks given by:


Messages In This Thread
AnvilStats - by xoft - 09-29-2012, 06:25 AM
RE: AnvilStats - by xoft - 09-29-2012, 11:46 PM
RE: AnvilStats - by xoft - 09-30-2012, 05:03 AM
RE: AnvilStats - by xoft - 10-02-2012, 04:11 AM
RE: AnvilStats - by FakeTruth - 10-02-2012, 05:19 AM
RE: AnvilStats - by NiLSPACE - 10-03-2012, 03:16 AM
RE: AnvilStats - by xoft - 10-03-2012, 04:58 AM
RE: AnvilStats - by xoft - 10-04-2012, 09:57 PM
RE: AnvilStats - by xoft - 10-04-2012, 11:16 PM
RE: AnvilStats - by xoft - 10-05-2012, 03:31 AM
RE: AnvilStats - by xoft - 10-05-2012, 05:34 AM
RE: AnvilStats - by FakeTruth - 10-05-2012, 08:07 AM
RE: AnvilStats - by ThuGie - 10-05-2012, 10:08 AM
RE: AnvilStats - by NiLSPACE - 11-25-2013, 04:26 AM



Users browsing this thread: 1 Guest(s)