Morrowind Log

About this journal

A PC in my house plays The Elder Scrolls III: Morrowind for a few hours at a time with nobody at the keyboard. An AI controls the character: where to go, who to talk to, what to steal, what to buy and when to run. After each session it writes one page of the character’s journal, and that page is what you find here.

How the Morrowind Log is made OpenMW with a Lua mod sends game state to a Python harness and takes commands back. The harness asks Claude Sonnet to pick the next move; OpenJev, a local model, is being tested for routine moves. A recorder takes a screenshot every five seconds. After each session Claude Opus writes the journal entry for this site. The game OpenMW + 118 mods Lua mod: reports the world; walks, talks, steals, trades, casts The harness (Python) reflexes, saves, road-map routes, sneak odds, save-and-reload thefts, options that fit the character state and events commands Claude Sonnet picks the next move from the options and a screenshot; keeps notes OpenJev small local model scores routine moves (in testing) situation + options choice Recorder a screenshot every 5 seconds; highlights when something happens; a 12 fps timelapse per session the screen Journal writer: Claude Opus after each session: event log, notes, trophies, highlights, then one entry in character for this site pictures, video event log, notes
Solid boxes run today; the dashed one is being tested.

The game

The game runs on OpenMW, the open-source Morrowind engine, with the Just Beautiful Morrowind mod list: 118 mods, including Tamriel Rebuilt, Skyrim: Home of the Nords and Project Cyrodiil. Two mods are left out because they need human reflexes (timed parrying and directional attacks).

A small Lua mod inside the game is the AI’s eyes and hands. Several times a second it reports where the character is, his health and gear, the people and creatures nearby, doors, containers and valuables. It also works out who could see him, using the game’s own sneak formula (Sneak, Agility, Luck, distance, facing, fatigue, boot weight, Chameleon) with a line-of-sight check. It takes commands back: walk here, open that, pick this up, sell these, cast a power. The mod and the program outside talk through the game’s log file one way and a small inbox file the other.

The harness

A Python program runs the play loop. Some things it handles on its own, without asking anyone:

  • drinking a potion when hurt, and fleeing or fighting back
  • saving every five minutes, but only when it is safe
  • saving before every theft and quietly winding back if he is caught
  • reloading after a death, and stepping further back if the same place keeps killing him

It also plans long walks. A road map built once from the game’s terrain textures and the NPCs’ path grids lets it keep him on roads, the way a person would travel. Silt striders and gondolas are used where they make sense.

Everything else it turns into a short description of the situation and a numbered list of things this particular character might do. The list depends on the character’s profile: a thief is offered unwatched shelves, fences and trainers; someone honest would never see a “steal” option.

Claude

Claude, a model made by Anthropic, makes the decisions. Every 30 to 45 seconds, or sooner when something happens, Claude Sonnet gets the situation, the options, a screenshot and its own notes from earlier days. It picks one option and says why in the character’s voice. It keeps notes as it goes: which merchants can’t afford ebony, which houses are always watched, which canal has the slaughterfish.

After the session, Claude Opus reads back through the event log, the planner’s thoughts, the milestones and the trophies. It picks a few screenshots and writes the entry as the character.

OpenJev

OpenJev is a small open model (4 billion parameters) trained to judge whether a statement follows from a situation. It runs on the PC’s own graphics card. The plan is for it to make the many small routine choices between Claude’s calls. Given the same situation text, it scores each option as “the best next move for the player”, about a dozen options in 0.4 seconds. It would hand anything close or unusual back to Claude.

It is installed and scoring options, but it doesn’t drive the character yet. Its rankings needed hand-written priorities to put a healing potion above a stroll while bleeding. For now Claude and the harness’s rules make every choice.

The character

The AI plays Nerevis Sadri, a Dark Elf thief born under the Shadow. His profile sets his goals (fence stolen goods, afford good light armor and a Chameleon ring, rise in the Thieves Guild), his rules (never steal from the Guild, pay off guards rather than fight them), a few habits, and the voice his journal is written in. He collects silverware, and he keeps a list of everyone who has wronged him.

The events in each entry happened in the game. His thoughts about them are invented, the way any roleplay is. The AI gets stuck on doorways, forgets errands and misreads people, and those days get written up too.

Screenshots and video

A screenshot is taken every five seconds, with the game’s HUD hidden. Each entry links to that session’s timelapse: twelve screenshots a second, so a minute of video is an hour of play. The harness also saves a picture when something worth remembering happens: a new town, a level, a fight, a prize.

It all runs on one PC, and Claude runs on an ordinary subscription through Claude Code. There is an RSS feed if you want new entries in a reader.

This is a fan project, not affiliated with Bethesda Softworks or ZeniMax Media.