How do I create an asset pack .zip file with several uassets in it?

Hey @Greg.Corson ,
you have 2 options: Create a zip file from your migrated assets or create a ContentPack

Option A:

  1. Create a new folder called “Content” in your explorer (not in Unreal)
  2. Open your project in Unreal, select your assets, right-click and choose AssetActions=>Migrate
  3. Select all your asset and their shown references and/or folders (default: all related assets are selected)
  4. Click OK and select your newly created “Content” folder
  5. ZIP this “Content” folder and send it to your viewers/customers. They can then just extract it into their new and fresh project.

Option B:

  1. Create a new folder called “ContentPack” in your explorer (not in Unreal)

  2. Inside this folder create a folder called “FeaturePacks”, a folder called “Samples”, a folder called “ContentSettings” and a text file called “ContentToPack.txt”
    image

  3. Inside your “Samples” folder create a folder called “MyContentPack” and inside your “MyContentPack” create a folder “Content”

  4. Migrate your assets to this newly created “Content” folder as described above

  5. Inside your “ContentSettings” folder create a folder called “Config”, a folder called “Media” and a *.json file called “manifest.json”
    image

  6. Inside your “Config” folder create a *.ini file called “config.ini” with the following content:

[AdditionalFilesToAdd]
+Files=Samples/MyContentPack/Content/*.*
  1. Place 2 pictures (if you want) inside your “Media” folder like “MyContentpack.png” with a resolution of 64x64 pixel and “MyContentpack_Preview.png” with a resolution of 400x200 pixel
    image
  2. Place this inside your “manifest.json” file:
{
	"Version": 1,
	"Name":
	[
		{
			"Language": "en",
			"Text": "MyContentPack"
		}
	],
	"Description":
	[
		{
			"Language": "en",
			"Text": "Content for Tutorial"

		}
	],
	"AssetTypes": [],
	"SearchTags":
	[
		{
			"Language": "en",
			"Text": "Content for Tutorial"
		}
	],
	"ClassTypes": "",
	"Category": "Content",
	"Thumbnail": "MyContentpack.png",
	"Screenshots":
	[
		"MyContentpack_Preview.png"
	]
}
  1. Your folder “ContentPack” should look like this (I already migrated my M_Test.uasset with its parent directory from content browser):
|   ContentToPack.txt 
+---ContentSettings
|   |   manifest.json
|   |   
|   +---Config
|   |       config.ini
|   |       
|   \---Media
|           MyContentpack.png
|           MyContentpack_Preview.png
|           
+---FeaturePacks
\---Samples
    \---MyContentPack
        \---Content
            \---MyContentPack
                    M_Test.uasset
  1. Open your “ContentToPack.txt” file and add these lines with " ". You will have to modify “YOURPATH” like “C:” or “D:\MyUnreal” etc.:
"YOURPATH\ContentPack\ContentSettings\Config\"
"YOURPATH\ContentPack\ContentSettings\Media\"
"YOURPATH\ContentPack\ContentSettings\manifest.json"
  1. Create a file called “MyContentPack.upack” from CMD with the follwing command. You will have to modify"YOURPATH" like “C:” or “D:\MyUnreal” etc.:
"YOURPATH\UE_5.0\Engine\Binaries\Win64\UnrealPak.exe" -Create="YOURPATH\ContentPack\ContentToPack.txt" "YOURPATH\ContentPack\FeaturePacks\MyContentPack.upack"
  1. Now you can create a ZIP file from your “FeaturePacks” folder and your “Samples” folder from within your “Contentpack” folder
    image
  2. Send this ZIP file to your viewers/customers who will then have to copy these folders to "THEIRPATH\UE_5.0"
    image
  3. They are now able to use your ContentPack from inside the editor via Add=>AddFeatureOrContentPack
    image
    Which will look like this:
3 Likes