본문으로 건너뛰기
Skillpedia
일반 코딩9.3k · #12290

port-a-mod

하는 일

이 스킬은 모드를 최신 버전의 게임이나 다른 모드 시스템으로 옮깁니다. 오래된 모드를 원래와 똑같이 작동시키고 싶은 모더를 위한 것입니다.

사용하는 경우

  • ✓오래된 Minecraft나 Skyrim 모드를 최신 버전에서 실행하고 싶을 때.
  • ✓게임 업데이트로 모드가 깨져서 새 버전으로 옮겨야 할 때.
  • ✓플레이 방식을 바꾸지 않고 모드를 다른 모드 로더로 옮기고 싶을 때.

스킬 링크

https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/port-a-mod/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/port-a-mod/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 오래된 Forge 1.12 모드를 최신 Minecraft 버전용 Fabric으로 옮겨 주세요. 밸런스 값은 그대로 유지해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 원래 버전을 고정하고, 원본 코드를 기준으로 삼아 바뀌어야 할 부분을 정리합니다. 그다음 한 단위씩 모드를 옮기면서 각 부분을 원본과 대조해 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Port a mod faithfully

When porting an existing mod, the original is the spec. A port rarely fails for lack of code. It fails by drift:

  • values recalled from memory or a wiki;
  • mechanics borrowed from a later rewrite of the same mod;
  • quiet "improvements";
  • renderers that look roughly right;
  • checks that the original made on the client and the port forgot.

The method below carried a Thaumcraft 4.2.3.5 port from Minecraft 1.7.10 Forge to 1.20.1 Fabric:

  • 859 original classes became about 77,000 lines of port code;
  • 323 GameTests cover it, and scripted real-client scenarios check what tests can't reach;
  • the work spanned many sessions and two agent accounts.

The field note knowledge/games/minecraft/porting-thaumcraft-4-1-7-10-forge-to-minecraft-1-20-1-fabric.md has its gotchas. Minecraft-specific mappings are in references/minecraft-1-7-10-forge-to-1-20-fabric.md.

Run the mod-any-game loop around this skill (intake, recon, lab, verify, publish, field note). This skill replaces its "vertical slice" step with a long series of slices, one per unit of the original. Bringing one game's content or mechanics into another game is the mashup-mods skill, not this one.

Before you start: the license

The original's code and assets belong to its author. A port is built from them, often from a decompile of them, so the original's license decides what of the port can be published. (This isn't legal advice; when in doubt, ask the author.)

  • Find the license of the release you will port: the mod's repository (LICENSE), its mod page, the files in the jar, or the author's release post. Write it into the status document (section 7), with the link.
  • An open license (MIT, LGPL, GPL, a Creative Commons license): follow its terms. Keep the copyright notices, credit the author, and use the same license where it requires that (GPL, LGPL, CC BY-SA).
  • All rights reserved, no license at all, or a "no ports" clause: publishing anything of the port (a jar, a public repository, the original's textures or sounds) needs the permission of the author or the current rights holder. Ask them, and keep their answer (a link or a quote) in the status document. With no permission, the port stays private.
    • Thaumcraft 4, the worked example here, is closed source. In 2014 its author had a decompiled copy taken off GitHub (DMCA notice).
  • Tell the user which case it is before starting. A private port for their own pack is their call.
  • Credit the original author in the port and in any release, and don't present the port as an official version.

0. Pin one source of truth

  • Pin the exact release: the jar, its hash (SHA-1), where it came from and its changelog. For a dead mod line, the last release is usually the right one.
  • Use one version as the reference, and only one. A later rewrite with the same name (Thaumcraft 5 and 6 against 4, a "Reborn" or "Legacy" fork) is a different mod.
    • The Thaumcraft port started from the wrong base and switched mid-way.
    • Weeks later, TC5 meshes, textures, an input handler and a swing hook were still in the code, although every audit had compared gameplay with TC4.
    • If the base ever changes, archive the old state, sort every area into keep / adapt / replace / remove, and grep comments and identifiers for the old version's name.
  • Write the rule where every future agent reads it: the project's AGENTS.md (point any agent-specific instructions file at it). Example: "<mod> <version> is the only gameplay source. Keep its values, quirks and observable bugs. Later versions are not references. Do not silently improve gameplay. Never claim a build or test passed unless it ran."

1. Build a private reference

  • If the original's source is published (its repository, a sources jar), work from the source at the pinned release's tag, and decompile the jar only to check that the two match.
  • Decompile with Vineflower first. Fall back to CFR for the classes it fails on, and count those classes. The reverse-engineering skill has the tools.
  • Remap to readable names:
    • 1.7.10 Forge jars ship SRG names (func_12345_a, field_1234_b). Remap them with the MCP stable_12 CSVs (methods.csv, fields.csv); a token-replacing script is enough. 1.12 uses stable_39.
    • On the target side, read the mapped game jar from the loader's cac
자주 묻는 질문

원본을 기준으로 삼는 이유는 무엇인가요?

포팅은 기억에 의존한 값이나 조용한 변경 때문에 원본에서 벗어나기 쉬우므로, 모든 확인의 기준을 원본으로 둡니다.

원본 라이선스도 중요한가요?

네. 포팅은 원본의 코드와 에셋으로 만들어지므로, 이 스킬은 라이선스부터 확인합니다.

Minecraft 말고 다른 게임도 다루나요?

네. Skyrim 플러그인이나 tModLoader 모드 같은 경우도 다룹니다.

상세 정보

작성자의 원본 설명

Port an existing mod to a newer game version or another mod loader while keeping its behaviour, values and quirks. Typical cases are an old Forge 1.7.10 or 1.12 Minecraft mod moving to modern Fabric or NeoForge, a Skyrim LE plugin moving to SE/AE, or a tModLoader 1.3 mod moving to 1.4. It covers pinning one source version, a private decompiled reference, an adaptation matrix, extracting the mod's data with scripts instead of retyping it, porting unit by unit with tests that catch drift, real-client checks, audits against the original, and keeping a long port resumable across sessions and agent

repo: rehan-remade/universal-modder

인기도

GitHub 스타
9.3k
순위
#12290
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬