Morrowind Code Patch by Hrnchamd
Morrowind » Utilities
Added: 30/08/2008 - 06:01PM
Updated: 25/11/2015 - 06:34PM

10,774 Endorsements

2.2 Latest version

203,923 Unique D/Ls

275,379 Total D/Ls

1,062,129 Total Views

Uploaded by Hrnchamd


Last updated at 18:34, 25 Nov 2015 Uploaded at 18:01, 30 Aug 2008

Morrowind Code Patch
version 2.2

crafted by Hrnchamd at Sun's Reach
tempered and polished by Psyringe

Morrowind is a game of great depth, a huge world, incredibly extensible and with a thriving community. Unfortunately it's also full of bugs. This is our attempt at defeating the worst bugs in the game, including save corruption; and also adding a few more features people have dreamt of.

All fixes and gameplay changes included are optional, you can independently select which ones you want to use in the installer. Gameplay changes are turned off by default.

Compatible with English, West European, Polish, Russian, Steam editions and the Cenega TES Anthology (Polish and English). Compatible with MGE, MWSE, MWE, and FPS Opt 1.96. Not compatible with the Impulse/Gamefly version of Morrowind (due to DRM), nor FPS Opt 2.0.

If you have the Steam version, MCP will redate your BSAs automatically when the patch is applied. This allows replacer mods to work correctly without the work of redating manually.

See the readme for install and upgrade instructions.

I also recommend using Better Dialogue Font for more readable text at higher resolutions.

Current version features:
gold items are new in 2.2


- Savegame corruption fix. Fixes the mod matching system, to avoid many sources of game corruption. You can now change your load order without problems. Adding mods to your savegame will now cause much less issues. It also makes saving much cleaner, minimizing things like missing NPCs and objects (the local ref bug).
- Delayed spell crash fix. Fixes a crash situation where uncast spells remained in memory or savegame.
- Summoned creature crash fix. Prevents crashes from spell effects bound to creatures that have been unsummoned. Updated to correct a problem with the fix which crashed only when a summon killed its own summoner with a spell effect.
- Initializing data fix. Fixes errors in Morrowind's script parser that caused occasional hanging (or more rarely errors) during the "Initializing Data" phase, when loading savegames. It should also speed up this phase of loading.
- Animated container crash fix. Fixes crashes from accessing animated containers. Should work both with players and merchants accessing containers.
- Resolution options fix. Allows the setting of all available resolutions in the options menu, instead of only resolutions with 4:3 aspect ratio.
- Light spell fix. Fixes a lot of problems with the Light magic effect. Fixes pop-in and flat lighting. Works best in interiors.
- Mercantile fix. Merchants should no longer pay less for an item with increasing mercantile skill. Zero value items are no longer buyable or sellable for 1 gold.
- Unarmored fix. Unarmored skill now gives proper damage reduction when you are fully unarmoured. Previously you had to wear at least one piece of armour to get any armour rating contribution.
- Calendar fix. The year now has the full 12 months, starting at Morning Star, and all months have correct number of days.
- Merchant equipping fix. When selling to a merchant, they may equip any item they can use, which means it is no longer possible to buy that item back. Now any NPC that barters should no longer equip anything you sell them.
- Restore/drain attributes fix. Restore attributes spells did not recognise Fortify effects when restoring. Restore attributes spells now restore up to your fully fortified amount.
- StreamMusic / master volume fix. The StreamMusic script command always sets music volume to maximum, this patch prevents that. Scripted music fades like regular music.
- Loud interface/gameplay sounds fix. Fixes nearly all occurrences of sound effects playing at maximum volume, such as the Dwemer ruin hum.
- Level-up stats bug fix. Stats that would level to 100 or higher on levelup would get their multiplier reduced to 1 if the stat was on the left column of the level up window. Fixes a bug where the UI would display two overlapped multiplier labels if an attribute had exactly 3 level-ups.
- Bound items expiry fix. When a bound item spell expires it no longer forces you into combat stance. When a bound armor spell is cast, the game should remember the last worn item in those slots it replaces. This didn't work for clothing or bracers. Gloves, bracers, and shoes are now re-equipped correctly after an armor spell expires.
- Fog of war fix. Fog of war should no longer stop revealing or update an area a long distance away.
- Intimidate fix. Fixes disposition not increasing by minimum amount on successful intimidate actions (on marginal wins).
- Stable enchantment sort. Enchantments in the spell menu always sort alphabetically instead of sometimes switching to sorting by inventory order.
- PlaceAtPC / Drop fix. In third person, should make placed objects land at the correct distance instead of at the player's feet. Fixes the script command "Drop" to drop items at the owning actor's feet instead of near the player or where the player is looking.
- Spell deselection fix. Fixes player spell deselection when an NPC unequips / uses up a magical item.
- Calm spells fix. Calm humanoid and calm creature force the target out of combat, whatever the magnitude of the spell. With this patch, NPCs and creatures leave combat only if they are sufficiently calmed.
- Vampire stats fix. If you had constant effect items equipped when you became a vampire, your stats could be increased by more than they should have (as noted in the GCD readme). The cause was a bug in the Fortify Attribute spell when used as an ability. This fix does not change your stats if you are already a vampire.
- Reflected spells fix. When you cast an absorb spell and it's reflected, you absorb from yourself and the enemy gets nothing. Apparently not as intended. Now the enemy will absorb from you instead.
- Show transparent clothes in the inventory. Transparent items now show up properly on the figure (paper doll) in the inventory window. Depending on video card and driver, this may rarely cause slight graphical issues with other transparent objects.
- Allow reflection effects on skinned models. Allows skinned objects to have shiny reflection maps.
- Enchant glow in fog fix. Enchanted items no longer turn white underwater, in dust storms or fog.
- Show NPC health bar on healing. Restore spells now activate the NPC health bar as well, allowing you to see the effect of your healing.
- Disposition fix. When talking to someone while under the effect of a personality increase that would push disposition over 100, extra disposition could be lost when the effect expired. This should no longer happen.
- Spell magnitude fix. Spells with a variable magnitude (eg. 5-10pts) which affect an attribute, skill or rating would rarely ever achieve the highest (eg. 10pts) magnitude when cast. Now the highest magnitude should have an equal chance to appear.
- Dispel fix. Dispel is a chance-based effect, but it would invisibly stack with itself if cast multiple times, until any dispel would always succeed. This makes dispel work as described.
- Creature armour damage fix. Creatures that didn't wield weapons but struck with their body wouldn't cause armour damage. This allows them to do so.
- Inventory bugs fix. Fixes issues/crashes with inventory updates when using potions/ingredients via quickslot; companions using soul trap and prevents inventory bugs when using companion rings, teleport rings or similar items. Corrects the encumbrance bar in the companion share window overlapping the text to its right. Corrects the display of item stacks of size 10000 or more in containers.
- NPC potion use AI. Potions used to be drunk without waiting for their effects to finish, meaning an NPC could go through its whole supply in a second. Potion drinking is now limited to once every 5-6 seconds game time.
- Blind fix. The Blind effect gave an attack bonus to the PC instead of a penalty. This should no longer happen.
- Gloss map fix. Morrowind removed gloss map entries from model files after loading them. This stops Morrowind from removing them.
- Lighting fixes. Corrects several lighting errors and optionally increases light falloff range.
- Particle effects fixes. Corrects particles peeling away from weapons and projectiles.
- Projectile aiming fix. Corrects aiming errors for 1st person and 3rd person.
- Waterwalk fix. No longer causes a check for fall damage if cast while swimming.
- Training prices/stats. Training price now depends on base skill level instead of fortified/drained skill.
- Trainer price/stat fix. Trainers no longer refuse to train you if your fortified skill points is above theirs, but not your base skill. They also no longer train 1 point past their level. Relatedly the progress bar when you mouseover a skill does not go away if your fortified skill is above 100, but not your base skill. Trainers now only choose which skills to train using their base skill points, allowing mercantile improving effects to be used without making mercantile an offered skill.
- Travel price fix. Fixed to charge amount displayed instead of base price. Fixes incorrect counting of passengers (player + companions) with all travel services, which were intended to charge per passenger.
- Createmaps/fillmap fix. Causes the createmaps command to skip over interiors, reducing the amount of time it takes to complete. Fixes the fillmap command to display locations from all mods instead of just Morrowind.
- Better quality splash and title screens. Fixes colour depth issues which reduced splash/title screen quality.
- Magicka display accuracy. Causes the magicka display (and all stats displays of the form "current/max") to round down, so that it does not falsely indicate you have more magicka than you do. Also affects the 'charges remaining' display for items in the magic menu.
- Spellmaker/enchant edit effect fix. When editing an existing spell effect, the effect range [Touch/Ranged/Self] is no longer reset.
- Save file limit warning. Warns you when you go to save and have a large number of save files (over 200) in the directory.
- Alchemy naming/stacking fix. Stops Morrowind from randomly claiming you should enter a name for a potion, when a name is present. Now also stops custom potion names from being reset every time a potion is made. All potions created will now be stacked properly in the inventory, instead of adding a new icon for every new potion.
- Allow multiple fortify potions. Allows potions to have multiple fortify/drain attribute effects, where it would previously allow only one of the attributes fortified/drained in a set of ingredients to appear in the potion.
- Blight storm disease fix. Prevents invisible inactive blight diseases being added in blight storms.
- Game formula restoration. fFatigueSpellBase/fFatigueSpellMult that controls fatigue generated by spellcasting is fixed. PC/NPC weapon damage can now be controlled by the fDamageStrengthBase/Mult GMSTs.
- Creature armor rating. Creatures now gain AR and therefore damage reduction from shield spells. The GMST damage reduction cap does not limit creature AR.
- Slowfall on companions fix. Stops companions with slowfall dying on cell transition.
- Drain intelligence exploit fix. Prevents intelligence drained to zero from fully restoring magicka when the drain expires.
- Mouseover menu fixes. Doesn't display next rank for factions with less than 10 ranks that you are a max rank with. Corrects birthsign menu spell text ordering so spells and powers come under the correct headings.
- Detect water level fix. GetWaterLevel returns a very negative number for cells with no water, preventing mods for incorrectly thinking you are underwater.
- Armor indicator fix. Updates the inventory armor indication to show your actual armor rating when you cast a shield spell or your armor skills increase.
- Repair item fixes. Fixes an oversight where fatigue (a low fatigue bar) would increase the chance of repairing an item and the amount repaired instead of decreasing it. Fixes ghost item/crash problems with repairing bound weapons and armor by disabling the repair of bound items.
- Book and scroll scaling fix. Makes books, scrolls and the journal scale to fit wider screens by examining the screen height instead of the width. Fixes issues with multi-monitor setups, where the book would be larger than the screen, with all buttons off-screen.
- Hit fader fix. Prevents red damage border from getting stuck on cell change.
- Water environment sound fix. Prevents the underwater sound effects from disappearing when you use a door from one underwater area, to another underwater area. Fixes the choice of water ambience sound for exteriors and interiors.
- Voiceover script functions fix. Fixes StopSound and SayDone script commands for voiceover mods.
- PlaySoundVP volume fix. The PlaySoundVP and PlaySound3DVP commands ignored the volume parameter, because someone forgot to write the code for it.
- Weapon reach issues. Weapons can now have a shorter reach when modded. Disables the way Morrowind clamped weapon reach to a minimum of 1.0. Fixes fHandToHandReach to work for the player too, not just for NPCs.
- Slow movement anim fix. Allows very slow creature animations to load without causing an error.
- Mod removal fixes. Re-activates script triggered objects after the script mod is removed from the load list. Solves problems like un-openable containers after mod removal.
- Fix enchant options on ranged. Prevents the (useless) "Cast on Strike" enchanting use option from appearing for bows/crossbows.
- Prevent empty messages. Stops all empty message notifications from appearing.
- Disintegrate fix. Fixes the Disintegrate Weapon magic effect, which was causing no damage to weapons in full condition. Fixes disintegrate over time effects applying a reduced amount due to rounding errors, by silently converting all disintegrate effects into instant effects.
- Incorrect inventory sounds fix. Changes inventory pickup and drop sounds for axes and throwing weapons to more correct sounds. Changes potion use sound to the correct drink sound instead of swallow. Allows use of GetSoundPlaying with drink and swallow sounds. Also allows use of GetSoundPlaying with the skillraise sound.
- Confiscated item fix. Prevents guards from always taking items they have confiscated before. Merchants will no longer seize items stolen from their faction containers in the past. Taking items belonging to dead people not longer marks the item as stolen.
- Dropping from inventory fix. Fixes a very specific situation where dropping items to the ground while levitating or falling, and also in third person, would cause the item to be lost.
- Self-enchanting fix. Corrects the chance of successfuly self-enchanting an item with multiple spell effects. Also adjusts the enchanting UI to stay open if self-enchanting fails, to allow multiple attempts at the same enchant.
- Ammunition fix. Corrects the counter on ranged ammunition inventory icons when the equipped ammunition was hidden by an inventory filter.
- Placeitem fix. Correctly saves items placed by scripts into cells that the player has not visited yet.
- Creature magicka/fatigue fix. Creatures have independent settings of maximum magicka and fatigue, which are replaced with an auto-calculated value after saving/loading or attribute changes. This fix modifies the scaling of creature magicka with intelligence, and disables the recalculation of creature fatigue.
- Position/PositionCell fix. Fixes an issue with actors teleported in with PositionCell that prevented NPC scripting from running correctly, and properly activates actor collision when an actor is moved to the current cell. Fixes some quests involving Arena duels.
- Telekinesis fix. Fixes telekinesis to allow long distance interaction with lights, ammunition, books, and activators.
- Map-texture conflict fix. Allows "" to be replace with a texture of a different size, without breaking the world map.
- NPC minor behaviour fixes. Minor improvements to fleeing AI, how followers handle knockdown, and NPC light-source equipping.
- Ammo damage tooltip. Item tooltips will now show the damage range on ammunition.
- Russian fixes. Argonian specific swim animation wasn't playing due to the translated race name. Fixes the width of the spell effect creator window. The window was too narrow, cutting part of the duration slider.
- Polish keyboard support. Allows typing of Polish characters in-game.
- Polish character corrections. Corrects dialogue font Ó and c (they normally display as O and é) when used with Better Dialogue Font Polish version.

Features (optional)

- Map expansion. Increases the area shown on the world map by approximately 2x to cover all of Tamriel Rebuilt. Optional. Now with zoom.
- Rain/snow collision. Rain and snow now collide with statics.
- Toggle sneak. Sneak key toggles sneak mode on or off.
- Swift casting. Allows casting from any stance with the ready magic button. Ready spell stance is still available with the M key.
- Better ingredient and item selector. A much improved menu for selecting components. Affects selecting ingredients, enchanting items and the quick item menu.
- Spell select by name. Allows selecting spells by pressing the first letter of the spell, while in the inventory menu. Repeat presses will cycle through all spells starting with that letter.
- Better typography. Improves the layout of books, scrolls and the journal. Pages have more words per line, and lines per page. The quest and topic list is wider, and wraps less.
- Persuasion improvement. The persuasion dialogue option opens the persuasion menu over your pointer, instead of the centre of the screen.
- Improved inventory filters. Tweaks the inventory filter tabs. Magic group: No weapons or apparel, now holds scrolls, potions and soul gems. Misc group: All misc items except enchanted scrolls and soul gems.
- Don't loot on dispose. Prevents picking up all the items on a body when you Ctrl-click the Dispose Corpse button. The items will disappear with the body.
- Attribute uncap. Allows levelling of the eight main attributes past 100.
- Skill uncap. Allows levelling of skills past 100, including mod*skill script commands, skill books, and prison stays.
- Allow faction leaving. Allows the removal of a player from a faction by script, leading to new quest possibilities.
- Weapon resistance change. Enchanted weapons no longer bypass the "normal weapon resistance" effect that many daedra possess (e.g. ghosts, dremora), only the weapon setting "ignore normal weapon resistance" matters. This requires mod support to work.
- Alchemy weight rewrite. Fixes exploitable potion weight calculations. Prevents potion weight approaching zero if you make several kinds of potion in one go, and stops useless ingredients making potions lighter. Potion weight is now (0.75*total ingredients weight + 0.35) / (0.5 + alembic quality).
- Racial variation in speed fix. Normalizes race speed. Orcs were up to 35% faster and bosmer up to 5% slower than baseline before any stats were taken into account due to body scaling.
- Disable weapon transition on unequip. Skips the short put away weapon state on all unequip actions and when switching to hand to hand. May be useful for certain mods that detect weapon state.
- Pickpocket rewrite. - Pickpocket mechanic was broken by default, overhauled to be much more usable, with difficulty based on weight.
- UI display quality fix. Removes texel misalignment blur. Makes all text and icons as sharp as the source textures. Serious interface clarity improvement. MGE has issues with this fix and draws shaders over the UI, so it's only usable if you don't enable shaders.
- Shortcut key improvements. Allows the dialogue window, books and scrolls to be closed with space. In the inventory, full stacks are picked up by default and shift-click instead opens the quantity menu. When examining a container, you may take all items by pressing the "Ready Weapon" key.
- Service refusal filtering. Allows modders to filter service refusal by individual service type. The choice function indicates service type (see MCP description).
- Scripted music uninterruptible. Prevents combat music from interrupting music played by mods.
- Journal text colouring. Text that rendered as full black can have the colour changed by the color_journal_topic entry in morrowind.ini.
- Vanity camera lock. Allows the moveable vanity camera to stay active after the key is released. It also loosens the restrictions on camera position. Mouse movement should now be fixed relative to the player, previously it didn't account for mouse sensitivity options.
- Detect life spell. Changes the Detect Animal spell effect to detect both NPCs and creatures, instead of just creatures.
- Item recharging rebalance. Doubles success rate of recharging, and sets a minimum guaranteed percentage recharged depending on your enchant skill and stats.
- Fortify maximum health. Changes fortify health to behave like fortify maximum health.
- Unrestrict menu size. Allows stats menu and magic menu to be resized without limit.
- Arrow enchanting. Allows the enchanting of arrows, bolts, and throwing weapons. It will enchant a number of items equal to one-quarter the soul charge of the soul gem. This is not considered balanced, but a fun feature.
- Enchanting increases item value. Previously, items you enchant had the same value as the unenchanted version. With this patch, the newly enchanted item increases in value based on the enchantment capacity used, and item type. Rebalanced over earlier versions.
- Allow stealing from KOed NPCs. This patch allows you to steal from NPCs that have been knocked out. Previously you would get a 'You are in combat' message. Updated so it only affects stealing, and no longer wrongly enables dialogue or other interaction with hostile NPCs.
- Spellmaking max. magnitude increase. Spellmaking/enchanting limits spell magnitudes to 100. Certain effects should be usable above that level (ie. feather). Spell magnitude limit has been increased to 500.
- Spellmaking max. duration reduced. Reduces spellmaker spell duration cap to 300 from 1440. Makes dragging the duration bar more precise.
- Spellmaker/enchant multiple effects. The spellmaker would not allow you to add most spell effects more than once. It now allows you to add a spell effect multiple times with different parameters. Enchant maker now supports multiple effects, as with the spell maker.
- Spellmaker area effect cost. Adding a large area effect to spells had a cost which was independent of the spell magnitude. For balance and realism, large area spells should cost significantly more than they do.
- Exhaust NPCs with damage fatigue. NPCs collapse with exhaustion when their fatigue goes below zero. This could happen with drain fatigue spells, but damage fatigue could never reduce it below zero. Now it can, and NPCs typically will remain on the floor until the damage fatigue spell expires.
- Strength-based hand to hand damage. Hand to hand damage was only based on the skill level. It now varies with strength. The damage is equivalent to original Morrowind damage at 40 strength and increases up to 2.5x at 100 strength. No longer multiplies werewolves' damage.
- Disable map smoothing. Option to disable world map smoothing filter when used with map expansion.
- Over the shoulder camera. Moves third person camera to the right shoulder.
- Bump/reflect local lighting. Adjusts bump/reflection maps to use local lighting. They will no longer be at full brightness in dark environments.
- Item weight display. Allows weight to be displayed to two decimals of precision.
- Reduce camera clipping. Stops the third person camera from moving closer if an NPC (or activator) is between the player and the camera.
- Larger service windows. Makes repair, recharge, and birthsign menus larger. Now increases the size of merchants' spells service and repair service menus.
- Soulgem value rebalance. Makes filled soulgems worth something more reasonable. Value is dependent only on soul magnitude.
- NPC AI casts zero cost powers. Allows NPCs to cast their races' powers, making fights significantly harder.
- Improved animation support. Allows better animation modding (see readme). The player can now display idle animations through the use of playgroup/loopgroup scripting.
- Permanent barter disposition mod. Barter disposition changes on successful/failed transaction can now become permanent.
- On-use ring extra slot. Allows rings with an on-use enchant to be equipped alongside two constant effect rings.
- Allow scroll enchant price modifier. Allows enchanting services NPCs to charge a different price for cast once items, like scrolls.
- Enchanted item rebalance. Reduces the effect that enchant skill has on item charge use. Updated: The enchanted item cooldown is 3 seconds, down from 4 seconds. Enchant skill 100 allows 1.66x casts from a full charge, up from 1.33x. The fading recharge icon has a clearer division between charging and ready.
- Hidden traps. Turns off the display of trap status on object tooltips, so that there is no obvious warning of trapped objects. Probes will always use a charge when testing an object, even if there is no trap present.
- Hidden locks. Hides the display of locks and lock levels. Instead, listen for sounds and watch for messages while picking.
- Hi-def cutscene support. Allows mods to include cutscenes up to 2048x1024 (the default maximum was 640x480).
- Japanese localization. Integrated patch by TObject. Allows Japanese language fonts in dialogue.
- Convenient defaults. On loading a game, sets the player movement to running instead of walking, and sets the map to display the world map instead of the local map.
- Ownership tooltip. Items you look at will show if they are 'Owned' or 'Faction Owned' in their tooltip.
- Better spell merchants. A merchant's list of spells for sale now includes the spell magicka cost. The list of available spells will no longer include the powers, abilities, diseases or curses that the merchant may also have.
- Level-up skills tooltip. In the player level tooltip, the number of skill level-ups linked to each of your attributes are added. This reduces the confusion of remembering which skills to raise for your next level.
- 'Talked to PC' extension. Changes the 'Talked to PC' dialog flag to only be set when you say goodbye to an NPC.
- Inventory sounds for axes. Allows a mod to set axe inventory sounds instead of them sharing a sound ID with another weapon.
- Creature voiceover modding. Allows creatures to play Hello and Idle voiceovers.
- Lock level scripting. Modifies the GetLevel script command to additionally work on locked objects. It returns the lock level, 0 for unlocked, and -1 for items without a lock.