Skip to content

Create a mod MPQ file for Diablo2 v1.13/4 and its Mods 🎲

License

Notifications You must be signed in to change notification settings

pairofdocs/mod_maker_mpq

Repository files navigation

Mod Maker MPQ

A tool to create modded MPQ files with commonly changed settings all in one place. Works for LoD and it's Mods.

Featues: change monster density in levels, change unique drop rates, change rune drop rates, enable old LoD items that are still in the game files, change cooldown of Sorceress skills like meteor, frozen orb.

(Step 0 prep) Install WinMPQ libs

Mod maker MPQ uses WinMPQ from https://sfsrealm.hopto.org/downloads/WinMPQ.html to automatically add .bin files to an .mpq file.

Download the files from this github page and unzip to a location on your PC.

First install Vbr4 from mod_maker_mpq/WinMPQ/Vbr4 by double clicking setup.exe.

Then install RunPack3 from mod_maker_mpq/WinMPQ/RunPack3 by double clicking setup.exe. These libs need to be installed only once.

Usage

If not done already, download the files from this github page and unzip to a location on your PC.

Copy and paste your current patch_d2.mpq from <yourpath>.../Diablo II/ to mod_maker_mpq/mpqOrig/.

mod maker mpq will use the original mpq file and based on configured settings will create a modified one in mod_maker_mpq/mpqModded/.

Edit the sections in settings.ini (settings) and create a modded patch_d2.mp by

douple clicking on make_mod_mpq.exe (or from a terminal with python make_mod_mpq.py). Example of exe in folder.

To have mod maker mpq ignore any settings comment the lines out with ;s (semicolons). But leave the "sections" lines, those starting with [, as they are.

Example

Edit Monster Density for the Secret Cow Level/Moo Moo Farm in section [Monster Density]

[Monster Density]

; default=800
Moo Moo Farm=4000

To add a level that is not present in the default settings, add the exact level name to the ini and specify a density value. A reference for LoD level names is here under the column LevelName.

Add the Stony Tombs with:

; default 2200
Stony Tomb Level 1=3000

Stony Tomb Level 2=3000

Add patch_d2.mpq to Diablo II

Once mod maker mpq does it's processing and adds modded .bin files to mod_maker_mpq/mpqModded/patch_d2.mpq copy and paste the modded mpq to your Diablo II folder (usually .../Program Files (x86)/Diablo II/).

The original game mpq can still be used whenever you wish. It is kept in mod_maker_mpq/mpqOrig/.

Screenshots and Features

  • Azurewrath crystal sword enabled Azurewrath crystal sword enabled

  • Constricting ring enabled Constricting ring enabled

  • Monster density in the cow level Monster density in the cow level

  • Cooldown reduced for Frozen Orb Cooldown reduced for Frozen Orb

  • Cooldown reduced for Meteor

  • Edit your drop rate for Uniques Edit your drop rate for Uniques

  • Edit your drop rate for Runes Edit your drop rate for Runes

Credits

Credit goes to D2Mods.info for many useful resources,

https://github.com/CaiMiao/d2bin2txt for data structures of Diablo 2 files,

https://github.com/fabd/diablo2/tree/master/code/d2_113_data for Diablo 2 data txt files.

Thank you collaborators @Duits, @ogjex

Inspired by

https://github.com/tlentz/d2modmaker

where a config is kept in cfg.json and can be changed to produce a new data folder (and modded files are added to .../Diablo II/data/global/excel).

About

Create a mod MPQ file for Diablo2 v1.13/4 and its Mods 🎲

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages