summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik “Freso” S. Olesen2015-04-26 17:00:43 +0200
committerFrederik “Freso” S. Olesen2015-04-26 17:00:43 +0200
commit65312f199d65be2f176c9bee445246082c49612e (patch)
treef2988f875bb9963a474f2838b1aa6e5d1cbb7dae
parentdc74b2937d8e5da366285673b4249036cad2de58 (diff)
downloadaur-65312f199d65be2f176c9bee445246082c49612e.tar.gz
amidstexporter: Adapt package from amidst.
AMIDST is currently not properly maintained, due to @skiphs being RL busy. A couple of notable forks have sprung up, this one by @Treer and one by @dtfinch. @Treer's branch is the one more often referenced in the AMIDST thread on the MC forums (and the only one of the two to have proper releases on GitHub), so that is the one I decided to package. @Treer's motivation for his fork is given in this post: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/1262200-v3-7-amidst-strongholds-village-biome-etc-finder?comment=4719
-rw-r--r--.SRCINFO24
-rw-r--r--.gitignore2
-rw-r--r--ChangeLog165
-rw-r--r--PKGBUILD36
-rwxr-xr-xamidst.sh2
-rw-r--r--amidstexporter.desktop (renamed from amidst.desktop)8
-rwxr-xr-xamidstexporter.sh2
7 files changed, 40 insertions, 199 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8dae74344a72..1d94fc9480c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,20 @@
-pkgbase = amidst
- pkgdesc = Advanced Minecraft Interface and Data/Structure Tracking
- pkgver = 3.7
+pkgbase = amidstexporter
+ pkgdesc = Advanced Minecraft Interface and Data/Structure Tracking; fork with location export.
+ pkgver = 1.32
pkgrel = 1
- url = http://www.minecraftforum.net/topic/626786-
+ url = http://www.buildingwithblocks.info/exportfromseed.html
changelog = ChangeLog
arch = any
license = GPL3
depends = java-runtime
optdepends = minecraft: the game itself
- noextract = AMIDST-3.7.jar
- source = https://github.com/skiphs/AMIDST/releases/download/3.7/AMIDST-3.7.jar
- source = amidst.sh
- source = amidst.desktop
- md5sums = be52f1eaf644fca9c95e1fbe7e2ee5dc
- md5sums = 783c4040c9736f96ce72e9997833a0bf
- md5sums = 3c6900ac68e3175768322e684f9f1bcb
+ noextract = AmidstExporter.jar
+ source = https://github.com/Treer/AMIDST/releases/download/v1.32/AmidstExporter.jar
+ source = amidstexporter.sh
+ source = amidstexporter.desktop
+ md5sums = 9254cdf1eec26df090dd5c9d76fc3fc9
+ md5sums = 365558c0aadf7a879ff8f4514943b10c
+ md5sums = abe95f51b3ec61a2ae371a05c6edfc1f
-pkgname = amidst
+pkgname = amidstexporter
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index c69623988f29..000000000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-# source files
-mcpatcher-*.jar
diff --git a/ChangeLog b/ChangeLog
index 58866d87a844..2898b7121ae0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,163 +1,4 @@
-2015-01-04 Frederik "Freso" S. Olesen <freso.dk@gmail.com>
+2015-04-26 Frederik “Freso” S. Olesen <freso.dk@gmail.com>
- * 3.7-1 :
- Version bump.
- See https://github.com/skiphs/AMIDST/releases/tag/3.7
-
- Upstream changelog:
- - Several minor fixes to the open and save dialog boxes.
- - New icon for jungle temples
- - Additional CLI options added (-mcjar and -mcjson)
- - Added support for Minecraft 1.8.
- - Added support for custom world parameters when loading from a 1.8 (or greater) world.
-
-
-2014-02-07 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.7_beta_1-1 :
- Version bump.
- See https://github.com/skiphs/AMIDST/releases/tag/3.7-beta-1
-
- Upstream changelog:
- - Added new highlight biome mode.
- - Grid layer now has outlined text.
- - Added support for new 14w02a+
- - Zoomed out maps now appear much smoother
- - Reworked most of the in-map UI
- - Fixed bug where having too many players in a world would cause AMIDST to crash
-
-2014-01-02 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.6-1 :
- Version bump.
-
- Upstream changelog:
- - Major Changes:
- - AMIDST is now under GPL v3
- - Completely reworked the profile selector.
- - Added automatic seed histories. If AMIDST detects a "history.txt" file next to it, it will write a time stamp followed by the seed for each seed you enter.
- - Added smooth fragment fading. (This may be disabled in the options menu) Enabling this will cause all fragments to fade in when loaded.
- - Most crashes now create a "crash dialog" containing a log that can easily be pasted.
- - A licenses window has been added to the help menu. This will contain all relevant license information for AMIDST and its libraries.
- - Added option to set the default world type to any of the world types or "prompt each time".
- - Switching maps no longer eats up extra memory. (This will be a huge improvement in memory/processing performance when loading new maps)
- - Rendering speeds have been vastly improved.
- - Fixed issue where files would not be properly closed.
- - Minor Changes/Fixes:
- - Hidden files/folders now show when opening a world from a file/folder.
- - Added 1.7.4 to official version list.
- - A new option is availible in the Options menu called "Show Debug Info". Enabling this will add a small panel to the map viewer containing debug information on fragments.
- - Library loading now follows OS rules correctly. (This should fix a number of errors with loading)
- - AMIDST now returns "4" on crashes. This will change at a later date to include various error codes.
- - Mac OS X users should no longer experience the "corrupted" issue.
- - Command Line Support:
- - Added a "-mcpath <file>" flag for users to specify the path to their .minecraft directory.
- - Added "-log <file>" flag. Using this flag will cause AMIDST to write all log output to the specified file. AMIDST should create a file if it does not exist.
- - Added "-history <file>" to specify where AMIDST should write seed history to. If AMIDST cannot find a file at the path you've specified, it will attempt to make one.
- - Biome Color Profiles:
- Overview: This was something that was added in 3.5, but I've improved on a bit for 3.6. Color profiles let you set what color each biome shows up as. To activate them, simply create a folder named "biome" next to AMIDST. After launching AMIDST again, a new file should appear in that folder called "default.js". It will contain the default options for a color profile. You may edit this directly, or create new color profiles within the folder (following the same design as default.js). Any subdirectories will show up as sub-menus. (There is also support for shortcuts, as mentioned in this post)
- - Added support for biome nicknames. (Example: [ "Ice Plains", { "alias":"Really cold place", "r":255, "g":255, "b":255 } ] )
- - Duplicate biome colors are now supported.
- - default.json is not much cleaner.
- - Biome profiles no longer cause an empty profile list when there's a syntax error.
- - A new menu option for reloading your list of biome color profiles has been added.
-
-2013-12-07 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.5-1 :
- Version bump.
-
- Announcement post:
- http://www.minecraftforum.net/topic/626786-/page__st__3960#entry26664163
-
-2013-11-28 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.5_beta_1-1 :
- Version bump.
-
- Upstream changelog (since 3.5-test-build):
- - Fixed a bug where Mega Spruce Tiaga would show up as black if you changed the color profile. (Note: This will require any custom profiles you've made to also include a "Mega Spruce Tiaga (Hills)" entry, as the issue was from having Mega Spruce Tiaga link to two biomes)
- - Added library loading based on the jar's json file. (Note: If no json file is found, no libraries will be loaded... this may be changed in the future. Additionally, lwjgl, jinput, and any OS requirements are currently ignored)
-
-2013-09-29 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.4-1 :
- Version bump.
-
- Upstream changelog:
- - Added support for 13w39a/b
- - AMIDST now loads all libraries contained in the .minecraft/libraries folder.
- - Greatly reduced the file size for AMIDST.
-
-2013-09-18 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.3_alpha_1-1 :
- Version bump.
-
- Upstream changelog:
- - Increased performance for filling in image data.
- - Slightly reduce memory usage for structure generation.
- - Added official support for 13w37b.
- - Reduced memory usage from grid layer.
- - Increased performance for drawing biome layer.
- - Added FPS counter.
- - Improved detection of multiplayer maps.
- - Major performance improvements for zoomed out maps.
- - Added spawn location icon.
- - Added option to toggle framerate panel in the menus.
-
-2013-09-12 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.2-1 :
- Version bump.
-
-2013-09-05 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.1-1 :
- Version bump.
-
- Upstream changes:
- - Compatible with Minecraft snapshot 13w36a.
- - The colors have all been changed to match minecraft's "official" biome colors.
-
-2013-08-11 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.0-1 :
- Version bump.
-
- Upstream changelog:
- - (Not published yet...)
-
-2013-08-09 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.0_rc2-1 :
- Version bump.
- Declared license in the PKGBUILD.
-
- Upstream changelog:
- - Bug fix: Capture now correctly renders image.
-
-2013-08-08 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.0_rc1-1 :
- Version bump.
-
- Upstream changelog:
- - Feature: Player movement added again.
- - Bug fix: Clicking icons multiple times will not cause them to return to standard size while remaining selected.
- - Bug fix: Play icons are now accurate and won't disappear.
- - Bug fix: Slime data is now accurate.
- - Bug fix: The map now starts with x:0,y:0 at the center.
- - Bug fix: Zoom amount is retained when entering a new map.
- - Bug fix: Default zoom is no longer too close.
- - Bug fix: Memory leak involving key binds.
- - Bug fix: Using +/- will now zoom in and out.
- - Bug fix: Moving to a player will now center you at that player.
- - Other: The grid layer has now been adjusted to no longer clutter when zoomed out.
- - Other: A few menu items were renamed to better reflect what they did.
- - Other: Maps may now be loaded by selected the world folder or the level.dat file.
-
-2013-08-03 Frederik "Freso" S. Olesen <archlinux@freso.dk>
-
- * 3.0_beta1-1 :
- Initial PKGBUILD, based off the one for mcpatcher.
+ * 1.32-1 :
+ Initial PKGBUILD, copied and adapted from my amidst PKGBUILD.
diff --git a/PKGBUILD b/PKGBUILD
index 769d79c8d0db..e6d7a4d3b754 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,41 @@
# Maintainer: Frederik "Freso" S. Olesen <archlinux@freso.dk>
-pkgname=amidst
-pkgver='3.7'
-_jarver="${pkgver//_/-}"
-_jarfile="${pkgname^^}-$_jarver.jar"
+pkgname=amidstexporter
+pkgver='1.32'
+_jarfile='AmidstExporter.jar'
pkgrel=1
-pkgdesc='Advanced Minecraft Interface and Data/Structure Tracking'
+pkgdesc='Advanced Minecraft Interface and Data/Structure Tracking; fork with location export.'
arch=('any')
license=('GPL3')
-url='http://www.minecraftforum.net/topic/626786-'
+url='http://www.buildingwithblocks.info/exportfromseed.html'
depends=('java-runtime')
optdepends=('minecraft: the game itself')
noextract=("$_jarfile")
changelog=ChangeLog
-source=("https://github.com/skiphs/AMIDST/releases/download/$_jarver/$_jarfile"
- amidst.sh
- amidst.desktop)
-md5sums=('be52f1eaf644fca9c95e1fbe7e2ee5dc'
- '783c4040c9736f96ce72e9997833a0bf'
- '3c6900ac68e3175768322e684f9f1bcb')
+source=("https://github.com/Treer/AMIDST/releases/download/v${pkgver}/${_jarfile}"
+ amidstexporter.sh
+ amidstexporter.desktop)
+md5sums=('9254cdf1eec26df090dd5c9d76fc3fc9'
+ '365558c0aadf7a879ff8f4514943b10c'
+ 'abe95f51b3ec61a2ae371a05c6edfc1f')
prepare() {
cd "$srcdir"
# Extract icon
- bsdcpio --extract --make-directories --insecure 'amidst/resources/icon.png' < "$_jarfile"
+ bsdcpio --extract --make-directories --insecure 'amidst/resources/icon16.png' 'amidst/resources/icon32.png' 'amidst/resources/icon64.png' < "$_jarfile"
}
package() {
cd "$srcdir"
- install -vDm755 'amidst.sh' "$pkgdir/usr/bin/amidst"
- install -vDm644 'amidst/resources/icon.png' "$pkgdir/usr/share/pixmaps/amidst.png"
- install -vDm644 'amidst.desktop' "$pkgdir/usr/share/applications/amidst.desktop"
- install -vDm644 "$_jarfile" "$pkgdir/usr/share/java/$pkgname/AMIDST.jar"
+ install -vDm755 'amidstexporter.sh' "$pkgdir/usr/bin/amidstexporter"
+ install -vDm644 'amidst/resources/icon16.png' "$pkgdir/usr/share/pixmaps/amidstexporter-16.png"
+ install -vDm644 'amidst/resources/icon32.png' "$pkgdir/usr/share/pixmaps/amidstexporter-32.png"
+ install -vDm644 'amidst/resources/icon64.png' "$pkgdir/usr/share/pixmaps/amidstexporter-64.png"
+ ln -s ./amidstexporter-64.png "$pkgdir/usr/share/pixmaps/amidstexporter.png"
+ install -vDm644 'amidstexporter.desktop' "$pkgdir/usr/share/applications/amidstexporter.desktop"
+ install -vDm644 "$_jarfile" "$pkgdir/usr/share/java/$pkgname/$_jarfile"
}
# vim:set ts=4 sw=4 et:
diff --git a/amidst.sh b/amidst.sh
deleted file mode 100755
index f4154b9c9175..000000000000
--- a/amidst.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-java -noverify -jar /usr/share/java/amidst/AMIDST.jar
diff --git a/amidst.desktop b/amidstexporter.desktop
index 6f12a2a31da7..d47c4b932b15 100644
--- a/amidst.desktop
+++ b/amidstexporter.desktop
@@ -1,11 +1,11 @@
[Desktop Entry]
Type=Application
Version=1.0
-Name=AMIDST
+Name=Amidst Exporter
Comment=Advanced Minecraft Interface and Data/Structure Tracking
-TryExec=amidst
-Exec=java -noverify -jar /usr/share/java/amidst/AMIDST.jar
-Icon=/usr/share/pixmaps/amidst.png
+TryExec=amidstexporter
+Exec=java -noverify -jar /usr/share/java/amidstexporter/AmidstExporter.jar
+Icon=amidstexporter
Terminal=false
Categories=Game;
Keywords=minecraft;
diff --git a/amidstexporter.sh b/amidstexporter.sh
new file mode 100755
index 000000000000..e66a8a6a91ef
--- /dev/null
+++ b/amidstexporter.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -noverify -jar /usr/share/java/amidstexporter/AmidstExporter.jar