Apocalypse PCK extractor.rar 16.61K 1949 downloads
It's very rough-and-ready, but for the most part it works ("for the most part" - it's not 100% done yet). The operation is similar to that of my other conversion tools, but I'm not bundling this together with those yet as they're not at all relevant to Apocalypse...
As with most of my stuff, you need Java.
Extract the archive into your Apocalypse game folder and copy the PCK/TAB files you want to extract into the bb_tact folder this gives you. You will also need to copy in a PALETTE.PAL file - if you're converting terrain sprites, get this from the terrain folder you're working with (eg, for the police station, copy across MAPS\02POLICE\MAPUNITS\PALETTE.DAT; the PCK/TABs for that set are in the same folder). If you're working with units (X-COM troopers for eg, which are found in TACDATA\UNIT\) just grab a palette from a random terrain folder.
If you're using the Steam version, note that most of the data you want is stored in an ISO. The path to this will likely be along the lines of C:\Program Files\Steam\steamapps\common\xcom apocalypse\cd.iso, and you should be able to browse this with WinRar or similar.
Open up a command prompt in the BB_Tact folder, and run the PCK2GIF command with your PCK as the parameter. For example, assuming you've copied across the Spitter's files:
... and hit enter. A subfolder of the PCK's title will be created and GIFs for each sprite will be dumped inside.
Things to do:
- Not all archives can be extracted yet. For example, the archives with an "s" tacked onto their name (eg, SPIT-S.PCK, which probably contains the spitter's bullet sprites).
- I'm not 100% certain the game simply uses the palette file in a given terrain's folder to draw that terrain. I suspect it mashes the colours up with other palettes perhaps.
- GIF to PCK conversion? Not certain I quite understand the format well enough, and I doubt there's any demand, but it's probably do-able.