About this mod
Allows you to apply D2RMM mods to a non-D2RMM mod files
- or edit custom mod files with Java Script via D2RMM
- Requirements
- Permissions and credits
- Changelogs
This mod has to be #1 in mod order to work.
There are two main applications:
1. Merge non-D2RMM mod with other D2RMM mods (Plug and play, no code writing required):
-Load non-D2RMM mod (this mod has to be configured for the current version of D2R):
copy contents of data folder of non-D2RMM mod into 'MyMod' folder (found in FileLoad mod folder).
The MyMod folder should consist of folders such as 'global', 'hd', etc.
-Set the FileLoad to be #1 in mod order.
-proceed to load D2RMM mods.
Lunch the game with D2RMM or if your mod uses files beyond data folder: replace (overwrite) contents of 'YourModName'/data with D2RMM.mpq/data directory and lunch your mod (AFAIK there is no D2RMM mod that uses files beyond data folder).
If you encounter errors or features break in the base mod it means there was a conflict between the two.
NOTE- This is 'use at your own risk', since some conflicts will not be detected. Experiment and have fun!
2. File generation/manipulation (requires you writing Java Script):(I use it to make tedious changes to my personal mod)
-Load your mods txt files into LoadFile.
-Create a new dummy mod that will manipulate the txt/json files, examples:
•adding large number of descriptions to items you created (example in JSONEdit),
•'replace all' function (example: Skill Synergies use skill level after bonuses (instead of base level) -> replace all occurances of blvl with lvl in skills.txt and skilldesc.txt - TXTEdit),
•adjust all cell values for certain property
(example: decreasing Junk drop chance by 50%, but adding that difference to predefined 'Empty' treasureclass in treasureclassex.txt, this would remove the clutter but won't affect drop odds)
-Hit Install Mods in D2RMM, this will create the new files in D2RMM.mpq folder in your game dir, simply move the files into your mod folder to apply the changes you made.
How much time this will save you depends on the edit, I prefer to do it this way most of the time since one by one cell editintg is very boring and you can miss an entry or two, this method wont miss anything.
NOTE: references in D2R txt files are commonly inconsistent, so please check if your edit can be automated. I.e. Skill Synergy bonus values have at least 3 different reference themes, and descriptions for them are inconsistant, making editing them globally hard to implement.
Disclaimer- this is more of a method than a mod, not much was written to accomplish the goal, I simply wanted to share this idea as it can be a powerfull tool for mod creation. Thanks again to olegbl for creating D2RMM!!