[REFERENCE] papadump.exe & papatran.exe

Discussion in 'Mod Discussions' started by Raevn, June 20, 2013.

  1. deltablu26

    deltablu26 New Member

    Messages:
    14
    Likes Received:
    3
    Thank you, i will try it now.
  2. deltablu26

    deltablu26 New Member

    Messages:
    14
    Likes Received:
    3
    I can't find a way to start it....
    I have tried to make a .bat file for execute it but it doesn't work
    Can someone tell me what I have to type on DOS(cmd) for make papatran working?
    Problem solved..... the game is in a external drive so i had to move papatran to the desktop...
    But the window still apear for 0,5 seconds
  3. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    You didn't read the link, I sent you, did you? In particular the section called "Get into the Windows command line". ;)
    Well, try this one: "How to get to an MS-DOS prompt or Windows command line".
    There is no need to make a .bat file by the way. papatran.exe is a command-line tool, so the only way to use it is to use the command line. It has no windows to display, so double-clicking it to start won't work.
  4. deltablu26

    deltablu26 New Member

    Messages:
    14
    Likes Received:
    3
    Ok, i have done the procedure and open cmd....
    now?
  5. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Now you navigate to wherever papatran and papadump are located as per the instructions on "How to use the Window command line". Specifically, the "cd" command. When you get there, you can type papatran to run papatran or papadump to run papadump. At that point you will get the output as detailed in the first post of this thread.
  6. deltablu26

    deltablu26 New Member

    Messages:
    14
    Likes Received:
    3
    Ok, thank you.... i will try this tomorrow because in my country now are the 22:54 and tomorrow I have to go to school so, goodnight, see you all tomorrow afternoon.
  7. liquius

    liquius Well-Known Member

    Messages:
    731
    Likes Received:
    482
  8. deltablu26

    deltablu26 New Member

    Messages:
    14
    Likes Received:
    3
    Perfect, the only time it works, cmd did a mess and now when I try to open papatran it say me Access Denied....
    problem solved, I have change papatran and now it works fine
    <New commander name>.papa is now with us
    Last edited: October 8, 2014
  9. deltablu26

    deltablu26 New Member

    Messages:
    14
    Likes Received:
    3
    Ok, model make.... now I need to make the grapics, I have tried to change the masks files from .papa to .png but Paint dosn't want to open them..... any suggestion?
  10. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
  11. deltablu26

    deltablu26 New Member

    Messages:
    14
    Likes Received:
    3
    thank you all of you.... we don't only own a Beautiful game but, we have also a big community always ready to solve the problems of its members.
    stuart98 likes this.
  12. deltablu26

    deltablu26 New Member

    Messages:
    14
    Likes Received:
    3
    The program always stop working when i select a folder with the texture inside... there are any other ways?
  13. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Wait, what? It doesn't work? Can you tell me the exact steps you do to make it crash? Specifically, which folder you are opening. Also, please post that answer in the texture editor thread about the texture editor at https://forums.uberent.com/threads/wip-papa-texture-editor-v0-3-2.56309/
    Gotta keep things organized. :)
  14. deltablu26

    deltablu26 New Member

    Messages:
    14
    Likes Received:
    3
  15. swizzlewizzle

    swizzlewizzle Active Member

    Messages:
    216
    Likes Received:
    56
    So i'm trying to bring in a model from 3ds max that uses 4 different TGA files (a multi-material). How can i get this multi-material into a single PNG that I can then create the other 2 required PNG files for?
  16. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    Sorry for bumping, but I'm not sure how to use this.

    I got the path for papatran and put it into CMD, but what else do I do?

    I'm trying to convert this picture to a .papa sprite sheet.
    [​IMG]

    I tried most combinations of paths to try and convert it, but get an error each time :(
  17. bengeocth

    bengeocth Post Master General

    Messages:
    1,285
    Likes Received:
    657
    Not seeing a difference between that and the delta, could you clarify
  18. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Copy a default.settings file from a media/pa folder into your papatran folder.
  19. bgolus

    bgolus Uber Alumni

    Messages:
    1,481
    Likes Received:
    2,299
    Place the texture into the "media\pa\effects\textures\particles\" folder.
    Open a command prompt in "bin_x64\tools\".
    Run with this command:
    Code:
    papatran "..\..\media\pa\effects\textures\particles\TEXTURENAME.png" -o "..\..\media\pa\effects\textures\particles\TEXTURENAME.papa"
    In the media folder there are some .settings files scattered around that define how to handle the texture data. These aren't documented anywhere, but the files are in plain text.

    I also replaced my local ping effect and made a video of a scared commander.


    Code:
    {
        "emitters": [
            {
                "spec": {
                    "shader": "particle_transparent",
                    "facing": "axialZ",
                    "flipBookColumns": 20.48,
                    "flipBookRows": 1,
                    "flipBookFrames": 18,
                    "frameCurve": [[0,0],[1,1]],
                    "polyAdjustCenter": -0.5,
                    "baseTexture": "/pa/effects/textures/particles/explosionFlip.papa",
                    "dataChannelFormat": "PositionColorAndAlignVector"
                },
                "sizeX": 10,
                "sizeY": 20,
                "emissionBursts": 1,
                "lifetime": 0.75,
                "bLoop": false,
                "endDistance": -1
            }
        ]
    }
    So the default.settings file from the main folder will convert most textures into a non sRGB format. In general you'll want most of your particle textures to be sRGB otherwise their colors won't look right in game. The default.settings in the particles folder has the proper default settings, but I don't think it can be copied into the papatran folder straight and still work hence why I recommend putting those textures in the particle folder when converting.
    Last edited: January 25, 2015
    stuart98, Alpha2546, allister and 7 others like this.
  20. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    Awesome!

Share This Page