WOG Dump: extract and rebuild 3D weapon models from World of Guns: Gun Disassembly.
A command-line toolkit for 3D artists, modders and researchers who study game assets. WOG Dump logs in with your own game account, downloads encrypted Unity bundles from the game servers, decrypts them and rebuilds the weapon: one command turns the in-game AK-47 into a Blender-ready glTF scene with the exact part hierarchy, game materials and studio lighting. Scenes come out in disassembly states too, with an offline HTML viewer, STL/USD/FBX export, print preparation and turntable videos.
Overview · Features · Quick start · Usage · Configuration · Development · FAQ · Contributing · License
WOG Dump automates the full path from the game's servers to usable 3D data: weapon catalog, per-asset decryption keys, encrypted downloads, XOR decryption, Unity unpacking and scene export. It targets the current query2026 protocol (game 2.2.3t6, Unity 6) and was verified live against the production API in November 2026.
- For: 3D artists, modders, educators and researchers studying weapon assembly and Unity asset pipelines
- Input: your game-account credentials (or a captured client session) and the weapons you want
- Output: decrypted Unity bundles, extracted models and textures (OBJ, PNG, TGA), glTF scenes in assembled or disassembled poses, an offline HTML viewer, STL/USD/USDZ/FBX export, print-ready parts and turntable videos
- Scope: personal, educational and research use, extracted assets remain the property of Noble Empire Corp. (see License)
What's new: this release adds full PBR materials (normal/metallic/roughness maps when the game ships them), an interactive viewer with animation playback, live state switching and an explode slider, scene optimization (
--texture-size, shared texture store, optional gltfpack compression), hash-based incremental updates (update), a web UI with a persistent job queue and Russian interface, print preparation 2.0 (auto-orientation, bed splitting, cost estimates), independent placement of nested parts via_inanchors, and plugin exporters, CLI commands and scene states. Full history: CHANGELOG.md.
- Full pipeline: one command goes from weapon catalog to keys, download, decryption and unpacking. Downloads run in parallel, respect rate limits and resume after interruptions.
updatere-checks downloaded assets against the server by hash/ETag and refreshes only what changed. - Blender-ready scenes:
build-scenerebuilds the assembled weapon exactly like in game: part hierarchy and positions, game materials with textures (base color plus normal/metallic-roughness/occlusion maps when the bundle carries them), camera and studio lighting, real-world scale. UI arrows, cutaway meshes and VFX are classified and skipped unless you ask for them with--extras. - Disassembly states:
--state field-stripputs parts where the game itself puts them after removal,--state explodedpushes them apart along removal directions,--state partslays everything out in a grid. Nested parts with their own removal anchor take independent positions;_inanchors disambiguate reused names and verify assembled origins.--assembly-stepswrites a step-by-step build, and--animatedadds one glTF animation placing part after part. - Interactive offline viewer:
--viewerembeds the scene and the three.js runtime into oneviewer.html: open it in any browser, click parts to highlight them, read annotations with part sizes, play the embedded animations, switch disassembly states live, drag the explode slider, search/hide/isolate parts and save PNG screenshots. English and Russian interfaces. No Blender, no internet, no install. - Animations:
--animationsembeds the bundle's operate animation (fire, reload, safety) as real glTF animation tracks, playable in the viewer with clip selection, timeline and speed control. - Scene optimization:
--texture-size Ndownscales textures, identical textures are stored once and hardlinked into every scene, and--optimizecompresses the GLB with gltfpack (meshopt) when it is installed — the offline viewer decodes it natively. - Export formats:
--format stl,usd,usdz,fbxconverts a built scene: binary STL for slicers (units baked in), USD/USDZ for AR with preview materials, FBX through headless Blender. Third-party formats plug in through entry points. - Print preparation:
print-exportrepairs and checks every part with trimesh, reports watertight status per part and writes millimeter-true STLs.--orientlays the largest supporting face on the bed,--bed-sizesplits oversized parts,--estimatereports volume, mass, print time and filament cost. - Previews and video:
renderturns a built scene into transparent turntable PNGs plus a GIF,--videoencodes an orbit MP4 or one animation clip, all through headless Blender. - Catalog:
cataloglists every weapon with its pipeline status and sizes, filters by name and stage, and emits a stable JSON schema other tools build on. - Web UI:
serveopens a local page with the same catalog, a 3D viewer per weapon and every pipeline stage as a form. Jobs run through a persistent queue with history, cancellation and log replay after reconnects; the interface speaks English and Russian. - Protocol probe:
info --protocol-probeanswers "did I break something or did the game update" in one run: endpoint reachability, anonymous query, authenticated key query, weapon list, client version. Any failure exits with code 2. - Plugins: third-party packages register extra Unity-type extractors, export formats, CLI commands and scene states through entry points, no fork needed.
wog-dump pluginslists what is installed,scripts/new_plugin.pyscaffolds a new plugin, andplugins/ships official feature plugins (3MF and separate-glTF export, showcase layout, scene reports). See docs/plugins.md. - Localization:
--locale ruswitches CLI messages to Russian (full catalog coverage), the web UI and the offline viewer ship English/Russian interfaces; unknown locales fall back to English silently. - Private by design: log in with your own game account (
login/register) or a captured session. Credentials, sessions, keys and the weapon list live in a per-user SQLite database with owner-only permissions, no secrets ship with the repository.
- Python 3.12+
- uv (recommended) or pip
- A game account: create one with
wog-dump registeror use your existing email/password - Internet connection and ~10–20 GB of free disk space for a full extraction
- Optional: AssetStudio for browsing raw Unity bundles manually
- Optional: Blender, for preview renders, videos and FBX export
From PyPI:
pip install rewog
# USD/USDZ export support:
pip install "rewog[usd]"Optional features are plugins (pip packages registered through entry points). From a source checkout:
pip install ./plugins/wog-plugin-web # local web UI (serve)
pip install ./plugins/wog-plugin-print # print preparation (print-export)
pip install ./plugins/wog-plugin-render # previews and videos (render)
pip install ./plugins/wog-plugin-mitm # key import from traffic (import-keys)wog-dump plugins lists everything installed; python scripts/new_plugin.py
scaffolds your own.
From source (for development):
git clone https://github.com/InzGIBA/ReWOG
cd ReWOG
# with uv (install it via https://astral.sh/uv or `pip install uv`)
uv pip install -e .
# or with plain pip
pip install -e .# 1. Create a game account and log in (once; or `wog-dump login` for an existing one)
wog-dump register
# 2. Everything: weapon list, keys, download, decrypt, unpack, normal maps
wog-dump full-pipeline --update-keys --convert-normals
# 3. Rebuild one weapon as a Blender-ready scene
wog-dump build-scene ak47Data lands under runtime/:
runtime/
├── encrypted/ # raw encrypted Unity3D bundles
├── decrypted/ # decrypted bundles
├── unpacked/ # extracted models (OBJ) and textures (PNG, TGA)
└── scenes/ak47/ # ak47.glb + blender_setup.py + scene.json + textures/
Open runtime/scenes/ak47/ak47.glb in Blender (File > Import > glTF 2.0), or run the generated setup script for a configured scene with collections, hidden extras and a saved .blend:
blender --background --python runtime/scenes/ak47/blender_setup.py# Disassembly poses, straight from the game's own removal data
wog-dump build-scene ak47 --state field-strip
wog-dump build-scene ak47 --state exploded --explode-distance 0.5
# A step-by-step build plus one animated assembly GLB
wog-dump build-scene ak47 --assembly-steps 5 --animated
# Show it to someone without Blender
wog-dump build-scene ak47 --viewer --annotate
# Print a part
wog-dump print-export ak47 --part bolt
# Print preparation 2.0: orient, split for the bed, estimate cost
wog-dump print-export ak47 --orient --bed-size 220x220x250 --estimate
# Smaller scenes: downscale textures and compress with gltfpack
wog-dump build-scene ak47 --viewer --texture-size 1024 --optimize
# Did the game update its assets since my download?
wog-dump update
wog-dump update --apply
# Turntable previews and an orbit video
wog-dump render ak47
wog-dump render ak47 --video --duration 8
# What do I have, and how do I share this page?
wog-dump catalog
wog-dump serveEach pipeline stage is also available as its own command:
wog-dump info # configuration and status; add --protocol-probe
wog-dump download-weapons # fetch the weapon catalog
wog-dump download-assets --update-keys # download bundles + fresh keys
wog-dump decrypt-assets # XOR-decrypt the bundles
wog-dump unpack-assets # extract models and textures
wog-dump build-scene ak47 # Blender-ready glTF scene
wog-dump update # check assets for server-side changes
wog-dump render ak47 # turntable previews; --video for MP4
wog-dump print-export ak47 # print-ready STLs with diagnostics
wog-dump catalog # per-weapon status table
wog-dump plugins # installed extensions across all groups
wog-dump convert-normals ./unpacked --recursive # optional: fix normal mapsEvery command documents itself: wog-dump --help and wog-dump <command> --help.
| Option | Purpose | Example |
|---|---|---|
--weapons |
Limit a command to specific weapons | --weapons "ak74,m4a1,glock17" |
--update-keys |
Fetch fresh decryption keys first | wog-dump download-assets --update-keys |
--check-only |
Preview pending downloads without fetching | wog-dump download-assets --check-only |
--validate |
Verify decrypted files after decryption | wog-dump decrypt-assets --validate |
--extras |
Include UI arrows, cutaway meshes and VFX in a scene | wog-dump build-scene ak47 --extras all |
--state |
Disassembly pose: field-strip, exploded, parts |
wog-dump build-scene ak47 --state exploded |
--assembly-steps / --animated |
Step-by-step build, add a placing animation | wog-dump build-scene ak47 --assembly-steps 5 --animated |
--animations |
Embed the operate animation in the GLB | wog-dump build-scene ak47 --animations |
--viewer / --annotate |
Self-contained HTML viewer, add part markers | wog-dump build-scene ak47 --viewer --annotate |
--texture-size |
Downscale textures to at most N pixels | wog-dump build-scene ak47 --texture-size 1024 |
--optimize |
Compress the GLB with gltfpack when available | wog-dump build-scene ak47 --optimize |
--orient / --bed-size / --estimate |
Print orientation, bed splitting, cost estimate | wog-dump print-export ak47 --orient --estimate |
--format |
Extra formats: stl, usd, usdz, fbx |
wog-dump build-scene ak47 --format stl,usdz --stl-units mm |
--video / --clip |
Orbit MP4 or one animation clip | wog-dump render ak47 --video --clip "Take 001" |
--part / --merge |
Print single parts or one combined layout | wog-dump print-export ak47 --merge |
--locale |
Message language (ru ships a catalog) |
wog-dump --locale ru catalog |
--no-progress |
Disable progress bars (also automatic for piped output) | wog-dump --no-progress full-pipeline |
--max-threads |
Worker threads (global option, default 4) | wog-dump --max-threads 16 full-pipeline |
--verbose / --debug |
Increase logging detail | wog-dump --debug full-pipeline |
build-scene writes everything you need into runtime/scenes/<weapon>/:
<weapon>.glb # full scene: hierarchy, materials, camera, studio lights
blender_setup.py # one-click Blender import + collections + .blend save
scene.json # manifest: state, placements, counts, skipped objects, parts
viewer.html # offline viewer (with --viewer, annotations with --annotate)
textures/ # source PNG textures (also embedded in the GLB)
previews/ # turntable PNGs + preview.gif (from wog-dump render)
renders/ # orbit / clip MP4s (from wog-dump render --video)
print/ # STLs + print_report.json (from wog-dump print-export)
Non-assembled states go to sibling folders: <weapon>-field-strip/, <weapon>-exploded/, <weapon>-parts/, and <weapon>-steps/ for step builds.
wog-dump cache --migrate # import legacy weapons.txt / keys.txt
wog-dump cache --show-cache # detailed cache statistics
wog-dump cache --validate-assets # check downloads exist and are non-emptyA local web UI over the same pipeline: catalog with statuses, a 3D viewer per weapon and every stage as a form. Jobs run through a persistent queue with history, cancellation and live logs that replay after reconnects; the interface switches between English and Russian. Shipped as the wog-plugin-web plugin, binds 127.0.0.1 with a per-start token URL.
pip install ./plugins/wog-plugin-web
wog-dump serveNo local Python needed, all state lives in a named volume mounted at /data:
docker run --rm -it -v wog-data:/data ghcr.io/inzgiba/rewog:latest catalog
docker run --rm -it -v wog-data:/data ghcr.io/inzgiba/rewog:latest full-pipeline --update-keys
docker compose run --rm wog catalog # from the repo, via docker-compose.ymlImages publish to GHCR on release tags (latest plus semantic versions), pull requests build the image without pushing.
from wog_dump.core.catalog import build_catalog
from wog_dump.core.config import get_config
from wog_dump.core.download import DownloadManager
from wog_dump.core.decrypt import KeyManager, AssetDecryptor
config = get_config()
with DownloadManager(config) as downloader:
successful, failed = downloader.download_assets(["ak74", "m4a1"])
key_manager = KeyManager(config)
keys = key_manager.load_keys()
decryptor = AssetDecryptor(config)
decrypted_files, failed_assets = decryptor.decrypt_all_assets(keys)
# Catalog status without the CLI
for entry in build_catalog(config):
if entry.scene:
print(entry.name, entry.size_bytes)More library entry points: core.export.convert_format (GLB to STL/USD/FBX), core.render.RenderManager (previews and video), core.viewer.render_viewer_html (offline viewer), core.probe.ProtocolProbe (compatibility check). The API reference pages live in the docs site.
Settings come from a gitignored .env in the repository root (see .env.example) or from the environment. Credentials, sessions, keys and the weapon list are stored in a per-user SQLite database, never in the repository.
| Setting | Required | Default | Description |
|---|---|---|---|
WOG_ACCOUNT_EMAIL / WOG_ACCOUNT_PASSWORD |
No | — | Game account for automatic login (alternative to a captured session) |
WOG_AUTH_ID / WOG_AUTH_SESSION |
No | — | Captured client session from your own traffic (guide) |
WOG_DEVICE_ID |
No | generated | Device id sent to the API |
WOG_DB_PATH |
No | OS user data dir | Location of the per-user SQLite database |
WOG_API_BASE_URL |
No | https://eu1.ultimate-disassembly.com/v/query2026.php |
Key API endpoint |
WOG_DATA_BASE_URL |
No | https://data1eu.ultimate-disassembly.com/uni2018 |
Asset download server |
WOG_GAME_VERSION |
No | 2.2.3t6 |
Client version string validated by the server |
WOG_UNITY_VERSION |
No | 6000.0.84f1 |
Unity version string |
WOG_LANG |
No | en |
Language code sent with login queries |
WOG_LOCALE |
No | en |
CLI message language (ru ships a catalog) |
WOG_NO_PROGRESS |
No | unset | Set to disable progress bars (same as --no-progress) |
WOG_BLENDER_PATH |
No | found on PATH | Blender binary for previews, videos and FBX |
WOG_GLTFPACK_PATH |
No | found on PATH | gltfpack binary for build-scene --optimize |
WOG_API_REQUEST_DELAY |
No | 0.25 |
Seconds between key-API requests (raise on 429) |
WOG_REQUEST_DELAY |
No | 0.1 |
Seconds between asset downloads (raise on 429) |
WOG_MAX_THREADS |
No | 4 |
Worker threads (1–16) |
WOG_LOG_LEVEL |
No | INFO |
Log file verbosity (DEBUG/INFO/WARNING/ERROR) |
WOG_LOG_DIR |
No | next to the database | Log directory |
In-depth references:
- docs/configuration.md: every environment variable,
.envsetup, rate limiting, resumable downloads - docs/architecture.md: how the modules fit together, the extraction pipeline
- docs/database.md: where keys and credentials live, schema, migration from pre-2.4 files
- docs/mitm-capture.md: capturing keys and identity from your own game traffic
- docs/plugins.md: writing third-party extractor plugins
- docs/research-disassembly-data.md: where the disassembly poses come from
- docs/benchmarks-download.md: download transport benchmark and decisions
git clone https://github.com/InzGIBA/ReWOG
cd ReWOG
uv pip install -e ".[dev]" # or: pip install -e ".[dev]"pytest # all tests
pytest --cov=wog_dump # with coverage (gate: 85 percent, see .coveragerc)
pytest -m live # against the real servers (needs auth in .env)
black src/ tests/ # formatting
isort src/ tests/
mypy src/ # type checking
flake8 src/ tests/ # linting
mkdocs serve # docs site previewDirectory map
ReWOG/
├── src/wog_dump/ # Core package (source layout)
│ ├── core/ # config, http, api, auth, database, keys, paths,
│ │ # download, decrypt, unpack, scene, scene_states,
│ │ # scene_steps, anim, transforms, glb, export, viewer,
│ │ # extensions, optimize, update, catalog, probe, spider
│ ├── resources/ # Blender setup template, viewer runtime and templates
│ ├── utils/ # logging, normal maps, i18n, progress
│ └── cli/ # Click commands: download, decrypt, unpack, scene,
│ # catalog, pipeline, auth, cache, info, update,
│ # plugins, convert
├── plugins/ # Feature plugins: web, render, print, mitm,
│ # 3mf, gltf, showcase, report
├── tests/ # unit/ + integration/ (CLI end-to-end, real bundles)
├── docs/ # guides, architecture, plugins, benchmarks, API reference
├── blender-addon/ # Blender 4.2+ extension over the CLI
├── examples/ # minimal teaching plugins (extractor, exporter)
├── scripts/ # plugin scaffold, addon zip, locale compiler, tools
└── pyproject.toml # PEP 621 packaging + built-in entry points
Do I need to own the game? The tool downloads public asset files from the game's servers. Ownership is not required. We still recommend owning the game to support the developers.
What formats does WOG Dump export?
Blender-ready glTF 2.0 scenes (build-scene), OBJ models, PNG/TGA textures, converted normal maps, binary STL (plain or print-prepared), USD and USDZ packages, FBX through Blender, and self-contained HTML viewers.
How do I get a disassembled weapon?
Use a state: wog-dump build-scene ak47 --state field-strip places parts exactly where the game puts them after removal. --state exploded spreads parts along removal directions, --state parts lays everything out in a grid. --assembly-steps 5 --animated adds a step-by-step build and one placing animation.
Can I show a scene to someone without Blender?
Yes: wog-dump build-scene ak47 --viewer produces one viewer.html file. Open it in any browser, click parts to highlight them, read sizes in the annotation cards. Share the file directly, it needs no internet.
Which operating systems are supported? Windows, macOS and Linux. The tool is pure Python (no C dependencies since v2).
How much disk space do I need? Encrypted ~2–5 GB, decrypted ~2–5 GB, extracted ~3–8 GB. Plan for 10–20 GB free.
Everything broke after a game update
Run wog-dump info --protocol-probe first. It checks endpoint reachability, the anonymous query, the authenticated key query, the weapon list asset and your client version, and tells you whether the problem is local or the game protocol moved. Any FAIL exits with code 2, report drifts with the protocol drift template.
No game account configured when fetching keys
The key API needs authentication. Run wog-dump register (new account), wog-dump login (existing one), or put WOG_ACCOUNT_EMAIL/WOG_ACCOUNT_PASSWORD, or a captured WOG_AUTH_ID/WOG_AUTH_SESSION, into .env (see docs/mitm-capture.md). Check what is configured with wog-dump cache.
Authentication failed (result=100)
The API rejected the credentials. Verify the email/password pair in the game client itself, then wog-dump login again. A captured session expires sometimes. Capture a fresh one or switch to account login.
Session rejected (result=1000)
The stored session expired. WOG Dump re-logins automatically, if the error persists, run wog-dump logout && wog-dump login.
429 / rate-limit errors
Requests are too frequent. Raise the throttles in .env: WOG_API_REQUEST_DELAY=2.0 (key API) and WOG_REQUEST_DELAY=0.5 (downloads).
No weapon list found. Run 'download-weapons' first.
Run wog-dump download-weapons. Coming from a pre-2.4 installation with runtime/weapons.txt? Import it once with wog-dump cache --migrate.
No decryption keys found. Use --update-keys to fetch them.
Run wog-dump decrypt-assets --update-keys (auth must be configured).
Key API stopped working after a game update
The client version strings are validated server-side. Update them in .env to match the current client (find the values in the game's installation or a fresh capture), e.g. WOG_GAME_VERSION=2.2.3u9 and WOG_UNITY_VERSION=6000.0.84f1.
Interrupted download: do I have to start over?
No. Partial downloads are kept as runtime/assets/*.tmp and resumed via HTTP Range requests on the next run. If a .tmp file refuses to go away, delete the file to force a fresh download.
The tool seems stuck or slow
Check your internet connection, reduce the thread count (wog-dump --max-threads 2 download-assets), enable --verbose (or --debug), and remember that downloads are throttled by design (see WOG_REQUEST_DELAY).
Previews or videos say "Blender not found"
Install Blender, or point WOG_BLENDER_PATH in .env at the binary. Renders use CPU Cycles, so no GPU is required.
A native Blender extension (4.2+) over the same CLI: browse the catalog in a sidebar panel, build missing scenes and import the GLB without a terminal. Install the zip from a release, enable it in preferences, set the runtime directory. See blender-addon/README.md.
Issues and pull requests are welcome: bug fixes, features, documentation, tests, plugins and localization all help. For larger changes, open an issue first to discuss the approach.
- Fork and clone the repository, then
uv pip install -e ".[dev]". - Create a feature branch and make a focused change.
- Add or update relevant tests and docs, run
pytest,black src/ tests/andmkdocs build --strict. - Open a pull request.
- Contributing Guidelines: the detailed contribution process
- Issue Tracker: bug reports and feature requests
- Discussions: questions and general help
- Code of Conduct: community standards
Where to get help, in the order we recommend:
- The FAQ above
- SUPPORT.md: diagnostics and common solutions
- GitHub Issues: bug reports and feature requests (public, searchable)
- GitHub Discussions: questions and general help
Please use the public channels so answers remain useful to others. For security-sensitive reports only, email the maintainer directly: inzgiba@gmail.com.
Released under the MIT License, see LICENSE.
Legal disclaimer. This tool is intended for educational and research purposes only. Extracted assets remain the intellectual property of Noble Empire Corp., ensure compliance with the game's Terms of Service, use extracted content only for personal, educational or research purposes, and do not redistribute game assets or use them commercially. The authors and contributors are not responsible for any misuse of this software or violation of terms of service. For questions about asset usage rights, contact Noble Empire Corp. directly.
- DeadZoneGarry: original decryption research
- Noble Empire Corp.: the game and its assets
- three.js contributors: the viewer runtime (MIT, vendored)
- Contributors to the original WOG Dump project