Skip to content

Instantly share code, notes, and snippets.

@m0r13
Created May 4, 2014 18:39
Show Gist options
  • Select an option

  • Save m0r13/a7558dfc0274f92b9a77 to your computer and use it in GitHub Desktop.

Select an option

Save m0r13/a7558dfc0274f92b9a77 to your computer and use it in GitHub Desktop.
[~/dev/minecraft/mapcrafter_old/src]
20:37-moritz@moritz-desktop$ git checkout v.0.1
HEAD ist jetzt bei a882092... - initial import
[~/dev/minecraft/mapcrafter_old/src]
20:38-moritz@moritz-desktop$ make -j 4
g++ -std=c++0x -Werror -O3 -I. -c util.cpp -o util.o
g++ -std=c++0x -Werror -O3 -I. -c mc/cache.cpp -o mc/cache.o
g++ -std=c++0x -Werror -O3 -I. -c mc/chunk.cpp -o mc/chunk.o
g++ -std=c++0x -Werror -O3 -I. -c mc/nbt.cpp -o mc/nbt.o
g++ -std=c++0x -Werror -O3 -I. -c mc/pos.cpp -o mc/pos.o
g++ -std=c++0x -Werror -O3 -I. -c mc/region.cpp -o mc/region.o
g++ -std=c++0x -Werror -O3 -I. -c mc/world.cpp -o mc/world.o
g++ -std=c++0x -Werror -O3 -I. -c render/image.cpp -o render/image.o
g++ -std=c++0x -Werror -O3 -I. -c render/manager.cpp -o render/manager.o
g++ -std=c++0x -Werror -O3 -I. -c render/render.cpp -o render/render.o
g++ -std=c++0x -Werror -O3 -I. -c render/tile.cpp -o render/tile.o
g++ -std=c++0x -Werror -O3 -I. -c mapcrafter.cpp -o mapcrafter.o
g++ -std=c++0x -Werror -O3 -I. -c testtextures.cpp -o testtextures.o
g++ -std=c++0x -Werror -O3 -I. -c render/textures.cpp -o render/textures.o
g++ -std=c++0x -Werror -O3 -o testtextures testtextures.o util.o mc/cache.o mc/chunk.o mc/nbt.o mc/pos.o mc/region.o mc/world.o render/image.o render/manager.o render/render.o render/textures.o render/tile.o -lpng -pthread -lboost_iostreams -lboost_system -lboost_filesystem -lboost_program_options
g++ -std=c++0x -Werror -O3 -o mapcrafter mapcrafter.o util.o mc/cache.o mc/chunk.o mc/nbt.o mc/pos.o mc/region.o mc/world.o render/image.o render/manager.o render/render.o render/textures.o render/tile.o -lpng -pthread -lboost_iostreams -lboost_system -lboost_filesystem -lboost_program_options
[~/dev/minecraft/mapcrafter_old/src]
20:38-moritz@moritz-desktop$ ./mapcrafter
You have to specify an input directory!
Allowed options:
-h [ --help ] shows a help message
-i [ --input-dir ] arg the path of the world to render (required)
-o [ --output-dir ] arg the path to save the rendered map (required)
-d [ --data-dir ] arg the path with templates/, terrain.png, fire.png,
etc. (default data/)
-j [ --jobs ] arg the number of threads to render the map (default
1)
-u [ --incremental ] renders only the changed tiles
--texture-size arg size of the minecraft textures (default 12 (px))
--render-unknown-blocks renders unknown blocks as red blocks
--render-leaves-transparent uses the transparent texture for leaves
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment