added documentation

* added useful information to the README file
* updated the documentation about the build process
master
Stefan Dollase 2015-12-24 14:48:25 +01:00
parent 5593b22f9d
commit 368f243a4f
3 changed files with 122 additions and 7 deletions

View File

@ -1,4 +0,0 @@
Building Amidst
=====
Amidst uses maven for its build process. However, not all dependencies are available from public maven repositories, so they need to be installed in the local maven repository. To do so, you just need to run `mvn clean`. This will take the configured libraries from the `lib` directory and install them in the local repository. Afterwards, you just need to run `mvn package` to create the jar file with all dependencies and resources in it. It will be placed under `target/AMIDST-<version>-jar-with-dependencies.jar`. Note, that there is also a file called `target/AMIDST-<version>.jar`, however this file does not contain the dependencies. Just ignore it.

View File

@ -5,9 +5,94 @@ AMIDST
Advanced Minecraft Interface and Data/Structure Tracking
Where can I get AMIDST?
-----------------------
You can download amidst [here](https://github.com/skiphs/AMIDST/releases/latest). If you find any bugs, please [report](https://github.com/skiphs/AMIDST/issues/new) them so we can fix them. If you want to request a feature, you can to this [here](https://github.com/skiphs/AMIDST/issues/new). If you want to help develop amidst, please get in contact [here](https://github.com/skiphs/AMIDST/issues/new). Lastly, [here](https://github.com/stefandollase/AMIDST/blob/master/docs/HOW-TO-BUILD.md) is a description how you can build amidst by yourself.
What is AMIDST?
---------------
What it **can** do for you:
* generate an overview of a Minecraft world from a given seed and a given Minecraft version
* display biome information
* display slime chunks
* display structures
* default world spawn
* strongholds
* desert temples
* jungle temples
* witch huts
* villages
* ocean monuments
* nether fortresses
When the world is loaded from a Minecraft world file, amidst **can** also:
* display singleplayer and multiplayer player locations
* load player skins
* move players to another location, including the y-coordinate
What it **can not** do for you:
* display changes to the world, that are made after the world generator was finished, this includes
* changes made by world editors like MCEdit
* changes made while loading the world in Minecraft
* find individual blocks or mobs in the world like e.g.
* diamond ore
* cows
More features include:
* saving an image of the map
Which Minecraft versions are supported?
---------------------------------------
We support Minecraft versions from 1.0 up to the latest snapshot. If you find an issue with a specific Minecraft version, [please report it](https://github.com/skiphs/AMIDST/issues/new).
How can I move a player?
------------------------
You can move players in a world that was loaded from a Minecraft world file like so:
* scroll to and right-click on the new player location, this opens a popup menu
* select the player you want to move
* enter the new y-coordinate
* save player locations
**WARNING: This will change the contents of the save folder, so there is a chance that the world gets corrupted. We try to minimize the risk by creating a backup of the changed file, before it is changed. If the backup fails, we will not write the changes. You can find the backup files in a sub folder of the world, named 'amidst_backup'. Especially, make sure to not have the world loaded in minecraft during this process.**
When I load a world file I am asked what whether I want to load the Singleplayer of Multiplayer players. What does it mean?
---------------------------------------------------------------------------------------------------------------------------
Minecraft worlds have three different locations to store player information:
* the `level.dat` file contains the singleplayer player
* the `players` directory contains all multiplayer players by name, this was used before Minecraft 1.7.6
* the `playerdata` directory contains all multiplayers players by uuid, this is used since Minecraft 1.7.6
If the `players` and the `playerdata` directory exist, we will simply ignore the `players` directory, since it contains outdated information. However, other situations cannot be decided automatically. If the world was only used by a server, there will be no player information in the `level.dat`, so we will just load the multiplayer players. However, if the map was ever loaded as a singleplayer world, the `level.dat` file will create singleplayer information. Also, the `playerdata` directory will contain information about all the players that used the world as singleplayer world. Of course we could just display the singleplayer player and the multiplayer players, however this might lead to an issue when you want to move the singleplayer player. When the world is loaded as singleplayer world, Minecraft will simply ignore and overwrite the information in the multiplayer directory, that belongs to the player that opened the world. Thus, if you move your player instead of the singleplayer player, this will have no effect.
**tl;dr** If you use the world just as a singleplayer world, simply choose Singleplayer.
What is the internet used for?
-------------------
* amidst v3.7 was the last version that used google analytics, so we do no longer track you
* amidst will check for updates on every start
* amidst will use web services provided by mojang, e.g. to
* display information about minecraft versions
* display information about players like the name or the skin
General information
-------------------
Amidst is not owned by or related to mojang in any way.
License and warranty
--------------------
AMIDST comes with ABSOLUTELY NO WARRANTY. It is free software, and you are
welcome to redistribute it under certain conditions. See LICENSE.txt for more
details on both of these points.
AMIDST comes with ABSOLUTELY NO WARRANTY. It is free and open source software, license under the
[GPL v3](https://github.com/skiphs/AMIDST/blob/master/LICENSE.txt), and you are welcome to redistribute it under certain conditions.

34
docs/HOW-TO-BUILD.md Normal file
View File

@ -0,0 +1,34 @@
Building Amidst
=====
Amidst uses maven for its build process. Here are the steps to build from source:
* `mvn clean`
* `mvn install`
This will place the jar file under `target/AMIDST-<version>.jar`.
To build the wrapper for mac, follow these steps:
* `mvn clean`
* `mvn install`
* `bash travis-ci/scripts/create-mac-icon.sh`
* `mvn package -DskipTests=true -f travis-ci/wrapper-for-mac/pom.xml`
* `bash travis-ci/scripts/zip-and-move-wrapper-for-mac.sh`
This will place the zip file under `target/AMIDST-<version>.zip`.
To build the wrapper for windows, follow these steps:
* `mvn clean`
* `mvn install`
* `bash travis-ci/scripts/create-windows-icon.sh`
* `mvn package -DskipTests=true -f travis-ci/wrapper-for-windows/pom.xml`
This will place the exe file under `target/AMIDST-<version>.exe`.
You will need imagemagick installed to create the icons. Of course, you can also create the icon files by yourself and place them as `target/icon.icns` (mac) or `target/icon.ico` (windows) to the expected location. The `zip-and-move-wrapper-for-mac.sh` bash script simply creates a zip file from the directory located at `travis-ci/wrapper-for-mac/target/AMIDST-<version>/`. You can also do this by yourself.
All of these steps are also executed by travis-ci to create a new release. However the regular travis-ci build will not create the wrappers for mac and windows.
The command `mvn clean` will actually install a dependency that is not available from a public maven repository to the local maven repository, so it is necessary to execute.