Cuberite Forum

Full Version: Schematic file visualiser
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I was wondering, is there a program that could visualise .schematic files somehow? Best if it worked from command line - you feed it a .schematic file and it outputs a .png file with the preview. My google-fu is too weak to find anything related.

I'd like to use such a program with the Gallery plugin to provide an overview of the individual areas through the WebAdmin.
Have you tried asking on the minecraft forum or reddit? Allot more people there probably know more if such a program exists.
I don't have an account on either (and don't plan on having), so those are closed off to me.
I think MCEdit can do something like that.
(04-05-2015, 07:05 AM)tigerw Wrote: [ -> ]I think MCEdit can do something like that.

I can confirm it . Over 'Open a level...' you can open schematic files.
Of course it works that way, but I need something non-interactive that can be called from a script.
So I started writing one myself: https://github.com/madmaxoft/MCSchematicToPng

So far I've got the basics working, it exports the PNGs using isometric view of the schematic, using solid colors for the blocks.

Example output (from the Nether gallery on the Gallery server):
[Image: bridgecirclecrossing.png]
[Image: midstaircase.png]
That's impressive.
Wow that's awesomeBig Grin
I need someone with linux to try and compile this project. It fails on my RasPi in ZLib, and I don't currently have any other linux available to try it out Sad

Code:
In file included from /home/pi/MCSchematicToPng/lib/zlib/zlib.h:34:0,
                 from /home/pi/MCSchematicToPng/lib/libpng/pngstruct.h:26,
                 from /home/pi/MCSchematicToPng/lib/libpng/pngpriv.h:714,
                 from /home/pi/MCSchematicToPng/lib/libpng/png.c:14:
/home/pi/MCSchematicToPng/lib/zlib/zlib.h:1760:51: error: unknown type name ‘va_list’
                                                   va_list va));
                                                   ^
Pages: 1 2 3 4