Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sg-unpack

> 编程语言
Open source

Unpacker for STEINS;GATE (Steam edition) and STEINS;GATE 0 .mpk content files

100 stars0 likes2 views
WebsiteGitHub

About

Unpacker for STEINS;GATE (Steam edition) and STEINS;GATE 0 .mpk content files

sg-unpack

Unpacker for SciADV series .mpk content files.

Although originally written for the Steam edition of STEINS;GATE, sg-unpack is known to work with the following:

Game Source(s)
STEINS;GATE Steam, DMM
STEINS;GATE 0 Steam, DMM
STEINS;GATE: Linear Bounded Phenogram Steam
Chaos;Child Steam, DMM

Other configurations might also work - including other games using the .mpk format - but these are untested.

sg-unpack does not currently implement the extraction logic required to unpack STEINS;GATE ELITE .cpk files.

Downloading

Check the releases page for the latest version.

Usage

sg-unpack is a command line tool that takes one or many .mpk inputs and extracts the content to a given output directory.

…

Examples

List the files in the bgm.mpk pack by omitting the output-path:

Command

sg-unpack.exe -i C:\Program Files (x86)\Steam\steamapps\common\STEINS;GATE\USRDIR\bgm.mpk

Output
Using inputs [ bgm.mpk ] in C:\Program Files (x86)\Steam\steamapps\common\STEINS;GATE.

Scanning 1 inputs...
Processing 83 entries...
bgmBGM03.ogg      ~4.87 MB
bgmBGM04.ogg      ~3.49 MB
         * snip *
bgmBGM999.ogg     ~2.53 MB
bgmSONG1.ogg      ~2.45 MB

83 entries found in 1 pack.
No files extracted. Use --output-path to specify an output directory.

Use output filter to extract all audio files (.ogg) from the mpk files in the content directory to C:\SG, without listing the processed files (-q true):

Command

sg-unpack.exe -i C:\Program Files (x86)\Steam\steamapps\common\STEINS;GATE\USRDIR -f .ogg -o C:\SG -q true

Output
Using inputs [ bg.mpk, bgm.mpk, chara.mpk, manual.mpk, mask.mpk, mgsshader.mpk, script.mpk, se.mpk, shader.mpk, system.mpk, voice.mpk ] in C:\Program Files (x86)\Steam\steamapps\common\STEINS;GATE.

Scanning 11 inputs...
Processing 16,096 entries matching on filter '.ogg'...

14,794 files (1.79 GB) extracted to 'C:\SG' in 00:00:07.7275492.

Extract All The Things:

Command

sg-unpack.exe -i C:\Program Files (x86)\Steam\steamapps\common\STEINS;GATE\USRDIR -o C:\SG

Output
Using inputs [ bg.mpk, bgm.mpk, chara.mpk, manual.mpk, mask.mpk, mgsshader.mpk, script.mpk, se.mpk, shader.mpk, system.mpk, voice.mpk ] in C:\Program Files (x86)\Steam\steamapps\common\STEINS;GATE.

Scanning 11 inputs...
Processing 16,096 entries...

* snip sixteen thousand lines *

16,096 files (3.31 GB) extracted to 'C:\SG' in 00:00:12.2559171.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言