PAPA texture format

Discussion in 'Support!' started by ethannino, November 22, 2013.

  1. ethannino

    ethannino Member

    Messages:
    77
    Likes Received:
    40
    Hey, I was looking to tweak the textures around, basic mod stuff, but they're all in this 'PAPA' format.

    Can you please go with a better known format? It would make it easier to mod I think. I think previous iterations of the game had used a different texture format If I remember correctly.

    Thanks, and I'm really loving the Beta!
  2. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    They used to be .png files, but the format changed in build 54357. The content of the .papa files are still ultimately pngs though:

    Code:
    c:\Program Files (x86)\Planetary Annihilation\PA\bin_x64\tools>papadump.exe -v aa_missile_vehicle_diffuse.papa
    1 texture:
      0:
      name: "/pa/units/land/aa_missile_vehicle/aa_missile_vehicle_diffuse.png"
      format: TF_DXT5
      width: 128
      height: 128
      mips: 7
      srgb: 1
    0 vertex buffers.
    0 index buffers.
    0 materials.
    0 meshes.
    0 skeletons.
    0 models.
    0 animations.
    That's it, I'm now motivated. I'll be writing an importer / exporter for textures ;)
    zaphodx and maxpowerz like this.
  3. guzwaatensen

    guzwaatensen Active Member

    Messages:
    166
    Likes Received:
    46
    may i redirect your attention to this thread in the Mod Developers Forum: Papa File Format

    or, of course, be ninja'd by the guy himself....
    Raevn likes this.
  4. maxpowerz

    maxpowerz Post Master General

    Messages:
    2,208
    Likes Received:
    885
    OMG, if you do write one for textures i will praise you forever. lol
    What would you write this texture import/export plugin for? please tell me you could make one for photoshop :)
  5. guzwaatensen

    guzwaatensen Active Member

    Messages:
    166
    Likes Received:
    46
    how about one to .png? Then you can edit it wherever....
    Raevn and maxpowerz like this.
  6. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    That's the plan, just an extractor (I believe that the included papatran.exe tool should be able to handle the re-pack).
  7. maxpowerz

    maxpowerz Post Master General

    Messages:
    2,208
    Likes Received:
    885
    Wait,, does papadump extract the papa or just spew out verbose info?
  8. maxpowerz

    maxpowerz Post Master General

    Messages:
    2,208
    Likes Received:
    885
    @raevn .. lol you answered my question as i hit post
  9. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    papadump outputs what you see in the above post, it doesn't actually extract anything.
  10. maxpowerz

    maxpowerz Post Master General

    Messages:
    2,208
    Likes Received:
    885
    yeah i sorta figured that when you said you were gonna make an extractor :)

Share This Page