CUE4Parse 1.2.2.202607
dotnet add package CUE4Parse --version 1.2.2.202607
NuGet\Install-Package CUE4Parse -Version 1.2.2.202607
<PackageReference Include="CUE4Parse" Version="1.2.2.202607" />
<PackageVersion Include="CUE4Parse" Version="1.2.2.202607" />
<PackageReference Include="CUE4Parse" />
paket add CUE4Parse --version 1.2.2.202607
#r "nuget: CUE4Parse, 1.2.2.202607"
#:package CUE4Parse@1.2.2.202607
#addin nuget:?package=CUE4Parse&version=1.2.2.202607
#tool nuget:?package=CUE4Parse&version=1.2.2.202607
CUE4Parse - An Unreal Engine Archives & Packages Parsing Library in C#
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 | Versions 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. |
-
net10.0
- Blake3 (>= 2.2.1)
- BouncyCastle.Cryptography (>= 2.6.2)
- FixedMathSharp (>= 4.0.1)
- Fmod5Sharp (>= 3.1.0)
- GenericReader (>= 2.3.0)
- Infrablack.UE4Config (>= 0.7.2.97)
- K4os.Compression.LZ4.Streams (>= 1.3.8)
- LZMA-SDK (>= 22.1.1)
- Newtonsoft.Json (>= 13.0.4)
- OffiUtils (>= 3.2.0)
- Oodle.NET (>= 2.2.0)
- OodleSharp (>= 0.0.1)
- Serilog (>= 4.3.1)
- Serilog.Sinks.Console (>= 6.1.1)
- SubstreamSharp (>= 1.0.3)
- System.IO.Hashing (>= 10.0.8)
- VGAudio (>= 2.2.1)
- Zlib-ng.NET (>= 1.2.0)
- ZstdSharp.Port (>= 0.8.8)
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 |