Skip to content

Repository files navigation

Reforged Extractor

A Rust toolkit for extracting structured Guild Wars game data.

Rust 1.97.1 MIT license

Quick Start

1. Build

# Build the native extractor
cargo build --release -p reforged-extractor

# (Windows optional) Build sniffer & injector for live runtime captures
rustup target add i686-pc-windows-msvc
cargo build --release --target i686-pc-windows-msvc -p reforged_injector -p reforged_sniffer

2. Extract Data from Gw.dat

Extract skills and images directly from your local Gw.dat:

cargo run --release -- extract skills --snapshot "C:\path\to\Gw.dat"
cargo run --release -- extract images --snapshot "C:\path\to\Gw.dat"

3. Extract Runtime Data (Items, NPCs, Quests, Vendors)

For datasets requiring runtime joins, inject the sniffer while the client is running:

.\target\i686-pc-windows-msvc\release\reforged_injector.exe Gw.exe .\target\i686-pc-windows-msvc\release\reforged_sniffer.dll

Then extract using the generated capture logs:

cargo run --release -- extract items --snapshot "C:\path\to\Gw.dat" --packet-log ".\captures\<session-id>\reforged_items.jsonl"
cargo run --release -- extract npcs --snapshot "C:\path\to\Gw.dat" --packet-log ".\captures\<session-id>\reforged_npcs.jsonl"
cargo run --release -- extract quests --snapshot "C:\path\to\Gw.dat" --packet-log ".\captures\<session-id>\reforged_quests.jsonl" --item-log ".\captures\<session-id>\reforged_items.jsonl"
cargo run --release -- extract vendors --snapshot "C:\path\to\Gw.dat" --packet-log ".\captures\<session-id>\reforged_vendor_context.jsonl"

(Or use make regen / make extract-vendors to run automatically with the latest capture).

Output Structure

All outputs are saved in output/:

output/
├── skills/       # skills.json, model_file/*.png
├── images/       # manifest.json, png/*.png
├── items/        # items.json, model_file/*.png
├── npcs/         # npcs.json
├── quests/       # quests.json
└── vendors/      # collectors.json, merchants.json, crafters.json, etc.

Documentation

Legal

Reforged Extractor is an unofficial, independent tool. Guild Wars and all game assets are property of ArenaNet / NCSOFT. Software licensed under the MIT License.

About

Rust extraction and reverse-engineering toolkit for building a structured database from local Guild Wars client data.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages