x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Difference between Editor pak's and UnrealPak pak's?

I've been using the "ShooterGame" to test different ways the Engine packs and then attempting to replicate it with my own project but it doesn't seem to like manually created pak files.

Steps:

Package a game with "Use Pak File": the Editor packages everything into a single .pak file

Extract the pack file into the Content/Unpack directory: UnrealPak.exe (Game.pak) -extract (ContentDirectory)\Unpack

Remove the original .pak file so I can test afterwards

Re-pack "Unpack" into a .pak file with the same name: UnrealPak.exe (Game.pak) -create=(ContentDirectory)\Unpack


Is there a different set of commands the Editor uses to pak files? Whenever I do this, the game won't run, but if I remove the re-packed file, and replace it with the original, it works fine.


I'm attempting to create my own .pak files so that I can load them at runtime as modular content that could be downloaded from a server. I roughly understand mounting paks and loading assets from them, and I've been referencing the way ChunkSetup and ChunkInstall handle it, but even if I try to recreate the chunks it doesn't work. It's like there's some metadata that doesn't get unpacked or something.

Product Version: UE 4.18
Tags:
more ▼

asked Feb 28 '18 at 09:24 PM in Packaging & Deployment

avatar image

Huogo
138 13 16 26

avatar image Huogo Feb 28 '18 at 09:35 PM

Something else I tested was building a second game and moved "Game2.pak" to the 1st build content directory and it also failed

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I'm not 100% sure why this fixed re-packing what already existed. My only assumption is that the PakList file doesn't get packed itself (instead only informs the packing tool what goes in).

(UnrealPak.exe) (pak name) -create="(APPDATA)\Unreal Engine\AutomationTool\Logs\C+EpicGames+UE_4.18\ PakList_(pak name).txt"

This answers the question of what the difference is: there is a PakList log file that informs the packing tool.

more ▼

answered Mar 05 '18 at 05:36 PM

avatar image

Huogo
138 13 16 26

avatar image Huogo Mar 05 '18 at 07:04 PM

If you turn off "Use Pak File" you can also use the "FinalCopy_UFSFiles.txt" file for packaging some key points about using this file:

Every line contains 2 file paths

Every second file path, on every line needs to have "../../../" added to the beginning

You can accomplish this by finding every instance of '" "' and replacing it with '" "../../../'

avatar image NextWorldVR Oct 29 '18 at 12:03 AM

Are you available to help for pay, with a single small specific project, (and/or teach how to make this (above) work? I am an Artist and need real help. I can pay . PLEASE PLEASE respond. I can find no way to contact you or message you or I would have! Please email me if you can: NextWorldVR (@) gmail.com Thank you.

avatar image Huogo Mar 06 '18 at 03:19 PM

Decided to write something up to potentially help someone attempting to do the same thing I was doing with manually packing and mounting at runtime.

link text

mounting-paks.pdf (897.0 kB)
avatar image NextWorldVR Oct 29 '18 at 09:34 PM

Thank you for the text file . But I am stuck at Step one. :~O What does this mean and how does one 'get' to it?

'Go to %APPDATA%\Unreal Engine\AutomationTool\Logs\C+EpicGames+UE_4.18'

I see none of the %% Symbols anywhere on my hard drive!!

There CAN be no folders or files called: 'C+EpicGames+UE' Is it a location? A folder? A file? I am now more confused! I appreciate your willingness to help though, Maybe you could elucidate a little?

avatar image Huogo Oct 29 '18 at 10:39 PM

Sorry I just got around to seeing these comments pop up in my emails.

IF you're using Windows, go into the File Explorer (open up your hard drive) and in the address bar at the top type "%APPDATA%" and hit enter.

That should take you to the app data folder that is generally hidden (unless you tell Windows to reveal hidden folders).

In order for the folders: "AutomationTool" \ "Logs" \ "C+EpicGames+UE_[version number]" to show up you'll have to build the project at least 1 time.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question