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"

[Request] Split cooked game content into multiple PAK files.

Currently, there are only two options of using .pak files for cooked content: having all the assets stored in a single .pak file, or having no .pak at all. Both options have their weaknesses.

While packaging cooked content is generally a good idea, especially for big games (no disk space waste because of small files, better compression efficiency, easier to manage) having the whole game content in a single file is not always acceptable. The main issue is patching.

Thereby, I'd like to request an option that would allow developers to split their content into several .pak files, so each of them could be replaced independently!

There are several ways to achieve this. For example, there could be a special folder prefix/suffix that tells the packager that the content of this folder must be separated into a single pak. For example:

Content/Sounds-Pak/..

Content/Textures-Pak/..

Content/Meshes-Pak/..

will become:

Content/Paks/Sounds.pak

Content/Paks/Textures.pak

Content/Paks/Meshes.pak

And

Content/Blah/MyPak-Pak/..

will become:

Content/Paks/Blah/MyPak.pak

or even:

Content/Paks/MyPak.pak

(since the directory structure doesn't really matter for a packaged game :))

Of course this solution is just an example, I'm sure there are better ways to achieve this (maybe adding this option to Frontend?)

Nevertheless, I think that ability to split .paks will greatly improve the control over packaging and will make patching a lot easier because we will be able to divide the content into multiple pieces of reasonable size, while still having it packaged.

Thanks,

Robert.

Product Version: Not Selected
Tags:
more ▼

asked Oct 18 '14 at 01:29 AM in Packaging & Deployment

avatar image

Robert Khalikov
137 9 10 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Nevermind :) The engine actually can load multiple pak files, so the content can be split. However it requires manual packaging using UnrealPak with custom response files. But it works for me!

more ▼

answered Feb 23 '15 at 02:14 AM

avatar image

Robert Khalikov
137 9 10 17

avatar image Kyoril Mar 13 '15 at 09:48 AM

Could you give me a bit of insight of how you got it to load multiple pak files? Maybe just the basic idea?

Because I'm intereseted in this as well.

avatar image Robert Khalikov Mar 13 '15 at 07:38 PM

The engine automatically loads all pak files located in Content/Paks directory. To create multiple paks you have to manually run UnrealPak with appropriate arguments.

avatar image Kyoril Mar 18 '15 at 12:38 AM

Thanks for the info! :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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