360 Secure SkillHub
360 安全技能中心

coop-decomp-port

提供从查找已有 PC 移植、反编译或静态重编译项目,到在代码中加入主机权威、状态同步与远程玩家傀儡的分步指南;涵盖仅有重编译版、部分反编译和从零开始三种情形的推进方式,并提醒不得分发 ROM、ISO 或提取资源。

cranebeaker
热度 0.00
最近更新 2026-10-18 16:51:53
分类:开发依赖:代码执行应用场景:代码生成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cranebeaker/coop-anything/coop-decomp-port
Metadata
name
coop-decomp-port
description
Get a console game running natively on PC as source code (decompilation, static recompilation or engine reimplementation) so co-op can be added in code, the way Ocarina of Time co-op works on Ship of Harkinian and Super Mario 64 on sm64coopdx.

Decomp or recomp a console game for co-op

  1. Look for an existing PC port, decompilation or static recompilation of the exact game and region. Contributing to one beats starting over.
  2. A PC port exists: add networking in its code (host authority, synced flags and items, save state on join, remote players as puppets). Read how Anchor (Ship of Harkinian) and sm64coopdx did it.
  3. Only a recompilation exists (N64Recomp, XenonRecomp, PS2 and PS3 recompilers): co-op goes in through its mod or patch hooks; the code is still machine-translated, so expect more reverse engineering.
  4. Partial decompilation: help finish the parts you need (player, actors, saves, scene loading) rather than the whole game.
  5. Starting a decompilation: split the binary (splat, decomp-toolkit), then match function by function with objdiff as the oracle. Worker agents can match functions in parallel; the lead verifies every match and watches for score gaming. For an agent-run pipeline with a behaviour oracle as the judge, start from DecompPipeline (github.com/GeneralAtrox/DecompPipeline; Dreamcast target, add a target for other CPUs).
  6. Legal: never ship ROMs, ISOs or extracted assets. Ports extract assets from the player's own dump at runtime.

Details: playbook/decomp-and-recomp.md.