PETAFAB: Steam Workshop mods - day 2
@SebAaltonen59K followers
16,849 views
21 Comments
Comments from the original post on X (Twitter)

@SebAaltonen
I have a background in UGC content creation platforms. Trials series (RedLynx/Ubisoft) had massively popular level editor. We hired the best creators to do official maps to the sequels and DLCs. My fancy streaming tech made memory usage constant. Could mix/match any DLC assets in your level on a 0.5GB RAM device. HypeHype was a touchscreen game creation platform for phones and tablets. A full blown game editor in your pocket. It was killed because Roblox already had that audience (and their friends). Hard to compete against them.
9 likes

@singular_prism
this looks so beautiful, Claybook aesthetics and art direction were so good
2 likes

@SebAaltonen
Yeah. It had a nice art style and nice tech. Too bad the game itself wasn't that good. Both me and Sami were competitive hardcode gamers and tried to make a slow paced kids game. Puzzle game in a world that is fully deformable. Can't restrict player movement in any way = PROBLEM!
2 likes

@arshadbarves
15 min from old screenshots and it even kept the checkerboard slides and barrel towers. zip plus a json of sdf brushes is a really clean workshop format
2 likes

@bonzajplc
You should do a mcp server instead of handling files
2 likes

@SebAaltonen
File based wastes less tokens. MCP requires lots of tool calls back and forth. Slower and more token hungry. We did both paths at HypeHype in our AI platform. Also command line tools (skills) instead of MCP connections + tool API has better results with modern agents.
7 likes

@SebAaltonen
Anthropic and OpenAI recommend using files/skills nowadays. MCP was the recommendation last year. Both work of course and have their strengths/weaknesses. Game can also hot reload files when they change. But if you do mixed AI/human editor, then MCP is of course better.
1 like

@AndrewBuilds98
Using old screenshots as the spec is such a good trick. Did it get the layout right first go, or did it take a few rounds of fixes?
1 like

@SebAaltonen
This is 3 iterations. Still nowhere the quality I would ever ship, but it’s fine for UGC dogfooding. Petafab built-in levels are way more polished. 100x work. But AI gets you started super fast.

@progerallworld
A workshop level is a nice test of whether the format is actually portable. Can I load the zip on a clean install and get a useful error if a custom material is missing?
1 like

@SebAaltonen
There’s a validator already.

@illulachy_
what did codex learn the json level format from: a written schema, example level files, or the loader code?

@SebAaltonen
I have a json schema + file format documentation. Intended audience is both humans and AI. I didn't have to do any extra API/MCP for AI.

@illulachy_
makes sense, one doc for both. did the docs ship with an example level or two, or was the schema plus the written format description enough for codex to get the brush boolean ops right?
1 like

@SebAaltonen
I made the first prototype yesterday. Nothing has shipped yet. I just gave AI the docs and asked it to build a level to dogfood the system. Then I posted the result. Today I have been polishing the system and creating Steam Workshop UI for the app, so that players can share content. Adding missing features and improving everything for the next patch.

@crertel
That's hilarious. I love it!

@kodingnights
Would you be able to create a map manually though. Sounds complicated for a layman.

@SebAaltonen
Of course. It's a json file and everything is well documented. Create your own textures using whatever software you want. Place primitives in Blender and ask AI to write a Blender -> json conversion script based on my spec. I could write such python script myself too.
1 like

@SebAaltonen
I don't think me writing a level editor is worth doing, since people prefer to use existing tools that they are familiar with.

@aksenHQ
how close was the first try to the original level?