[MacPorts] #30858: starfighter: add app icon
MacPorts
noreply at macports.org
Thu Aug 18 07:00:33 PDT 2011
#30858: starfighter: add app icon
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port: starfighter
-------------------------------------+--------------------------------------
starfighter should have a proper app icon in the Finder. The game sets the
icon once it's running, but in an unusual way: it uses the icon
"gfx/alienDevice.png" (see init.cpp), but it's not a standalone file in
the [http://distfiles.macports.org/starfighter/starfighter-1.1-1.tar.gz
distfile]; rather, it's embedded inside a Quake I- or II-style .pak file
starfighter.pak along with all the other graphics and sounds. So we need
to extract this so that we can make an .icns from it. Either we do it
manually and store it in the files directory, or we do it programmatically
at build time.
To do it manually, I've tried using [http://quakestuff.telefragged.com/
PakExplorer 1.2], but it has an out of memory error trying to read the
.pak. Maybe it's not a standard Quake I/II .pak file, or maybe PakExplorer
is broken.
To do it programmatically, we could try to build an executable that uses
unpack() (see unpack.cpp).
--
Ticket URL: <https://trac.macports.org/ticket/30858>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list