Author Topic: New Graphic Archive Format?  (Read 3444 times)

Offline MKSheppard

  • Colonel
  • ****
  • Posts: 249
    • View Profile
New Graphic Archive Format?
« on: October 30, 2013, 07:28:09 pm »
Currently, you can define a new PCK file in a ruleset; like:

Code: [Select]
  - type: XCOM_4.PCK
    width: 32
    height: 40
    files:
      0: Resources/CombatArmor/XCOM_4/

whereas you have 288 files within that folder going from xcom_4_000_0.gif to xcom_4_287_0.gif

As more and more mods are created, file #s are going to go up  -- my colored power suit mod has 2,311 :o files.

I'm wondering if it's possible to use the ZIP format (with stored format / no compression) to replace PCK  -- meaning we wouldn't need to maintain specialist tools for OXCOM modding; so our rulesets would look like this instead:

Code: [Select]
  - type: XCOM_4.PCK
    width: 32
    height: 40
    files:
      0: Resources/CombatArmor/XCOM4.zip

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: New Graphic Archive Format?
« Reply #1 on: October 30, 2013, 07:33:15 pm »
you could always store them as a single spritesheet and set the subX and subY to subdivide it, but i agree, zip/rar format support would be nice.

Offline xracer

  • Commander
  • *****
  • Posts: 565
  • X-COM lover, we've gone at it everywhere
    • View Profile
Re: New Graphic Archive Format?
« Reply #2 on: November 02, 2013, 03:38:23 am »
the way i am doing is doing a single sprite sheet it makes easier to manage.