CUE4Parse 1.2.2.202607

dotnet add package CUE4Parse --version 1.2.2.202607
                    
NuGet\Install-Package CUE4Parse -Version 1.2.2.202607
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CUE4Parse" Version="1.2.2.202607" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CUE4Parse" Version="1.2.2.202607" />
                    
Directory.Packages.props
<PackageReference Include="CUE4Parse" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CUE4Parse --version 1.2.2.202607
                    
#r "nuget: CUE4Parse, 1.2.2.202607"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CUE4Parse@1.2.2.202607
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CUE4Parse&version=1.2.2.202607
                    
Install as a Cake Addin
#tool nuget:?package=CUE4Parse&version=1.2.2.202607
                    
Install as a Cake Tool

CUE4Parse - An Unreal Engine Archives & Packages Parsing Library in C#

NuGet Activity


Description:

CUE4Parse is a parsing library designed specifically for extracting data from archives and packages generated by Unreal Engine 4 and 5. It provides extensive support for parsing and processing native data classes such as UObject, UTexture2D, UAnimSequence, UStaticMesh, and many more. It also offers abstraction layers that enable developers to customize and type their own package formats, to allow them to work with packages that may have unique requirements or structures.

While primarily used and maintained by the FModel team for their various projects, contributions to the library are always welcome, particularly in the areas of memory efficiency, and execution time.

Quickstart:

Installation

Add the NuGet package to your project:

dotnet add package CUE4Parse

Alternatively, you can clone the repository and include it in your project as a reference:

git clone https://github.com/FabianFG/CUE4Parse.git --recursive
Example
var provider = new DefaultFileProvider(ARCHIVE_DIRECTORY_HERE, SearchOption.TopDirectoryOnly, true, new VersionContainer(EGame.GAME_UE4_27));
provider.Initialize(); // will scan the archive directory for supported file extensions

var allObjects = provider.LoadAllObjects(PACKAGE_PATH_HERE); // {GAME}/Content/Folder1/Folder2/PackageName.uasset
var fullJson = JsonConvert.SerializeObject(allExports, Formatting.Indented);

var obj = provider.LoadObject(OBJECT_PATH_HERE); // {GAME}/Content/Folder1/Folder2/PackageName.ObjectName
var objJson = JsonConvert.SerializeObject(objectExport, Formatting.Indented);

switch (obj)
{
    case UTexture2D texture:
    {
        var bitmap = texture.Decode(ETexturePlatform.DesktopMobile);
        ...
    }
    case USoundWave:
    {
        objectExport.Decode(true, out var audioFormat, out var data);
        ...
    }
    case UStaticMesh:
    case USkeletalMesh:
    case UAnimSequence:
    {
        var toSave = new Exporter(objectExport, EXPORT_OPTIONS_HERE);
        var success = toSave.TryWriteToDir(SAVE_DIRECTORY_INFO_HERE, out var label, out var savedFilePath);
        ...
    }
    default:
    {
        ...
    }
}

Further detailed documentation is available in the wiki

License:

CUE4Parse is licensed under Apache License 2.0, and licenses of third-party libraries used are listed here.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on CUE4Parse:

Package Downloads
CUE4Parse-Conversion

CUE4Parse Conversion

PalworldDataExtractor.Lib

Extract data from Palworld .pak file

UE.JsonDataBrowser

Package Description

FF7R2.DataObject.API

An FF7R2 DataObject API.

BanjoByTheBay.CUE4Parse.FortniteTypes

An extension of CUE4Parse that adds easier access to Fortnite-specific types!

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on CUE4Parse:

Repository Stars
tylercamp/palcalc
Comprehensive breeding solver for Palworld
Version Downloads Last Updated
1.2.2.202607 316 7/1/2026
1.2.2 6,043 2/28/2025
1.2.1 1,377 1/31/2025
1.2.0 402 1/30/2025
1.1.1 3,045 2/14/2024
1.1.0 912 11/24/2023
1.0.9 1,775 6/13/2023
1.0.8 434 6/9/2023
1.0.7 621 5/12/2023
1.0.6-pre 349 5/4/2023
1.0.5 448 5/3/2023
1.0.4 1,070 12/6/2022
1.0.3 567 12/6/2022
1.0.2 1,274 9/10/2022
1.0.1 703 8/22/2022
1.0.0 3,547 8/22/2022