OpenXcom Forum

OpenXcom => Suggestions => Topic started by: MKSheppard on October 30, 2013, 07:28:09 pm

Title: New Graphic Archive Format?
Post by: MKSheppard 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
Title: Re: New Graphic Archive Format?
Post by: Warboy1982 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.
Title: Re: New Graphic Archive Format?
Post by: xracer on November 02, 2013, 03:38:23 am
the way i am doing is doing a single sprite sheet it makes easier to manage.