Author Topic: How to view/open/edit .pck files  (Read 8384 times)

Offline Esser2002

  • Squaddie
  • *
  • Posts: 9
  • V for Victory
    • View Profile
How to view/open/edit .pck files
« on: February 13, 2019, 03:14:30 am »
I want to use the unarmored sprites as templates for some sprites i want to draw, but i can't acces the sprites from the original game
After a lot of reseach i have concluded that they are stored in some kind of .pck files, but i can't find any way to open these files
How do you guys do it, do i need to download some software or what?

And thanks for the help in advance

Offline luke83

  • Commander
  • *****
  • Posts: 1558
    • View Profile
    • openxcommods
Re: How to view/open/edit .pck files
« Reply #1 on: February 13, 2019, 03:38:49 am »
Download mapview2 as it comes with Pck View which allows you to extract and import pck files

https://openxcom.org/forum/index.php/topic,1321.msg110062.html#new

Offline Esser2002

  • Squaddie
  • *
  • Posts: 9
  • V for Victory
    • View Profile
Re: How to view/open/edit .pck files
« Reply #2 on: February 13, 2019, 04:03:19 am »
Ty for the help. Didn't expect someone to be on this late
<3

Offline luke83

  • Commander
  • *****
  • Posts: 1558
    • View Profile
    • openxcommods
Re: How to view/open/edit .pck files
« Reply #3 on: February 13, 2019, 06:23:54 am »
Its daytime in Australia :)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: How to view/open/edit .pck files
« Reply #4 on: February 13, 2019, 10:14:07 am »
https://openxcom.mod.io/xcom-image-extractor

This is probably all you will ever need. I tested this tool pretty thoroughly and I am really satisfied with how it works.

Offline Esser2002

  • Squaddie
  • *
  • Posts: 9
  • V for Victory
    • View Profile
Re: How to view/open/edit .pck files
« Reply #5 on: February 13, 2019, 08:38:57 pm »
Thanks a lot.
It works fine, when i extract the xcom_0 (unarmored sprites) i get a shitload of gifs (all 200 in the sprite sheet)
I have another problem though...

I am currently trying to add one additional armor to the final mod pack, and being very new at modding (this is my very first project) i though it was a good idea to copy another armor and replace everything i wanted to work differently (name, stats, sprites ect.) I chose the armoured vest

Problem is that the spritesheet for armoured vest is one big png, and i don't know how i can get the 200 gifs to one png.

What do you do when making spritesheets for the mods?
« Last Edit: February 13, 2019, 10:40:35 pm by Esser2002 »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: How to view/open/edit .pck files
« Reply #6 on: February 13, 2019, 11:01:43 pm »
There's an online tool for this: http://falkooxc2.pythonanywhere.com/spritecomb
Sadly it is currently down, hopefully only temporarily.

Offline luke83

  • Commander
  • *****
  • Posts: 1558
    • View Profile
    • openxcommods
Re: How to view/open/edit .pck files
« Reply #7 on: February 14, 2019, 06:38:25 am »
Or use pck edit and export it as one spritr sheet in the first place, everyone has there favourite tools ;)

 SOLARIUS, Is your tool a front end for BBs toolkit?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: How to view/open/edit .pck files
« Reply #8 on: February 14, 2019, 05:14:25 pm »
The extractor might be, I don't know. You can ask Humax.

Falko's tool, certainly not. This particular one is just for combining individual sprites into one sheet.
BTW, the site back online, so feel free to check yourself.