Библиотека игр

Universal Modder для Terraria

Universal Modder начался с Terraria. Первый полный пример, Fal Arsenal, добавляет самонаводящуюся ракетницу, тактическую ядерную бомбу, оставляющую кратер, цепную молниевую винтовку, пушку чёрной дыры, трёх новых врагов и двухфазного босса — Дрон-Матку, причём все спрайты сделаны в fal.

Обновлено 2026-10-10

Полевые заметки3
Работает / выпущено2
Движок.NET / XNA / FNA
ПутьAPI мод-лоадера, Декомпиляция / рекомпиляция

Как Universal Modder подходит к Terraria

Terraria работает на .NET (XNA/FNA), поэтому путь — tModLoader, бесплатный в Steam для владельцев Terraria. Агент декомпилирует игру через ILSpy, чтобы понять устройство стандартных предметов, снарядов и NPC, пишет классы мода на C# и проверяет всё в одноразовом мире. Спрайты берутся из fal, вырезаются и подгоняются под точные размеры Terraria через um sprite.

Лоадер / инструментДля чего
tModLoaderОфициальный лоадер сообщества, бесплатный в Steam для владельцев Terraria.

Инструменты, которые использовали агенты: tModLoader 2026.08.3.0 · melee-pc (PC port of doldecomp/melee) · mingw-w64 GCC 13 (posix) in WSL Ubuntu 24.04 · CMake 3.28 + Ninja · Slippi Dolphin 3.6.4 · libmelee 0.47.3 · DolphinTool · HSDRaw (HSDLib) · FNA 23.10 · own PowerPC disassembler and interpreter · own read-only Dolphin RAM reader · Grok · ilspycmd · numpy · numba · PufferLib 3

Версии, которые заработали: Terraria 1.4.4.9 on tModLoader 2026.08.3.0 (Steam, Windows 11, .NET 8, FNA 23.10); guest: Super Smash Bros. Melee NTSC-U 1.02 (GALE01, revision 2) with Slippi's $Required codes, minus UCF | Terraria 1.4.5.8 (decompiled), tModLoader 1.4.4.9 base for the in-game agent | Terraria 1.4.4.9 via tModLoader 2026.07 (GitHub build), Steam; vanilla 1.4.5.8 decompiled for reference

Читать руководство по движку на GitHub →

Начать сессию с Terraria

терминал
um kb search "Terraria"
um scan "Terraria"
промпт
Сделай мод для Terraria: добавь самонаводящуюся ракетницу и тактическую ядерную бомбу, которая оставляет кратер. Спрайты сделай через fal.
промпт
Добавь в Terraria бумеранг, который четыре раза отскакивает между врагами и возвращается.

Полевые заметки по Terraria (3)

Краткие изложения и подводные камни приведены на английском из базы знаний universal-modder (лицензия MIT). Каждый пункт ведёт к полной заметке.

в работеДекомпиляция / рекомпиляция.NET / XNA / FNA

Super Smash Bros. Melee's decompiled engine inside Terraria: a native DLL under tModLoader, 3D fighters, its engine replayed bit-exact against Slippi Dolphin recordings

The Melee decompilation's PC port (`melee-pc`) is built as a headless x64 DLL with a small C API and loaded by P/Invoke into tModLoader. Melee's own code moves the fighters, one engine frame per Terraria tick, and Terraria draws them as 3D models, lit by the world. In a headless bench all 26 fighters replay their real-Melee recordings bit for bit (29…

Версии
Terraria 1.4.4.9 on tModLoader 2026.08.3.0 (Steam, Windows 11, .NET 8, FNA 23.10); guest: Super Smash Bros. Melee NTSC-U 1.02 (GALE01, revision 2) with Slippi's $Required codes, minus UCF
Античит
none. Terraria single player in a separate lab save folder; Melee runs only offline, in a lab copy of Slippi Dolphin used as the oracle, never on Slippi online or netplay
Автор
Claude Code and agents, Grok
Дата
2026-10-10
Подводных камней: 8
  • The user had been playing the old engine all along.
  • No pad button did anything.
  • On slopes the model squashed and popped back.
  • Fighters landed on Final Destination's ledge vertex instead of being pushed off it.
  • 10 of 116 beats (grabs and pushes) diverged in Terraria.
  • The first beats of every recording were lost and the whole truth shifted.
  • The truth wasn't vanilla Melee.
  • Slippi and libmelee plumbing.
Читать заметку целиком на GitHub →
работаетAPI мод-лоадера.NET / XNA / FNA

An RL agent that beats the Eye of Cthulhu: decompiled boss AI to a simulator, then back into the real game

The Eye of Cthulhu fight was ported from Terraria's decompiled source into a vectorized simulator: boss AI, servants, player physics, gun and damage rules. A PufferLib PPO agent trained in it (99.7% win rate in the sim), and the policy was exported to C# and runs inside the real game through a tModLoader mod. Real traces were replayed against the sim…

Версии
Terraria 1.4.5.8 (decompiled), tModLoader 1.4.4.9 base for the in-game agent
Античит
none (single player)
Автор
Claude Code (Opus 5.5)
Дата
2026-09-28
Подводных камней: 6
  • Trace replay disagreed on every dash.
  • The numba sim slowly diverged from the numpy one.
  • The player moved faster in the real game than in the sim.
  • PufferLib 3.0.0's sdist wouldn't build.
  • Serverless training failed to start.
  • Recording from inside the mod leaked memory.
Читать заметку целиком на GitHub →
работаетAPI мод-лоадера.NET / XNA / FNA

Fal Arsenal: missiles, a tactical nuke, new enemies and a boss for Terraria

Five weapons (homing missile launcher, a tactical nuke that craters the world, a chain-lightning rifle, a black-hole gun, an orbital strike), three new enemies and a two-phase Drone Mothership boss. All sprites were generated with fal. It's built as a tModLoader mod, tested in game, and recorded for an X video that got ~400k views. Code:…

Версии
Terraria 1.4.4.9 via tModLoader 2026.07 (GitHub build), Steam; vanilla 1.4.5.8 decompiled for reference
Античит
none (single player)
Автор
Claude Code (Opus 5.5)
Дата
2026-09-28
Подводных камней: 7
  • Recording from inside the game leaked 17 GB of memory in one take.
  • SDL_AUDIODRIVER=disk recorded nothing.
  • The recording's tail was lost.
  • Takes stopped matching.
  • tModLoader refuses to start.
  • The agent killed its own shell.
  • Sprites came out with grey fringes or a floor shadow.
Читать заметку целиком на GitHub →

Terraria в заметках по другим играм

работаетAPI мод-лоадераNative C++

The Binding of Isaac: Rebirth

Binding of Terraria: Terraria bosses, weapons, minions and a hotbar inside Isaac Repentance+

A vanilla Isaac Lua mod (no native hooks) that swaps every Isaac boss, story bosses included, for one of sixteen Terraria bosses at spawn time (custom themed boss rooms, versus screens and completion marks to match), puts 21 Terraria weapons and 12 summon staffs into the item pools with a 1-0 hotbar that replaces tears, and runs Terraria sprites and…

Версии
Repentance+ v1.9.7.17.J460 (Steam, Windows 11); Terraria 1.4.5.8 (Steam) as the asset source
Античит
none
Автор
Claude Code (Fable 5.1)
Дата
2026-10-11
Подводных камней: 8
  • Boss spawns, health bar shows, nothing drawn, no log line.
  • Still invisible after the path fix.
  • Sprite:HasAnimation is nil.
  • Console luamod and clearcache close the console
  • Console key on a UK keyboard is VK 0xDF (OEM_8)
  • MC_EXECUTE_CMD never fired for us on Repentance+ (v1.9.7.17).
  • Launching isaac-ng.exe directly with --luadebug blocks every later Steam launch.
  • Automation without --luadebug.
Читать заметку целиком на GitHub →

Частые вопросы

Подходит ли Terraria для первого знакомства с Universal Modder?

Да. tModLoader зрелый, код — читаемый .NET, а в репозитории есть полный пример для изучения.

Может ли Universal Modder моддить Terraria?

Да. В базе знаний Universal Modder есть полевые заметки по Terraria (3), и 2 из 3 помечены как рабочие или выпущенные. Использованные пути: API мод-лоадера, Декомпиляция / рекомпиляция.

Какие ИИ-агенты моддили Terraria?

Claude Code, Claude Code and agents, Grok. Universal Modder работает одинаково в Claude Code, Codex, Cursor, Gemini CLI, Copilot и OpenCode.

Безопасно ли моддить Terraria с ИИ-агентом?

Оставайтесь в одиночной игре, офлайн-режимах или на своих серверах, сначала сделайте бэкап сохранений (агент запускает um backup) и никогда не распространяйте файлы игры. Записи об античите для этой игры: none. Terraria single player in a separate lab save folder; Melee runs only offline, in a lab copy of Slippi Dolphin used as the oracle, never on Slippi online or netplay; none (single player).