MCPcopy Index your code
hub / github.com/LartTyler/mhdb-wilds-data

github.com/LartTyler/mhdb-wilds-data @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
432 symbols 667 edges 52 files 5 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

About

The goal of this project is to "glue" several other tools together in order to get sane JSON files for data objects in Wilds. This repo is used by the MHDB Wilds Project as it's primary data source.

If you're just looking for game data, you don't need to build the merged files yourself. The most recent version of all the merged data files are available in /output/merged.

Requirements

  • Rust

Pipeline

  1. Use /tools/ree-pak-gui to extract all .pak files into /data. Only .user.* and .msg.* files need to be extracted.
  2. Run /extract.bat to convert the relevant .user.3 and .msg.23 files to JSON dumps.
  3. Run /merge.bat to convert the raw JSON dumps into a merged JSON format.

Tools

See /tools/README.md for credits and information on the various tools used to make this project possible.

Credits

Extension points exported contracts — how you extend this code

ApplyPlaceholder (Interface)
(no doc) [3 implementers]
tools/merger/src/placeholders/mod.rs
Extractor (Interface)
(no doc) [2 implementers]
tools/rslib/src/tools/mod.rs
ExpandedTargetExt (Interface)
(no doc) [1 implementers]
tools/extractor/src/main.rs
ShouldRun (Interface)
(no doc) [1 implementers]
tools/merger/src/processor/mod.rs
PathExt (Interface)
(no doc) [1 implementers]
tools/extractor/src/main.rs
PopulateStrings (Interface)
(no doc) [1 implementers]
tools/merger/src/processor/mod.rs
ReadFile (Interface)
(no doc) [1 implementers]
tools/merger/src/processor/mod.rs
WriteFile (Interface)
(no doc) [1 implementers]
tools/merger/src/processor/mod.rs

Core symbols most depended-on inside this repo

populate
called by 26
tools/merger/src/processor/mod.rs
write_file
called by 18
tools/merger/src/processor/mod.rs
get
called by 17
tools/merger/src/processor/monsters/large/identifiers.rs
is_empty
called by 14
tools/merger/src/processor/mod.rs
do_process
called by 14
tools/merger/src/processor/weapons/mod.rs
definition
called by 14
tools/merger/src/processor/weapons/bow.rs
find
called by 14
tools/rslib/src/formats/msg.rs
values_until_first_zero
called by 12
tools/merger/src/processor/mod.rs

Shape

Class 155
Method 148
Function 61
Enum 58
Interface 10

Languages

Rust100%

Modules by API surface

tools/merger/src/processor/weapons/mod.rs30 symbols
tools/merger/src/processor/mod.rs26 symbols
tools/merger/src/processor/monsters/large/effectives.rs25 symbols
tools/merger/src/processor/armor.rs25 symbols
tools/merger/src/processor/weapons/hunting_horn.rs22 symbols
tools/merger/src/processor/locations.rs19 symbols
tools/merger/src/processor/monsters/large/parts.rs16 symbols
tools/extractor/src/main.rs14 symbols
tools/merger/src/placeholders/mod.rs13 symbols
tools/rslib/src/formats/msg.rs12 symbols
tools/rslib/src/config.rs12 symbols
tools/merger/src/processor/monsters/large/identifiers.rs12 symbols

For agents

$ claude mcp add mhdb-wilds-data \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact