[= Audy;216162]
Technically yes, however it is a rather manual process. You need to use UnrealPak tool to bundle up a collection of files in correct hierarchy. If you want to see how one is currently set up you can use command that looks like “UnrealPak d:\Temp\TP_FlyingBP.upack -Extract d:\Temp\FlyingBP”. exports upack to folder specified.
To make one of your own it can either be done with by directory “UnrealPak d:\Temp\TP_FlyingBP.upack -create=d:\Temp\TP_FlyingBP” which will gather up every file in directory. However, we typically use a source file that specifies which files to gather up like so “UnrealPak d:\Temp\TP_FlyingBP.upack -create=d:\Temp\TP_FlyingBP\contents.txt”, contents.txt contains a list of files (wildcards allowed) to gather up and store in pack, so in case of flying BP it looks like:
../../../Templates/TP_FlyingBP/manifest.json
../../../Templates/TP_FlyingBP/Config/config.ini
../../../Templates/TP_FlyingBP/Content/*.*
../../../Templates/TP_FlyingBP/Media/TP_FlyingBP.png
../../../Templates/TP_FlyingBP/Media/TP_FlyingBP_Preview.png
Pathing is always fun on both commandline and in contents file, may take a few tries to get it set up right, but in theory you can build one yourself ![]()
We do have plans on essentially replacing current Export Assets functionality to write to a upack and hopefully provide mechanisms to gather up related C++ to make your own code-based packs, however, that is future work that we haven’t started on yet.
[/]
Thx , i tested out, and it has worked very well.
path musn’t contain any whitespace, double quotation do not protect paths, for instance batch works :
"g:\unreal engine\4.7\engine\binaries\win64\UnrealPak.exe" "G: emp\FeaturePacks\MyContent.upack" -create="G: emp\Samples\MyContent"
thats one didn’t :
"g:\unreal engine\4.7\engine\binaries\win64\UnrealPak.exe" "g:\unreal engine\4.7\FeaturePacks\MyContent.upack" -create="g:\unreal engine\4.7\Samples\MyContent"
that one worked within Unreal engine installation directory :
"g:\unreal engine\4.7\engine\binaries\win64\UnrealPak.exe" "..\..\..\FeaturePacks\MyContent.upack" -create="..\..\..\Samples\MyContent"