maintenance-expand-openmw

Maintenance

left wtiny

Maintenance

“There are a few ways we can do this, and the choice is yours.”

This article could benefit from the addition of OpenMW-specific information.

Link to original

About

Infobox

Grass Generation Tutorial

Caption

Tutorial Info

Goals

By the end of this tutorial, you should be able to:

  1. Use habasi to make a merged esp of your whole load order
  2. Use Morrowind Groundcover Generator to generate a single grass plugin for all of Vvardenfell, Tamriel Rebuilt, and Project Cyrodiil
  3. Use tes3conv, Lawnmower, and tes3cmd to automatically remove all clipping grass and cut down on file size

Prerequisites

This tutorial expects that you using MGE-XE and Mod Organizer 2. The end result can be used with OpenMW, but this article will need to be updated with specific steps for anything that might be different.

  • If you have an OpenMW installation, you MUST rename or move the OpenMW folder in My Documents during this process, or Lawnmower will ignore the directory it’s in and try mow a grass file in the OpenMW folder that doesn’t exist.
  • Ensure you have Python 3.5 or later installed. You can find the latest Windows version here.
  • Download habasi and place the exe into your data files or override directory.
  • Download tes3conv and place the exe into your data files or override directory.
  • Download tes3cmd and place the exe into your data files or override directory.
  • Download Lawnmower and place “lawnmower.py” and all three folders into your data files or override directory.
  • Download Morrowind Groundcover Generator and extract the folder itself (keep all the files in the folder) to your main Morrowind directory, where the main exe for the game is located. Afterwards, open the program dropdown in Mod Organizer 2 and click “Edit”. Find the plus sign in the top left of the new window, then select “add from file”. Navigate to the generator’s exe and add it.
  • Download Aesthesia Groundcover and Grass for Tamriel Rebuilt (download the Aesthesia version) and install them with Mod Organizer 2 as you would any other mod. Disable, rename, or delete all their esp files. You only need the textures and meshes from these mods.

Step 1

Navigate to your data files or override directory and create a blank .bat file. Open it and add the following line to it:

habasi -OB --force-dial-type --ignore-important-errors

You may optionally add a second line with timeout 10 or another number if you want it to pause for X number of seconds before closing. Name the .bat file whatever you wish. Afterwards, open the program dropdown in Mod Organizer 2 and click “Edit”. Find the plus sign in the top left of the new window, then select “add from file”. Navigate to where you created your .bat file and add it.

Run the .bat file through Mod Organizer 2 and you will now have an enormous merged plugin of your entire load order.

Warning

It is inadvisable to use a single merged plugin from Habasi for playing the game, as the plugin will almost certainly be filled with errors. This plugin is only intended to be used for reference for programs in the next steps.


Step 2

Download this grass.ini and place it into your Morrowind Groundcover Generator folder. You may rename it anything you want.

Use the ini file above with the merged plugin. Alternatively, you can add your entire load order, but since that won’t be possible for the next step, it is quicker to select a single file. Click the button to generate the grass.

Step 3

Navigate to your data files or override directory and create a blank .bat file. Open it and add the following line to it:

python3 lawnmower.py "MergedLoadOrder.esp" "Grass.esp" "Grass.esp"
tes3cmd delete --instance-match "Z\:-20000" Grass.esp

You may optionally add a second line with timeout 10 or another number if you want it to pause for X number of seconds before closing. Name the .bat file whatever you wish. Afterwards, open the program dropdown in Mod Organizer 2 and click “Edit”. Find the plus sign in the top left of the new window, then select “add from file”. Navigate to where you created your .bat file and add it.

Run the .bat file through Mod Organizer 2. The first line tells Lawnmower to “mow” the grass by reducing the amount of grass clipping through buildings and other statics. This will take 30 minutes to an hour or more depending on the speed of your CPU. Unlike what Lawnmower says in the command line, it’s not actually deleting the grass, but moving it to the lowest Z-level. The second line tells tes3cmd to actually delete that grass.

Conclusion

That’s it! Now you can use the grass file as normal with MGE-XE, and can work with OpenMW as long as extra steps are taken.


Further Reading