SkillAgentSearch skills...

MemoryPackDumper

A tool to recover MemoryPack definitions from game assemblies

Install / Use

/learn @KaniArchive/MemoryPackDumper
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

MemoryPackDumper

A tool to recover MemoryPack class definitions from game assemblies.

Originally made for Blue Archive, should theoretically work with other games that use MemoryPack.

Install

You can download the latest pre-build binaries at Releases

Windows | Linux | MacOS

Usage

# Show help
MemoryPackDumper.exe --help

# Generate MemoryPack classes (single file)
MemoryPackDumper.exe --dummy-dll "path/to/dummydll"

# Specify output file
MemoryPackDumper.exe --dummy-dll "path/to/dummydll" --output-file "MemoryPack.cs"

# Split classes into individual files organized by namespace, output-file will now make a folder
MemoryPackDumper.exe --dummy-dll "path/to/dummydll" --split-class --output-file "./output"

# Split with custom root namespace
MemoryPackDumper.exe --dummy-dll "path/to/dummydll" --split-class --namespace "MyGame" --output-file "./output"

# Split with no root namespace (use original namespaces only)
MemoryPackDumper.exe --dummy-dll "path/to/dummydll" --split-class --namespace "" --output-file "./output"

# Specify a dll to limit the search
MemoryPackDumper.exe --dummy-dll "path/to/dummydll" --target-dll "Game.dll" --output-file "MemoryPack.cs"

Build

  1. Install .NET SDK
  2. Clone this repository
git clone https://github.com/KaniArchive/MemoryPackDumper
cd MemoryPackDumper
  1. Build using dotnet
dotnet build

Options

  • -d, --dummy-dll: Specifies the dummy DLL directory (Required)
  • -o, --output-file: Specifies the output file or directory when using --split-class (Default: MemoryPack.cs)
  • -n, --namespace: Specifies the C# namespace for generated classes (Default: MemoryPackData)
  • -sc, --split-class: Split classes into individual files organized by namespace folders
  • -ah, --allow-hidden: Include private, protected, and internal members in output
  • -nl, --namespace-to-look-for: Specifies the namespace to look for (filters types)
  • -tl, --type-to-look-for: Specifies the type to look for (filters types)
  • -t, --target-dll: Specifies a specific DLL to process
  • -v, --verbose: Enable verbose debug logging
  • -sw, --suppress-warnings: Suppress warning messages

[!IMPORTANT]
Disclaimer: This software is made solely for educational purposes. I do not claim any responsibility for any usage of this software.

Acknowledgement

Related Skills

View on GitHub
GitHub Stars22
CategoryDevelopment
Updated10d ago
Forks0

Languages

C#

Security Score

90/100

Audited on Mar 26, 2026

No findings