Trying to build a standalone MOD/DLC pak file

Hello RVillani, I’ve found one of your answers here and tried the method you implement there. The case I’m trying to work out is a bit different, but i understand the same principles should apply.

I have two projects with the same exact name, one has no content and the other has all the content. I’m manually creating the paks and downloading them to my projects folder (right now, for the sake of simplicity im trying with the starter content as a package). The function you posted there mounts the package but its not really reading the contents of the package (probably because im doing something wrong).

You see, i changed where you define the PackageMount point from:

FString PakMountPoint = FPaths::Combine(FPaths::GameContentDir(), TEXT("DLC"), PakName);

to

FString PakMountPoint = FPaths::Combine(FPaths::ProjectContentDir(), PakName);

And where you define the virtual pak mount from:

FString VirtualMountPoint(FString::Printf(TEXT("/Game/DLC/%s/"), *PakName));

to

FString VirtualMountPoint(FString::Printf(TEXT("/Game/%s/"), *PakName));

Since I don’t have a DLC folder. The mounting of the package seems to work, but when the function registers the mount point i get this message:

LogDirectoryWatcher: A directory notification for “DIRECTORY” was aborted.

Considering that the starter content of the game truly is in /Game/StarterContent, shouldn’t this be working? Did I miss something?

Thank you for your very detailed responses, they’ve been very helpful.