Overview
A quick guide on unpacking mods, for when you don’t know how to explain.Whether it’s finding out why your hair looks bad, how to get a recipe, or just pure curiosity, this guide will have your back.
Step One: Finding the Target
You also can’t open a box you don’t have, so a subscription to the target mod is required.
- Go to the steam page of the mod you want to investigate.
- At the top of the page there should be a number after ?id=
- This number is the [mod id], copy it.
- In your library, right-click Starbound > Manage > Browse local files.
- Replace the matching section at the top of your file manager with the path listed below.
- Replace the [mod id] section with your number and press enter, your target is the .pak within.
Windows: SteamAppsworkshopcontent211820[mod id]
Linux: /SteamApps/workshop/content/211820/[mod id]
Step Two: Setting the Stage
- Copy the contents.pak file.
- Open the Starbound folder again.
- Open the mods folder, or create a new folder for safety’s sake, and place the .pak within.
- Go back to the Starbound folder.
- Create a new file, and rename it to end with a .bat for Windows.
- Open the file with a text editor and paste into it:
“win32asset_unpacker.exe” “modscontents.pak” “modsunpack”
(Inverted syntax:)“win32asset_packer.exe” “modsunpack” “modscontents.pak” - Adjust to taste, or as necessary, and save the file.
Step Three: Unpack!
- Run the .bat (or equivalent).
- Wait until the resulting window closes.
- In a folder named unpack, within the target folder, should be everything that was in the .pak.
- If not, run the file again as administrator. If unable, ask your administrator.
- Done!
Notes
- Crashing will occur if the same mod is both subscribed and in the mods folder at the same time.
- Yes, any folder or .pak in the mods folder will be loaded as a mod.
- Yes, the .bat needs to be in the Starbound folder, anywhere else will require changes to the .bat.
- No, you don’t have to have a mod in a .pak to run it, but it may load faster as a single file.
- When uploading a mod to the workshop, the .pak will be made automatically, which is why downloading a workshop mod always results in a .pak.
- Whether it’s for forums or friends, manual packaging can be accomplished with the packer, found next to the unpacker, and a .bat with the inverted syntax found at your local software store in Step Two. – You can also get it by applying Step One to your own mod.
Looking for the base game’s .pak? It’s in the assets folder with the name packed.pak.
Never put it (or the folder it makes) in the mods folder; something will break.
Rename the .pak or adjust your .bat for the different name.
Does someone need this How-To? Well just send them this!
[url=http://steamcommunity.com/sharedfiles/filedetails/?id=745239455]A Basic How-To on Unpacking Mods[/url]
Did this help? If so, please rate the guide so that others can find it!
Credits:
AcidaliaPlanitia – Provided the inverted .bat syntax.