Cosmos by Leartes: All products 50% off

Pak Loader Plugin

Blue Mountains - Code Plugins - Aug 31, 2019

Exposes .pak file loading functions to Blueprints and provides functions to use assets from the pak file. Intended to be used in packaged (shipping) builds.

  • Supported Platforms
  • Supported Engine Versions
    4.23 - 4.27, 5.0 - 5.3
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Pak Loader is a plugin that can be used in Blueprints and C++. Due to how Unreal Engine works, .pak files are only intended to be loaded in packaged (shipping) builds.

Accessing the assets within the Pak file depends on how the .pak was created (paths, mount points, etc.) and what you are intending to use it for.

You can find an example project and an example .pak file in the link below.

Read the documentation to learn about mounting pak files. If you are a new to Unreal this plugin might not be suitable for you, as mounting pak files is a non trivial thing.


To create pak files you can use my other plugin PakCreator.


Features:

  • Mount/Unmount .pak files.
  • Register mount points to support references between pak assets.
  • Download (.pak) files via HTTP.
  • Load objects (all kind of assets).
  • Load classes (Blueprints).
  • Utility functions like GetMountedPakFilenames, GetFilesInPakDirectory, SHA1SUM, IsValidPakFile, etc. (see documentation)


Limitations:

  • Only tested on Windows x64. But works on other platforms as well (MacOS, Linux, Mobile)
  • Loading assets from mounted Pak files only works in packaged/shipping builds of your project. (Not in Editor)
  • You can't load unsigned Pak files if your game project has Pak signing enabled.
  • Loading pak files that have been created with a different engine version than your project might not load.


Code Modules:

  • Runtime Module: "PakLoader"
  • Classes: FPakLoader, UPakLoaderLibrary, UAsyncPakDownloader, FLogHelper


Example Project:

UE 4.22 Download

UE 4.23 Download

UE 4.24 Download

UE 4.25 Download

UE 4.26 Download

UE 4.27 Download

UE 5.0 Download

UE 5.1 Download

Technical Details

Number of Blueprints: 0

Number of C++ Classes: 4

Network Replicated: No

Supported Development Platforms: Windows x64

Supported Target Build Platforms: Windows x64

Documentation: Link to Google Drive

Forum Support: Link