Modding Help How to Unpack .pak files

Discussion in 'Starbound Modding' started by BuleCurger, Sep 23, 2016.

  1. BuleCurger

    BuleCurger Space Spelunker

    I have no idea how to Unpack .pak files. I have googled for tools, and I have searched on these forums for tools, but I have not been able to find any.
     
  2. bk3k

    bk3k Black Hole Surfer

    I have half a mind to screenshot the fact that your post sits directly on top of
    How to successfully pack and unpack .pak files
    I don't like being mean about these things, but... that was last updated a few hours before you posted. It was sitting at the top of the forum. You say you looked?! Well forgive me for being skeptical about that claim.

    I'm taking the bait, aren't I?
     
  3. CatofRiddles

    CatofRiddles Astral Cartographer

    I've tried that unpacker method for windows, but it doesn't seem to work for some reason.
     
  4. IHart

    IHart Scruffy Nerf-Herder

    what is the nature of your error.
     
  5. CatofRiddles

    CatofRiddles Astral Cartographer

    I'm mainly trying to unpack Mods, and I keep getting this error:
    upload_2017-3-20_0-46-51.png
    I've made sure the file is in the same folder... I've checked and rechecked file paths. Does it HAVE to be in the mods directory when you unpack it, or am i doing something else wrong?

    This is the only method i've heard of unpacking pak files for windows. i'm running out of options.
     
    Last edited: Mar 20, 2017
  6. IHart

    IHart Scruffy Nerf-Herder

    This is a permissions error on your machine, you may have to run cmd as administrator.
     
  7. lazarus78

    lazarus78 The End of Time

    Easy enough. I have a batch file that does it for me.

    Code:
    @echo off
    echo Unpacking ..\asd.pak into ..\_UnpackedMod\
    echo This may take a long time.
    start /wait /min .\asset_unpacker.exe ..\asd.pak ..\_UnpackedMod
    echo Done.
    pause
    
    I have this bat file in the win32 folder, but have a shortcut to the starbound root folder. Then I just copy the mod file there, rename it to asd.pak and just run the bat file. It will unpack it to "_UnpackedMod" also in the starbound root folder
     
  8. CatofRiddles

    CatofRiddles Astral Cartographer

    I've been using bat files for this too, but if the problem is administrative privileges, i don't know how to get the bat file to use administrative privileges to run CMD. I am Administrator on my own computer, so i just assumed it had privileges.
     
  9. lazarus78

    lazarus78 The End of Time

    Where are you running it from? Basically anything in the C/program files folders have some built in "restrictions". If you install things literally anywhere else, you don't have this issue.

    Additionally, you could just copy the unpacker and any needed files and run a strictly unpacking setup elsewhere.


    As for assuming privilage. Yeah, not really. Even admins are not really "admins". They did this because they wanted to, like the UAC pop-ups, force developers of any program to require as little system access as actually necessary. Believe it or not, Microsoft wants programmers to be better and more efficient. no unnecessary access, unlike phone apps that require access to call history, contacts, photos, location, etc, just so you can tap the screen a few times.
     
  10. CatofRiddles

    CatofRiddles Astral Cartographer

    This helped a lot! Thank you!
     

Share This Page