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"

Mount several .pak files and read assets from them

Hello Guys, I'm mounting my .pak files with this command and everything is fine when i only mount one file, but problem appears when i try to load .pak files from an array and by order of array index, for example three .pak files, and then i only have access to files from last .pak files! And if one of my files has a references to another file in the first mounted .pak file , i can't find that file...

For example i've a particle with materials in my second .pak file but textures are in first .pak files , in this case the materials can't find textures ! DLC_1.pak file address is first string in array and include textures so order is 0. DLC_2.pak file address is second string in array and include particles and materials and order is 1.

 IPlatformFile& InnerPlatformFile = FPlatformFileManager::Get().GetPlatformFile();
 FPakPlatformFile* PakPlatformFile = new FPakPlatformFile();
 PakPlatformFile->Initialize(&InnerPlatformFile, *File);
 bool Result;
 Result = PakPlatformFile->Mount(*File, NewOrder, *FPaths::GameContentDir());

 return Result;
Product Version: UE 4.15
more ▼

asked Aug 13 '17 at 08:09 AM in C++ Programming

avatar image

156 9 12 13

avatar image DisplaySweet Sep 26 '17 at 03:54 AM

Hi ... Please ..... Can you please put you complete code? We have same issue and not sure how to load and mount .pak file from server.

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

0 answers: sort voted first
Be the first one to answer this question
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