summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen@occam.eroen.eu>2014-08-12 18:09:53 +0200
committereroen <eroen@occam.eroen.eu>2014-08-12 22:03:43 +0200
commitd1dc5d7066114c4b0aa2e6877aaa3bcb34e65fc9 (patch)
tree30704aef67814089cfe79a5b3b449e30446f2ac2 /games-util
parentdwarftherapist-0.6.13_p20120616-r1 - fix postinst message (diff)
downloaderoen-d1dc5d7066114c4b0aa2e6877aaa3bcb34e65fc9.tar.gz
eroen-d1dc5d7066114c4b0aa2e6877aaa3bcb34e65fc9.tar.bz2
eroen-d1dc5d7066114c4b0aa2e6877aaa3bcb34e65fc9.zip
dwarftherapist - add 40.08 ini
Diffstat (limited to 'games-util')
-rw-r--r--games-util/dwarftherapist/dwarftherapist-0.6.13_p20120616-r2.ebuild88
-rw-r--r--games-util/dwarftherapist/files/v0.40.08.ini233
2 files changed, 321 insertions, 0 deletions
diff --git a/games-util/dwarftherapist/dwarftherapist-0.6.13_p20120616-r2.ebuild b/games-util/dwarftherapist/dwarftherapist-0.6.13_p20120616-r2.ebuild
new file mode 100644
index 0000000..bff3799
--- /dev/null
+++ b/games-util/dwarftherapist/dwarftherapist-0.6.13_p20120616-r2.ebuild
@@ -0,0 +1,88 @@
+# By eroen, 2013-2014
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# $Header: $
+
+EAPI=5
+
+inherit base qmake-utils mercurial games
+
+S=${WORKDIR}/DwarfTherapist-${PV}
+
+DESCRIPTION="Management tool designed to run side-by-side with games-simulation/dwarffortress"
+HOMEPAGE="https://code.google.com/p/dwarftherapist/"
+EHG_REPO_URI="https://code.google.com/p/dwarftherapist/"
+EHG_REVISION="27c3f5c81171531434ab3ca370071068a207022b"
+
+LICENSE="MIT LGPL-2.1-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+HDEPEND="dev-qt/qtcore"
+LIBDEPEND="
+ dev-qt/qtcore
+ dev-qt/qtgui
+ dev-qt/qtscript
+ "
+DEPEND="${HDEPEND}
+ ${LIBDEPEND}"
+RDEPEND="${LIBDEPEND}"
+
+src_prepare() {
+ #Change paths to reflect games policy. The project file controls
+ #installation targets, the wrapper script needs to find the binary.
+ #Remove the broken doc installation commands
+ sed -f - -i dwarftherapist.pro dist/dwarftherapist <<-EOF || die
+ s:/usr/share/dwarftherapist:"${GAMES_DATADIR}/${PN}":
+ s:/usr/bin:"${GAMES_PREFIX}/bin":
+ /^.*doc.extra = .*$/d
+ EOF
+ #Encoding is deprecated, Version should refer to Desktop Entry Specification
+ #version, not application version. The GTK category should accompany the
+ #GNOME category.
+ sed -f - -i dist/dwarftherapist.desktop <<-EOF || die
+ s/GNOME;/GTK;GNOME;/
+ /^Version=/d
+ /^Encoding=/d
+ EOF
+}
+
+src_configure() {
+ eqmake4 dwarftherapist.pro
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ insinto "${GAMES_DATADIR}"/${PN}/etc/memory_layouts/linux
+ doins "${FILESDIR}"/v0.40.05.ini
+ doins "${FILESDIR}"/v0.40.08.ini
+
+ dodoc "README.txt" "CHANGELOG.txt" "KNOWN_ISSUES.txt"
+ dohtml "doc/"*".html"
+ dodoc -r "img/screenshots"
+ docompress -x "/usr/share/doc/${P}/screenshots/"
+
+ dodir "${GAMES_DATADIR}/${PN}/log/"
+ prepgamesdirs
+ fperms g+w "${GAMES_DATADIR}/${PN}/log/"
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog
+ elog "To start Dwarf Therapist, please run 'dwarftherapist'."
+ elog
+ elog "Your preferences will be kept in"
+ elog "'~/.config/UDP Software/Dwarf Therapist.ini'"
+ elog
+ elog "This snapshot of dwarftherapist contains memory mappings for"
+ elog "the following dwarffortress versions:"
+ elog " 0.28.181.40d16"
+ elog " 0.31.[04,05,08,15-25]"
+ elog " 0.34.[04-09]"
+ elog " 0.40.[05,08]"
+}
diff --git a/games-util/dwarftherapist/files/v0.40.08.ini b/games-util/dwarftherapist/files/v0.40.08.ini
new file mode 100644
index 0000000..b0039d1
--- /dev/null
+++ b/games-util/dwarftherapist/files/v0.40.08.ini
@@ -0,0 +1,233 @@
+[info]
+checksum=0xa2f83bf8
+version_name=v0.40.08
+complete=false
+
+[addresses]
+translation_vector=0x09a30170
+language_vector=0x09a30158
+creature_vector=0x0993660c
+active_creature_vector=0x09936618
+dwarf_race_index=0x0991a274
+squad_vector=0x09a2b6d0
+current_year=0x09917d80
+cur_year_tick=0x09917da0
+dwarf_civ_index=0x0991a268
+races_vector=0x09a2ff98
+reactions_vector=0x09a34520
+historical_figures=0x09a35a24
+fake_identities=0x0
+historical_figures_vector=0x09a35a24
+fake_identities_vector=0x0
+fortress_entity=0x0991ed40
+historical_entities_vector=0x09922d70
+weapons_vector=0x09a2ffd8
+trap_vector=0x09a2ffe4
+toy_vector=0x09a2fff0
+tool_vector=0x09a2fffc
+instrument_vector=0x09a300d4
+armor_vector=0x09a300e0
+ammo_vector=0x09a300ec
+siegeammo_vector=0x09a300f8
+glove_vector=0x09a30104
+shoe_vector=0x09a30110
+shield_vector=0x09a3011c
+helm_vector=0x09a30128
+pant_vector=0x09a30134
+food_vector=0x09a30140
+colors_vector=0x09a344fc
+shapes_vector=0x09a34508
+base_materials=0x09a34a94
+inorganics_vector=0x09a2fee4
+plants_vector=0x09a2fefc
+
+[offsets]
+word_table=0x001c
+string_buffer_offset=0x0000
+
+[word_offsets]
+base=0x0000
+noun_singular=0x0004
+noun_plural=0x0008
+adjective=0x000c
+verb=0x0014
+present_simple_verb=0x0018
+past_simple_verb=0x001c
+past_participle_verb=0x0020
+present_participle_verb=0x0024
+words=0x0008
+word_type=0x0024
+language_id=0x0034
+
+[race_offsets]
+name_singular=0x0004
+name_plural=0x0008
+adjective=0x000c
+baby_name_singular=0x0010
+baby_name_plural=0x0014
+child_name_singular=0x0018
+child_name_plural=0x001c
+pref_string_vector=0x0048
+castes_vector=0x0060
+pop_ratio_vector=0x006c
+materials_vector=0x1cf4
+
+[caste_offsets]
+caste_name=0x0004
+caste_descr=0x0044
+caste_phys_att_ranges=0x0b4c
+caste_ment_att_ranges=0x0bf4
+adult_size=0x0104
+
+[hist_entity_offsets]
+squads=0x0884
+positions=0x0800
+assignments=0x0828
+assign_hist_id=0x0004
+assign_position_id=0x000c
+position_id=0x0004
+position_name=0x0040
+position_female_name=0x0048
+position_male_name=0x0050
+
+[hist_figure_offsets]
+hist_race=0x0002
+hist_name=0x0038
+id=0x0094
+hist_fig_info=0x00c0
+reputation=0x002c
+current_ident=0x0018
+fake_name=0x0
+fake_birth_year=0x0
+fake_birth_time=0x0
+
+[weapon_offsets]
+name_plural=0x0028
+single_size=0x0040
+multi_size=0x0044
+
+[material_offsets]
+solid_name=0x0044
+liquid_name=0x0048
+gas_name=0x004c
+powder_name=0x0050
+paste_name=0x0054
+pressed_name=0x0058
+inorganic_materials_vector=0x00c8
+
+[plant_offsets]
+name=0x001c
+name_plural=0x0020
+name_leaf_plural=0x0034
+name_seed_plural=0x002c
+materials_vector=0x0148
+
+[item_offsets]
+name_plural=0x0028
+adjective=0x002c
+mat_name=0x0030
+
+[descriptor_offsets]
+color_name=0x001c
+shape_name_plural=0x0020
+
+[dwarf_offsets]
+first_name=0x0000
+nick_name=0x0004
+last_name=0x0008
+custom_profession=0x003c
+profession=0x0040
+race=0x0044
+flags1=0x008c
+flags2=0x0090
+flags3=0x0094
+caste=0x00a4
+sex=0x00a6
+id=0x00a8
+animal_type=0x00b0
+civ=0x00b8
+specific_refs=0x00f4
+squad_id=0x010c
+squad_position=0x0110
+recheck_equipment=0x015c
+mood=0x01e4
+birth_year=0x0204
+birth_time=0x0208
+current_job=0x02e8
+physical_attrs=0x0398
+body_size=0x0470
+curse=0x0548
+turn_count=0x05b0
+souls=0x0668
+states=0x05f8
+labors=0x0684
+happiness=0x0714
+squad_ref_id=0x076c
+hist_id=0x076c
+
+[soul_details]
+name=0x0004
+mental_attrs=0x006c
+skills=0x01d8
+traits=0x0
+
+[job_details]
+id=0x0008
+on_break_flag=0x0011
+sub_job_id=0x0040
+reaction=0x0004
+reaction_skill=0x0028
+
+[squad_offsets]
+id=0x0000
+name=0x0004
+name_old=0x000c
+alias=0x0040
+members=0x0044
+
+[valid_flags_1]
+size=1
+1\name=Not from around these parts
+1\value=0x80000000
+
+[valid_flags_2]
+size=0
+
+[invalid_flags_1]
+size=9
+1\name=a zombie
+1\value=0x00001000
+2\name=a skeleton
+2\value=0x00002000
+3\name=a merchant or diplomat
+3\value=0x00000040
+4\name=outpost liason
+4\value=0x00000800
+5\name=an invader or hostile
+5\value=0x00020000
+6\name=an invader or hostile
+6\value=0x00080000
+7\name=an invader or hostile
+7\value=0x000C0000
+8\name=a merchant escort
+8\value=0x00000080
+9\name="Dead, Jim."
+9\value=0x00000002
+
+[invalid_flags_2]
+size=5
+1\name="killed, Jim."
+1\value=0x00000080
+2\name=from the Underworld. SPOOKY!
+2\value=0x00040000
+3\name=resident
+3\value=0x00080000
+4\name=visitor_uninvited
+4\value=0x00400000
+5\name=visitor
+5\value=0x00800000
+
+[invalid_flags_3]
+size=1
+1\name=a ghost
+1\value=0x00001000