mvn.RlUpk.Core 1.0.2

dotnet add package mvn.RlUpk.Core --version 1.0.2
                    
NuGet\Install-Package mvn.RlUpk.Core -Version 1.0.2
                    
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="mvn.RlUpk.Core" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="mvn.RlUpk.Core" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="mvn.RlUpk.Core" />
                    
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 mvn.RlUpk.Core --version 1.0.2
                    
#r "nuget: mvn.RlUpk.Core, 1.0.2"
                    
#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 mvn.RlUpk.Core@1.0.2
                    
#: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=mvn.RlUpk.Core&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=mvn.RlUpk.Core&version=1.0.2
                    
Install as a Cake Tool

RL-UPKSuite Core

The Core library for the RL-UPKSuite toolset, which provides functionality for unpacking, analyzing, and manipulating Rocket League UPK (Unreal Package) files.

Overview

This library serves as the foundation for all RL-UPKSuite tools, providing classes and utilities to:

  • Load and unpack Rocket League package files
  • Deserialize and serialize Unreal Engine data structures
  • Detect game versions
  • Work with native UE3 classes
  • Handle binary I/O operations for UPK files

Key Components

  • PackageLoader: Handles loading and unpacking of Rocket League UPK files
  • VersionDetector: Identifies the version of Rocket League associated with package files
  • IPackageUnpacker: Interface for different unpacking strategies
  • INativeClassFactory: Factory interface for creating native class instances

Usage

Decrypt a package:

// Example usage of the Core library

var decryptionProvider = new DecryptionProvider("keys.txt");
var decrptor = new RLPackageUnpacker(fileStream, decryptionProvider, FileSummarySerializer.GetDefaultSerializer());
upkFile.Unpack(outputStream);

Load package

TODO: Simplify creation of PackageLoader


var rlServices = GetRLSerializerCollection();
var rlFileSummarySerializer = rlServices.GetRequiredService<IStreamSerializer<FileSummary>>();
var rlPackageSerializer = rlServices.GetRequiredService<IStreamSerializer<UnrealPackage>>();
var rLobjectSerializerFactory = rlServices.GetRequiredService<IObjectSerializerFactory>();

var unpacker = new PackageUnpacker(rlFileSummarySerializer, new DecryptionProvider("keys.txt"));
var nativeFactory = new NativeClassFactory();

var cacheOptions = new PackageCacheOptions(rlPackageSerializer, nativeFactory)
{
     SearchPaths = { "path/to/folder/with/packages" },
     GraphLinkPackages = true,
     PackageUnpacker = unpacker,
     NativeClassFactory = nativeFactory,
     ObjectSerializerFactory = rLobjectSerializerFactory,
     PackageBlacklist = { "EngineMaterials", "EngineResources" }
};
var packageCache = new PackageCache(cacheOptions);
var loader = new PackageLoader(rlPackageSerializer, packageCache, unpacker, nativeFactory, rLobjectSerializerFactory);

var package = loader.LoadPackage("path/to/park_p.udk", "park_p");

 IServiceProvider GetRLSerializerCollection()
 {
     var serviceCollection = new ServiceCollection();
     serviceCollection.AddSerializers(typeof(UnrealPackage), new SerializerOptions(RocketLeagueBase.FileVersion));
     serviceCollection.AddSingleton<IObjectSerializerFactory, ObjectSerializerFactory>();
     var services = serviceCollection.BuildServiceProvider();
     return services;
 }

Dependencies

The Core library depends on various .NET libraries for handling binary serialization, compression, and other operations required for working with UPK files.

  • Decryptor: Tool for decrypting protected Rocket League packages
  • RLToUdkConverter: Converts Rocket League packages to UDK-compatible format
  • DummyPackageBuilder: Creates test UPK files for development purposes

License

See the LICENSE file in the root project directory for license information.

Contributing

Contributions are welcome. Please follow the project code style and submit pull requests for new features or bug fixes.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 302 7/2/2025
1.0.1 342 6/10/2025
1.0.0 203 6/4/2025