Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Mapping for Minecraft
C C++ JavaScript CSS QMake Makefile
Branch: master

Merge pull request #71 from EtlamGit/master

fix for double tall flowers
latest commit 08c4015375
@mrkite authored
Failed to load latest commit information.
debian prepped for 2.0.1 release
definitions fix for double tall flowers
web First public commit of v2.0 beta
zlib update to zlib 1.2.8
.gitignore First public commit of v2.0 beta
MyWixUI_InstallDir.wxs Windows installer changes
README updated README
biomeidentifier.cpp cleaned up memory freeing at close
biomeidentifier.h cleaned up memory freeing at close
blockidentifier.cpp Speedup for Mob Spawn detection
blockidentifier.h Speedup for Mob Spawn detection
chunk.cpp separate entity and generated structure logic.
chunk.h separate entity and generated structure logic.
chunkcache.cpp Merge pull request #53 from EtlamGit/Chunk-Cache-Set-Max-Cost
chunkcache.h Merge pull request #53 from EtlamGit/Chunk-Cache-Set-Max-Cost
chunkloader.cpp Fixed crashes with malformed MCA files.
chunkloader.h possibly fixed threading problems with chunk cache
definitionmanager.cpp use EntityIdentifier to categorize & render Entities
definitionmanager.h use EntityIdentifier to categorize & render Entities
definitionupdater.cpp Fixed updater permissions bug
definitionupdater.h First public commit of v2.0 beta
dimensionidentifier.cpp auto create Entity Overlay menu from categories
dimensionidentifier.h auto create Entity Overlay menu from categories
entity.cpp use EntityIdentifier to categorize & render Entities
entity.h use EntityIdentifier to categorize & render Entities
entityidentifier.cpp removed c++11 features to fix #64
entityidentifier.h removed c++11 features to fix #64
generatedstructure.cpp separate structures from entities in the menu.
generatedstructure.h separate entity and generated structure logic.
icon.icns Re-added icons
icon.ico Version Release
json.cpp First public commit of v2.0 beta
json.h First public commit of v2.0 beta
labelledslider.cpp added configuration for vertical/horizontal depth slider
labelledslider.h added configuration for vertical/horizontal depth slider
main.cpp command line option for Depth Slider
make_installer.bat Windows installer changes
mapview.cpp Speedup for Mob Spawn detection
mapview.h separate entity and generated structure logic.
minutor.cpp command line option for Depth Slider
minutor.desktop Version Release
minutor.h command line option for Depth Slider
minutor.plist prepped osx release
minutor.png Version Release
minutor.pro Integration of EntityIdenifier into DefinitionManager
minutor.qrc adding EntityIdentifier
minutor.wxs Windows installer changes
minutor.xpm Version Release
nbt.cpp clean-up of double zlib files
nbt.h Add in support for generated structures and map overlay
overlayitem.h separate entity and generated structure logic.
properties.cpp separate entity and generated structure logic.
properties.h Fixed tabs
properties.ui Support for viewing/browsing entities on the map
settings.cpp added configuration for vertical/horizontal depth slider
settings.h added configuration for vertical/horizontal depth slider
settings.ui added configuration for vertical/horizontal depth slider
village.cpp separate structures from entities in the menu.
village.h separate entity and generated structure logic.
winicon.rc Re-added icons
worldsave.cpp fix worldsave when backup files are present
worldsave.h Save as PNG implemented
zipreader.cpp clean-up of double zlib files
zipreader.h First public commit of v2.0 beta

README

This is the source code for Minutor 2.0 (beta)
web/ contains the source code for the web-based pack builder.  The live version
can be found at http://seancode.com/minutor/packs

The Makefile inside web/ will use the Closure Compiler to compile all the .js files
into a single editor.min.js.  To host the pack builder on your own website, you
only need editor.min.js, index.html, main.css, and the mods/ folder.

COMPILING:
---------

All Platforms:
Use QtCreator (Qt5 version) and open minutor.pro

Windows:
These are the instructions for doing a static compile on Windows.  These are the
same steps I use to make the official versions.

First you need a static compile of Qt5.  Get the Qt5 source from
http://qt-project.org/downloads

Unzip it whereever you wish, and then edit qtbase\mkspecs\win32-msvc2012\qmake.conf
You'll need to find the CONFIG line and remove embed_manifest_dll and
embed_manifest_exe from that line.
Next find the QMAKE_CFLAGS_* lines and change -MD to -MT, and -MDd to -MTd

Now open up the Developer Command Prompt
cd into the qtbase folder and run:

configure -prefix %CD% -debug-and-release -opensource -confirm-license
	-platform win32-msvc2012 -nomake tests -nomake examples
	-no-angle -no-opengl -static -qt-zlib
nmake

If nmake complains about python or perl, install ActivePerl and ActivePython and
try again.  This compile will take a long time.

This should make a static Qt5 with both debug and release libraries.  Now in
QtCreator, go to Tools->Options... and select Qt Versions from Build & Run.
Add a new Qt Version and locate the qmake.exe that is inside qtbase\bin of
the Qt5 you just compiled.  There will be a warning flag because we didn't
compile qmlscene or qmlviewer or any
helpers (we don't need them and by leaving them out we don't have to deal with
Qt OpenGL headaches), you can ignore that.
Then switch over to Kits and make a new kit that uses the Qt version you just
created.  Again, there will be a warning flag for the same reasons as before, ignore
it.

If you get errors with conflicting _z_errmsg: Edit zutil.c and delete the
z_errmsg array (it conflicts with an exported array in Qt5).

Now compile Minutor using the static Kit.  You should end up with a statically
linked minutor.exe which doesn't require any dlls to run.

Linux:
If you'd rather use the command line, run qmake to generate a Makefile from
minutor.pro, then run make

To make a package:

    $ debuild

To make a package for another distribution:
    $ pbuilder-dist raring create   # called only once to generate environment
    $ debuild -S -us
    $ pbuilder-dist raring build *.dsc



MacOS:
Make a static compile of Qt by downloading the source code and then

	cd qtbase
    ./configure -prefix $PWD -opensource -confirm-license -nomake tests -nomake examples -release -static
	make

Then compile Minutor by:

	~/path/to/qtbase/bin/qmake
	make
Something went wrong with that request. Please try again.