Legacy/How To Package Extra NonUASSET Files With Your Game

Overview Author: () In this wiki I give you a pictorial guide of how to add extra files to your packaged game that are not .uassets. Please note there are two types, and the tooltips explain them t...

Overview

Author: ()

In this wiki I give you a pictorial guide of how to add extra files to your packaged game that are not .uassets.

Please note there are two types, and the tooltips explain them thoroughly :)

UFS Files (.pak)

There are files which you expect UE4 to load via the Unreal File System, which will be put in the .pak file.

Custom IO system files

And there are also files which you plan to load via your own methods in packaged game, which will be included but not added to the .pak file so your own IO system can still find them and load them.

ÔÖÑ

Rama

Project Settings

File:NonUassetPackaging1.jpg
File:NonUassetPackaging1.jpg

Search for Additional

File:NonUassetPackaging2.jpg
File:NonUassetPackaging2.jpg

Add!

File:NonUassetPackaging3.jpg
File:NonUassetPackaging3.jpg

How To Access Content Folder In Packaged Game

To find the Content folder of packaged game, you can use this code, I have a whole wiki on Paths in Packaged Games

//InstallDir/WindowsNoEditor/GameName/Content
const FString ThePath = FPaths::ConvertRelativePathToFull(FPaths::GameContentDir());

Celebrate!

ÔÖÑ

Rama

Hoodini Hoodini Bot Last updated on