I've spent an entire week meticulously adding mods to my game, one by one, testing them out, and observing their effect on the engine and my performance. I'll describe my method and results below, but first I'll get to the nut of my question. Is there any way to "profile" Morrowind's scripts? That is, to get a breakdown of which scripts are running and how long they're taking to complete every frame. I'm seeing a huge discrepancy between the fps I had during my testing and the fps I now have after creating a new game. I'm trying to understand which mod/script is the culprit.
Even if there's no way to get a profile, is there at least a way to list which scripts are running and turn them off one by one?
Thanks for your help. Below is a description of how I got to where I am with this.
------
This was my method for adding/testing mods and the results:
- With a fresh game install, I traveled to various cities/locations and made save games
- One by one I added mods to my game and then loaded some of my save games, especially at more intense locations or the ones nearest to affected areas
- After loading the area I would walk around a bit, observe the fps, find the related stuff that the mod added, etc
By the time I finished my testing I was pleased with the results - the game ran at 25fps or higher in almost every city and more than 30fps everywhere else. I was finally ready to make my real character and start adventuring. I made a backup of my Morrowind folder in case I needed to revert and I was ready to go.
So I created my new character and after leaving the Census & Excise Office, boy was I surprised. My fps had gone from a smooth 30fps in Seyda Neen to a noticeably choppy 18-22fps. If I load one of my test saves (without quitting the game first) it will also run at about 18-22fps.
I had found the flaw in my method - something I've added causes a permanent fps hit during/after character creation, and for some reason it continues to apply even after loading an old saved game.