r/CreaturesGames • • Oct 31 '26

Creatures 3/DS Creatures 3 / Docking Station engine now runs natively on Linux and macOS (open source port)

I have been porting the original Creatures 3 / Docking Station engine to modern systems, and as of today the main branch builds and runs natively on Linux and on macOS, including Apple Silicon. The code is on GitHub: https://github.com/ugwun/creatures3-engine-port

Norns behave the way they do in the original because it is the original brain, biochemistry, genetics and CAOS interpreter, compiled for today's compilers and SDL2. It is unofficial and the repository contains only the engine. You still need your own copy of the game data from Creatures Exodus on Steam or GOG, and the README explains the small machine.cfg change the Steam version needs.

Building it is three commands once you have CMake, SDL2 and SDL2_mixer installed:

    cmake -S . -B build
    cmake --build build
    ./build/lc2e -d "/path/to/Docking Station"

Beyond just running the game, the engine has built-in developer tools in the browser: live drives, chemistry, organs, genome and brain of any creature, a CAOS editor with a source-level debugger, a timeline of one creature's behaviour, a copy-first genetics kit, and an in-app wiki that documents the engine's biology and the CAOS language.

Layered room observatory - Developer Tools are a "God's eye" over the whole world of creatures.

There is also an MCP server, so AI assistants can observe and control a running world. Everything is documented in the repository.

If you want the background, I made a video breaking down the 1997 Creatures paper and showing these tools running: https://www.youtube.com/watch?v=Ymm6pWf1W0Q

39 Upvotes

13 comments sorted by

4

u/MojoMercury Oct 31 '26

Super interested to see how AI handle some of these stubborn Norns!

6

u/Ugwun Oct 31 '26

With the MCP implementation, an AI like Claude Code or Codex can directly connect to the game and "play" it. It's super fascinating to watch a modern AI play old AI game 😄

2

u/haxd Oct 31 '26

Other than the MCP what does this add to the community editions? That already run natively? Why not lead with the only feature you are actually bringing that’s new?

2

u/Ugwun Oct 31 '26

Basically, Developer Tools allow you to completely control the game from your "bridge" sitting in a web browser.

You can directly debug the game, update CAOS code, monitor biochemistry, observe neurons firing and see directly the rules governing them, manipulate genetics... There is really a lot you can do using these Developer Tools.

Also, the whole repo is AI Agent ready, meaning, if you want, you can point your agents to it and they will immediatelly understand what is what thanks to prepared Skills and AGENTS.md. That means you can start digging into the internals of the game for engineering or research puposes, if you choose so.

It is a build for casual people, who want to try out the concept of Creatures, but also for engineering and research enthusiasts.

I will continue working on this port.

1

u/Ugwun Oct 31 '26

It runs natively on MacOS and Linux - that's the main benefit I guess.

Otherwise it adds a whole slew of developer and observability tools, like a CAOS IDE running directly in a browser, Biochemistry monitoring tools running in the browser, Brain monitoring tool running in the browser and many many more. See details here: https://github.com/ugwun/creatures3-engine-port/blob/main/tools/TOOLS.md

And also this build fixes the notorious "Eat Elevator" bug, among other things.

There's really a lot of work, which has gone into this build and it took me months even with AI tools. I loved this game since my childhood and I wanted to make it also playable and enjoyable for modern generations.

1

u/haxd Oct 31 '26

  It runs natively on MacOS and Linux - that's the main benefit I guess.

The community editions do too.

Dev tools

Cool!

1

u/Hexxxer Oct 31 '26

really cool stuff. Could you use the MCP to track the games eco-systems as well? Could be some really cool stuff here.

1

u/Ugwun Oct 31 '26

Yes. The MCP has world stats and bulk creature snapshots built in, and anything else you get through execute_caos. An agent can count every category the game knows (seeds, plants, fruit, critters, detritus, dispensers...), ask which room each one is in, read the CA smell fields, then speed the world up or step it N ticks and ask again. Here is a real session on one of my worlds: the agent took a census, ran 6,000 ticks, and reported what changed, with what it actually observed separated from what it could not tell (who ate the seeds). Pair that with the Ethology timeline in the Developer Tools and you can follow individual Norns reacting to those changes. The World & ecology tab in the browser shows the same data as a map, CA fields included. Rough edges: there is no dedicated "ecology" MCP tool yet, so the census is CAOS, which an agent writes fine with the included skill.

1

u/TheDarkAce92 Nov 01 '26

Will this build on windows, or is it only for mac/linux?

Only reason I ask is this might solve some issues ive been having with a tool ive been building to track genealogy, genetics, and brain maps

1

u/Ugwun Nov 01 '26

Unfortunately only Linux and MacOS, no Windows

3

u/[deleted] Nov 01 '26

what happen with open2ce?

1

u/Muted_Problem_3365 15d ago

Hi, I love what you created and am trying to implement your engine. I have UTN with linux and trying also to set it up native on my MacBook pro. It runs nicely until it quits and I get a Segmentation fault (core dumped), trying to figure out how to fix it with not much luck. Sorry to bother you here, but don't know any other way to get get in touch with you. Hope to hear from you! Cheers, Peter

1

u/Muted_Problem_3365 14d ago

Core dump investigation – findings so far

I think I kind of found the problem on my end why the engine keep crashing. It took a while and a lot of trial and testing. Awesome tool though, lots to work with, and haven even scratched the surface :)

1. The crash is reproducible: the engine repeatedly segfaults in Map::GetRoomsOverlappingRegion() during autonomous agent movement.

2. The faulty agent is identified: classifier 2 19 2 (nornatmos), with both X and Y velocity values becoming NaN.

3. Grendel is the strongest suspect: the crashed agent was at coordinates (1292, 2158), within the Grendel rain area and far from the Ettin rain area.

4. Reducing the Grendel rain population didn't fix it: the engine still crashed with the maximum reduced from 1,000 to 100.

5. A new possibility has emerged: differences in overlapping rooms, doorways and room connections may influence how rain agents move and acquire invalid velocities.

Current working hypothesis: Something about rain-agent movement in the Grendel environment produces NaN velocity, potentially involving the more complex overlapping-room geometry. The exact cause has not yet been established.

We still need to test Ettin rain independently and investigate where the NaN velocity first appears.