游戏库

用 Universal Modder 改 Red Faction: Guerrilla Re-Mars-tered

更新于 2026-11-05

实战笔记3
可用 / 已发布0
引擎Native C++
路线原生 Hook, 数据 Mod

使用 Universal Modder 的 Agent 已为 Red Faction: Guerrilla Re-Mars-tered 写了 3 篇实战笔记,其中还没有标为可用的(笔记记录的是进行中的研究)。下面逐篇列出确切版本、工具和踩坑记录,均引自项目知识库。

Universal Modder 如何处理 Red Faction: Guerrilla Re-Mars-tered

Agent 先检索知识库(um kb search "Red Faction: Guerrilla Re-Mars-tered")并扫描你的安装(um scan "Red Faction: Guerrilla Re-Mars-tered"),识别引擎(这里是 Native C++)、反作弊、加载器和存档目录。然后按照 native 手册以及前人验证过的路线进行:原生 hook, 数据 mod。

Agent 用到的工具: Python 3 · hkpack.py · chunkwrite.py · genchunk.py · walk.py · MinHook 1.3.4 · Dear ImGui 1.91.9b · Ghidra 12.1.4 (headless) · capstone + pefile (via uv) · Janitor 2026.10.6.1 · vgmstream r2168 · XAudio2 2.9 · MSVC x86 (Visual Studio 18) + CMake + Ninja · doctest · numpy, scipy, Pillow · d3dcompiler_47

可用的版本: Steam app 667720 (rfg.exe, Re-Mars-tered) | Steam app 667720, rfg.exe build cs:4931 (SHA-256 0d52039e7f2d3f25a4be52a2aba83919456fb3f00e52e75051726247471a2df4, 32-bit, link timestamp 0x5B9B718A) | RFG: Steam app 667720, rfg.exe cs:4931 (SHA-256 0d52039e7f2d3f25a4be52a2aba83919456fb3f00e52e75051726247471a2df4); RF:A: Steam app 55110, RedFactionArmageddon_DX11.exe (SHA-256 6a3c42dc...1dea, link timestamp 0x57B0E035)

在 GitHub 阅读引擎手册 →

开始一次 Red Faction: Guerrilla Re-Mars-tered 会话

终端
um kb search "Red Faction: Guerrilla Re-Mars-tered"
um scan "Red Faction: Guerrilla Re-Mars-tered"
提示词
给 Red Faction: Guerrilla Re-Mars-tered 做个 Mod:先读它的实战笔记,扫描我的安装,备份存档,然后做一个小改动并在游戏里演示给我看。

Red Faction: Guerrilla Re-Mars-tered 实战笔记(3)

摘要和踩坑记录以英文原文引自 universal-modder 的 MIT 协议知识库,每条都链接到完整笔记。

进行中数据 ModNative C++

Generating destructible building chunks for Red Faction Guerrilla

How the project's own Python generators write replacement destructible-building chunks (`cchk_pc` CPU part, `gchk_pc` GPU part) that Red Faction: Guerrilla Re-Mars-tered loads and breaks with its own solver. Labels: [real run] the game loaded or broke it and an evidence file records it; [synthetic] a host-side script I re-ran on 2026-11-05 on the user's…

版本
Steam app 667720 (rfg.exe, Re-Mars-tered)
反作弊
none; single player only: RFG has online PvP and leaderboards, so the swapped chunks ran in an offline lab copy
制作者
Antigravity (Gemini 3.8 Flash High; first draft and the generator code the format claims come from), Claude Code (Sonnet 5.5; the 2026-11-05 audit of every claim)
日期
2026-11-05
记录了 7 个坑
  • The collision block must start 64-byte aligned (building does not spawn).
  • GPU mesh check rejection dialog (0x4c2f30).
  • Stale object, attach and mover entries from the template.
  • RFG draws the generated bricks in the wrong places.
  • Generated pieces fall through terrain AND a fixed box: the hulls were in chunk-local coordinates (the big one, found 2026-11-05).
  • Non-convex plane sets in the generated hulls (small effect).
  • What the remaining 10% are.
在 GitHub 阅读完整笔记 →
进行中原生 HookNative C++

CONTROL Resonant's Dylan as the player: control takeover, 217 retargeted clips, the Aberrant drawn in D3D11, no-despawn physics

A private mod that makes Red Faction: Guerrilla Re-Mars-tered play like CONTROL Resonant. Dylan Faden's PC control map replaces RFG's on-foot controls, his kit (powers, the Aberrant's melee forms) runs inside RFG's engine, 217 of his animation clips drive Mason's skeleton, his own Wwise sounds play through XAudio2, and his Aberrant weapon is drawn into…

版本
Steam app 667720, rfg.exe build cs:4931 (SHA-256 0d52039e7f2d3f25a4be52a2aba83919456fb3f00e52e75051726247471a2df4, 32-bit, link timestamp 0x5B9B718A)
反作弊
none; single-player only. The mod is built to stay idle in multiplayer (it reads the game's multiplayer flag), which was never tested
制作者
Claude Code (Opus 5.5)
日期
2026-10-27
记录了 8 个坑
  • Test 1 killed Mason within seconds.
  • Powers bolted onto Mason's controls weren't what the human wanted.
  • The hammer still swung under Dylan's attacks.
  • Two runtime clip names didn't exist in Resonant.
  • The Inferno power's blast did nothing.
  • Dylan's hits did almost no damage.
  • After "physics max", every NPC moved wrong, not just the player.
  • Dylan's weapons were invisible.
在 GitHub 阅读完整笔记 →
进行中原生 HookNative C++

rf-gmod: a Garry's Mod-style sandbox (gravity gun, physgun, HL2 weapons, noclip) in RFG Re-Mars-tered, with an untested Armageddon port

A private sandbox mod for Red Faction: Guerrilla Re-Mars-tered: Source-engine movement and noclip, a "mega" gravity gun and a physgun that hold, throw, freeze and tear pieces out of buildings, HL2's weapons (models and sounds read from the human's own Half-Life 2 / Garry's Mod installs) drawn in first person, nothing despawning. It is a native…

版本
RFG: Steam app 667720, rfg.exe cs:4931 (SHA-256 0d52039e7f2d3f25a4be52a2aba83919456fb3f00e52e75051726247471a2df4); RF:A: Steam app 55110, RedFactionArmageddon_DX11.exe (SHA-256 6a3c42dc...1dea, link timestamp 0x57B0E035)
反作弊
RFG: none. RF:A: Valve Anti-Cheat (listed on its Steam page, for online co-op). Single player only: uninstall before any online session; the DLL refuses unknown exes, and its multiplayer idle check is untested
制作者
Claude Code (Opus 5.5)
日期
2026-10-27
记录了 8 个坑
  • Guns and the gravity gun went through people and debris.
  • NPCs and gravity felt wrong world-wide.
  • The body showed in first person.
  • The RPG's flight sound looped forever.
  • The human couldn't find the telekinesis.
  • "Is my old mod breaking this?"
  • namespace rfg = rfa broke the build.
  • RF:A can address only 2 GB.
在 GitHub 阅读完整笔记 →

其他游戏笔记中的 Red Faction: Guerrilla Re-Mars-tered

进行中原生 HookUnreal Engine

The Elder Scrolls IV: Oblivion Remastered

Native per-frame actor mover for Oblivion Remastered: ProcessEvent from a plain DLL loaded by UE4SS Lua

A small C library, built with mingw and loaded with `package.loadlib` from a UE4SS Lua mod, moves about 250 to 800 actors every frame by calling the actor's own `ProcessEvent` for `K2_TeleportTo`. It cost 0.41 microseconds per call against 6.4 from Lua. Lua keeps decoding game state at 10 Hz and the DLL smooths between targets every frame. Real run (lab…

版本
Oblivion Remastered 1.512.105 (patch 1.2, UE 5.3.2), Steam app 2623190
反作弊
none (single-player, lab copy of the game)
制作者
Claude Code (Sonnet 5.5; written, then audited claim by claim on 2026-11-05)
日期
2026-11-05
记录了 5 个坑
  • A wrong digit in an expected address (0x1400F3EA0 instead of 0x1410F3EA0) made the first probe say "not found"
  • Do not trust a worker's or note's "ProcessEvent is at X, vtable index N".
  • A fallback only counts once tested by making the primary fail.
  • A local function used before its definition is a nil global in Lua.
  • Level-unload test is not possible with GameplayStatics:OpenLevel.
在 GitHub 阅读完整笔记 →
进行中穿透式(游戏中的游戏)Unreal Engine

The Elder Scrolls IV: Oblivion Remastered

Red Faction Guerrilla destruction passthrough into Oblivion Remastered

A cross-process passthrough mod: Red Faction: Guerrilla Re-Mars-tered (RFG, 32-bit) runs hidden beside Oblivion Remastered (64-bit UE5.3.2 under Proton) and computes building destruction with its own Havok solver, while Oblivion draws the fractured house pieces. State crosses through a shared file (`/dev/shm/geomod_bridge.bin`) with a sequence counter…

版本
Oblivion Remastered 1.512.105 (patch 1.2, UE 5.3.2), Steam app 2623190; RFG Re-Mars-tered, Steam app 667720
反作弊
none; Oblivion Remastered is single-player. RFG has online PvP and leaderboards, so its lab copy runs headless and offline (the proxy blocks the network) and the proxy never goes online
制作者
Antigravity (Gemini 3.8 Flash High; first draft of Setup, Route, How the game works, Build, Verification, Gotchas and Assets), Claude Code (Sonnet 5.5; the ground sections and the 2026-11-05 audit of every claim)
日期
2026-11-13
记录了 8 个坑
  • RFG draws generated pieces in the wrong places in its own view.
  • Crash in a deintersect routine (0x14486db30, exe+352fa7a, exe+486e0a5).
  • Pieces read slightly darker than the intact house.
  • Loose pieces vanish or run out.
  • Two Proton prefixes.
  • Pieces sink below the ground or float in the air.
  • First in-engine film washed out or hung.
  • A "valid" test that never swapped.
在 GitHub 阅读完整笔记 →
进行中重新实现Unreal Engine

The Elder Scrolls IV: Oblivion Remastered

Red Faction Guerrilla's destruction rules rebuilt inside Oblivion Remastered, measured against the real game

Chorrol's houses are pre-fractured into 1,700 to 8,800 pieces. A C library holds RFG's rules as we read them (links between pieces, anchors, blast damage, contact damage, the stress pass); RE-UE4SS Lua turns freed pieces into Unreal physics bodies. The real RFG, running the same house as a replacement chunk, is used only as a measuring instrument. It…

版本
Oblivion Remastered 1.512.105 (patch 1.2, UE 5.3.2), Steam app 2623190; RFG Re-Mars-tered, Steam app 667720
反作弊
none; Oblivion Remastered is single-player. RFG has online PvP and leaderboards, so both lab copies run offline and the RFG proxy never goes online
制作者
Claude Code (Fable 5.2; plan, reading, analysis, this note), Claude Code (Opus 5.5; code), Claude Code (Sonnet 5.5; lab runs)
日期
2026-11-13
记录了 8 个坑
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
在 GitHub 阅读完整笔记 →
进行中Mod 加载器 APIUnreal Engine

The Elder Scrolls IV: Oblivion Remastered

UE4SS Lua cost model for moving many actors in Oblivion Remastered

Measured costs of moving about 1,500 actors every pass from RE-UE4SS Lua in Oblivion Remastered (UE5.3.2, lab copy, headless). Labels: [real run] an evidence file records it; [source] code read; [inferred] reasoned, not tested; [unverified] no evidence found. The first unoptimised collapse ran at 3.0 fps (minimum 0.3) with 907 ms per second of…

版本
Oblivion Remastered 1.512.105 (patch 1.2, UE 5.3.2), Steam app 2623190
反作弊
none (single-player, lab copy of the game)
制作者
Antigravity (Gemini 3.8 Flash High; first draft of everything above Gotcha 5), Claude Code (Sonnet 5.5; Gotchas 5 to 8 and the 2026-11-05 audit of every claim)
日期
2026-11-05
记录了 8 个坑
  • StaticFindObject string lookup is catastrophic in loops.
  • Silent script termination in pcall hooks.
  • Out-parameter memory churn.
  • Guest game GPU starvation.
  • GetActorBounds silently fails with three arguments.
  • LineTraceSingle is cheap enough for grids [real run, evidence/ground-grid.txt].
  • On-demand scene capture is unusable, every-frame capture works [real run, docs/PLAN_STATE.md, evidence/film-hq.out].
  • Per-component render switches do not recover standing cost [real run, evidence/standing-runs.txt].
在 GitHub 阅读完整笔记 →

常见问题

Universal Modder 能改 Red Faction: Guerrilla Re-Mars-tered 吗?

部分可以。Agent 已为 Red Faction: Guerrilla Re-Mars-tered 记录了 3 篇研究笔记(文件格式、工具和死胡同),但还没有标为可用的(笔记记录的是进行中的研究)。请从这些笔记出发,而不是从零开始。

哪些 AI Agent 改过 Red Faction: Guerrilla Re-Mars-tered?

Claude Code, Antigravity。Universal Modder 在 Claude Code、Codex、Cursor、Gemini CLI、Copilot 和 OpenCode 中的用法都一样。

用 AI Agent 改 Red Faction: Guerrilla Re-Mars-tered 安全吗?

只在单机、离线模式或你自己架设的服务器里玩,先备份存档(Agent 会运行 um backup),绝不发布游戏文件。这个游戏记录的反作弊情况:none; single player only: RFG has online PvP and leaderboards, so the swapped chunks ran in an offline lab copy; none; single-player only. The mod is built to stay idle in multiplayer (it reads the game's multiplayer flag), which was never tested。