**********************************************
D2Mod.dll - Mod system for Diablo II Vers 1.10
**********************************************

Author: SVR 2004
Version: 1.02

*** The install process has changed, if you have a previous version of d2mod, please move any plugin dlls and data folder from your D2 folder into your new mod folder as created below.

What is it ?
------------
    D2Mod.dll is a system for distributing & running Mods for Diablo II. It allows the original dlls to remain unchanged and mods to be easily added/removed without worry of corrupted or incorrectly modified D2 dlls.

Benefits:
-----------
   The system allows mod dlls to be made without the need to handle fixups or worry about relocation. All references and calls into the D2 dlls are normal exports and are compiled just like any normal dll. No macros, No function pointer tables, No more hassles!
   Code edits are uploaded automatically and removed on exit. No unresolved references to corrupt the system after game play.
   The system is designed to keep code edits small and easily install your C functions to do the bulk of the work.

For the user ... no more code edits !!!

How to use it ?
----------------
    The system is 2 part. The first is d2mod.dll. This is installed once. The second part is the plugins. You can download plugins and add their ini info to the d2mod.ini. D2Mod will load them automatically when D2 is run.
    You may have several ini files. Mod makers that use the d2mod system will have an ini for their code plugins named after there mod. To specify which ini to use, put the commandline option -mod ModName.
ModName will be the name of the mod, ie; BTH for Back To HellFire. This will tell d2mod to load the BTH.ini  ( or BTH.mpq) file.
    To run D2 without mods loaded use -nomod in your shortcut.
  

Installing D2Mod.dll
--------------------

Extract d2mod.zip into the diablo II folder.
Run D2ModSetup.bat.
Click ok.

To uninstall:
Run D2ModSetup.bat.
Click ok.

Note: You should start with a clean D2 install. Plugins for the D2Mod system do not modify the D2 dll's but may have problems running if non-d2mod code edits are in place.


Starting your mod
-------------------

A folder is created for your mod project called MyMod. You may rename it what you wish.
d2mod.ini is the only file there to start with.

You will place all d2mod plugins for your mod here.
Copy the required lines from the plugins readme (if any) into the d2mod.ini in your mod folder.
Follow any specific instructions for non-code edit modifications. (txt files, etc).

You must create a shortcut to run D2 in this mod folder.

Please send questions or comments to:

svr@d2mods.com

Be sure to have D2MOD in the subject or it wont get read.
