swfoc-modding
Research-backed workflow for Star Wars: Empire at War / Forces of Corruption modding, SDK/tooling, debugging, and submod integration. Use when Codex needs to implement, troubleshoot, or explain SWFOC mods and submods, including XML/Lua edits, MEG packaging, MODPATH/STEAMMOD launching, or file formats (ALO/ALA/MTD/DAT/LUA). For runtime/debugger analysis, route to $swfoc-reverse-engineering.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- swfoc-modding
- description
- Research-backed workflow for Star Wars: Empire at War / Forces of Corruption modding, SDK/tooling, debugging, and submod integration. Use when Codex needs to implement, troubleshoot, or explain SWFOC mods and submods, including XML/Lua edits, MEG packaging, MODPATH/STEAMMOD launching, or file formats (ALO/ALA/MTD/DAT/LUA). For runtime/debugger analysis, route to $swfoc-reverse-engineering.
02 资源文件 9
- 参考文档agents/openai.yaml239 B
- 参考文档references/community-knowledge.md2.4 KB
- 参考文档references/debugging-playbook.md2.4 KB
- 参考文档references/file-formats-and-toolchain.md2.8 KB
- 参考文档references/mod-architecture-and-workflow.md2.3 KB
- 参考文档references/official-tooling-and-patches.md2.9 KB
- 参考文档references/source-index.md3.6 KB
- 参考文档references/workspace-mod-notes.md1.4 KB
- 脚本scripts/check_sources.py5.1 KB
03 SKILL.md 正文
SWFOC Modding
Overview
Use this skill to work accurately on SWFOC modding tasks with source-grounded procedures instead of guesswork. Prioritize official Petroglyph + Petrolution documentation, then use community sources for practical edge cases.
Workflow
- Classify the request.
- Dump files, runtime tracing, debugger attach flows, signature generation, binary diffing, import repair, or MCP-backed disassembler work: use
$swfoc-reverse-engineeringfirst, with$reverse-engineering-toolkitwhen tool selection is still unclear. For explicit Cheat Engine -> x64dbg -> IDA workflows, use$cheat-engine-x64dbg-ida-handoff. - Launch/setup/workshop/submod routing: read
references/mod-architecture-and-workflow.md. - Crashes/performance/weird runtime behavior that still look mod-level rather than native-runtime-level: read
references/debugging-playbook.md. - File format or asset pipeline work: read
references/file-formats-and-toolchain.md. - Patch/tool compatibility questions: read
references/official-tooling-and-patches.md. - Community patterns, AI quirks, forum-established gotchas: read
references/community-knowledge.md. - Project-specific context for this workspace: read
references/workspace-mod-notes.md.
- Validate time-sensitive facts before acting.
- Run
python3 scripts/check_sources.pyto quickly verify source availability and freshness (Last-Modified,ETag, status code). - Treat patch/tool version assumptions as unstable unless verified.
- Execute changes in the user workspace.
- Apply minimal edits first, then verify with concrete checks (logs, launch params, file placement, script load behavior).
- For submods, preserve upstream mod compatibility and do not mirror/rebundle full parent mods unless explicitly requested.
- Communicate source confidence.
- Mark official source claims as high confidence.
- Mark forum/wiki guidance as community-derived and version-sensitive.
Source Priority
- Official: Petroglyph mod-support + official Steam announcements.
- Technical documentation: Petrolution mod-tools/docs pages.
- Community references: Revora/ModDB/Steam guides/Fandom wiki.
- Local workspace evidence: existing mod/submod layout and files.
Quick Commands
# Verify key URLs and update signals
python3 scripts/check_sources.py
# Optional: only print non-200 sources
python3 scripts/check_sources.py --only-errors
# Inspect a specific source
python3 scripts/check_sources.py --filter "petroglyphgames.com/eawmodtool"
04 同仓库更多 Skills
clarify-requirements
Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.
openmm-md
Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.
visual-review
Take screenshots of web pages and UI using Playwright for visual review and iteration
status
Diagnostic status report — shows metaswarm installation state, project setup, and potential issues
start
Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work
setup
Interactive project setup — detects your project, configures metaswarm, writes project-local files