GalaxyHack allows you to design a fleet of spaceships which can then be tested in AI script based battles against fleets designed by other players. Though battles take place in real time, the strategy comes before hand, both in writing short AI scripts in a simple scripting language, and also in the set up and selection of your fleet. You don't actually have any control over your units at all mid-battle, but rather use the time to see where the set up of your fleets is working, where your fleets' weaknesses lie and changes are needed, and perhaps also to learn from the strategy of your opponent. The game revolves around very large capital ships, from which smaller ships are launched, but which are not designed for attacking themselves, and which cannot be moved mid-battle. To win a battle you must destroy of all of your opponent's capital ships before they destroy yours. There can be hundreds of units in any one battle, but there is no harvesting, resource management or base building. (from galaxyhack.sourceforge.net) Reproducible: Always Steps to Reproduce: 1. emerge galaxyhack Actual Results: emerge: there are no ebuilds to satisfy "galaxyhack". Expected Results: >>> games-simulation/galaxyhack merged.
Created attachment 58322 [details] Ebuild and patch for galaxyhack 1.21 Ebuild and patch for galaxyhack 1.21. Patch file contains feature enhancements not in the official release yet. Ebuild itself patches gentoo specific issues. Files in tarball: games-strategy/ games-strategy/galaxyhack/ games-strategy/galaxyhack/galaxyhack-1.21.ebuild games-strategy/galaxyhack/Manifest games-strategy/galaxyhack/files/ games-strategy/galaxyhack/files/digest-galaxyhack-1.21 games-strategy/galaxyhack/files/galaxyhack-1.21-batch-randomize.patch This is my first ebuild, so if I did anything wrong, or just odd, let me know please. Thanks, Niosop
Created attachment 58850 [details] ebuild for galaxyhack-1.23 galaxyhack-1.23 ebuild tarball contains: games-strategy/galaxyhack/Manifest games-strategy/galaxyhack/files/ games-strategy/galaxyhack/files/digest-galaxyhack-1.23 games-strategy/galaxyhack/files/galaxyhack-1.23-patch.patch games-strategy/galaxyhack/galaxyhack-1.23.ebuild
please attach files as text/plain. Go read games.gentoo.org for hints.
Created attachment 58929 [details] ebuild for galaxyhack-1.25 All game related patches in the previous ebuilds have been incorporated upstream. The patch only fixes data search path to be consistant with gentoo file structure (I think).
Created attachment 58930 [details, diff] patch for galaxyhack-1.25 - config file search path change Changes search path for galaxyhack settings to search ~/.galaxyhack/ first then /usr/share/games/galaxyhack.
Comments: Needs to fix up the path using the value from GAMES_DATADIR instead of assuming that it's /usr/share/games/ inherit games GPL isn't a valid choice for license. it's probably GPL-2 sort KEYWORDS fix DESCRIPTION to say what it is, not what it does make the sed multi-line like the other games ebuilds and use the GAMES_* variables instead of hard-coding the values. quote ${S} ${FILESDIR} ${D} src_compile() is uneeded - remove unpack the source and data in src_unpack, not src_install use insinto, doins -r for data install call prepgamesdirs in src_install instead of hand-fixing the permissions need to call games_pkg_postinst at the beginning of pkg_postinst use GAMES_DATADIR instead of /usr/share/games in pkg_postinst
Created attachment 85218 [details] galaxyhack-1.63.ebuild I wrote this ebuild for version 1.63, but epatch fails without any apparent reason. Any idea?
Created attachment 85219 [details] galaxyhack.png
Created attachment 85220 [details, diff] galaxyhack-destdirs.patch
Created attachment 85221 [details, diff] galaxyhack-settings.patch
The patches still hard-code the values for the directories instead of using the games eclass variables. See games-strategy/freecnc/freecnc-0.2.0.ebuild for an example of what I'm looking for.
Created attachment 85246 [details, diff] galaxyhack-destdirs.patch
Created attachment 85247 [details, diff] galaxyhack-settings.patch Now the patches should be ok, but epatch still fails to me. Why?
Created attachment 92880 [details] galaxyhack-1.69.ebuild
Created attachment 92881 [details, diff] galaxyhack-1.69-destdirs.patch This ebuild and patches should address all complains raised till now. But I have one more: source code license is GPL-2 while arts have a different kind of license: The art and music: - the art and music are copyright of their respective authors, if you wish to copy/sell/use art from the game in any context other than GalaxyHack then you must find out who created the particular picture/audio file you wish to use and contact them to ask for their permission. How should be that managed? we have normally just one license.
games-strategy/galaxyhack is now in portage. Version 1.69, even if 1.74 is out :/ Thanks for request, and play with it