How To Package Extra NonUASSET Files With Your Game

From Epic Wiki
Jump to: navigation, search

Overview

Author: Rama (talk)

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

NonUassetPackaging1.jpg

Search for Additional

NonUassetPackaging2.jpg

Add!

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