MemoryPackDumper
A tool to recover MemoryPack definitions from game assemblies
Install / Use
/learn @KaniArchive/MemoryPackDumperREADME
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
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
- Install .NET SDK
- Clone this repository
git clone https://github.com/KaniArchive/MemoryPackDumper
cd MemoryPackDumper
- 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
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
