Hey @Greg.Corson ,
you have 2 options: Create a zip file from your migrated assets or create a ContentPack
Option A:
- Create a new folder called “Content” in your explorer (not in Unreal)
- Open your project in Unreal, select your assets, right-click and choose AssetActions=>Migrate
- Select all your asset and their shown references and/or folders (default: all related assets are selected)
- Click OK and select your newly created “Content” folder
- 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:
-
Create a new folder called “ContentPack” in your explorer (not in Unreal)
-
Inside this folder create a folder called “FeaturePacks”, a folder called “Samples”, a folder called “ContentSettings” and a text file called “ContentToPack.txt”
-
Inside your “Samples” folder create a folder called “MyContentPack” and inside your “MyContentPack” create a folder “Content”
-
Migrate your assets to this newly created “Content” folder as described above
-
Inside your “ContentSettings” folder create a folder called “Config”, a folder called “Media” and a *.json file called “manifest.json”
-
Inside your “Config” folder create a *.ini file called “config.ini” with the following content:
[AdditionalFilesToAdd]
+Files=Samples/MyContentPack/Content/*.*
- 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
- 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"
]
}
- 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
- 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"
- 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"
- Now you can create a ZIP file from your “FeaturePacks” folder and your “Samples” folder from within your “Contentpack” folder
- Send this ZIP file to your viewers/customers who will then have to copy these folders to "THEIRPATH\UE_5.0"
- They are now able to use your ContentPack from inside the editor via Add=>AddFeatureOrContentPack
Which will look like this: