मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग9.3k · #12290

port-a-mod

यह क्या करती है

यह स्किल एक मोड को गेम के नए वर्शन या किसी दूसरे मोड सिस्टम में ले जाती है। यह उन मोडर्स के लिए है जो चाहते हैं कि पुराना मोड बिल्कुल वैसे ही चले जैसे पहले चलता था।

कब इस्तेमाल करें

  • ✓जब आप चाहते हैं कि पुराना Minecraft या Skyrim मोड नए वर्शन पर चले।
  • ✓जब गेम के अपडेट से कोई मोड टूट गया हो और उसे नए वर्शन में ले जाना हो।
  • ✓जब आप किसी मोड को बिना उसका खेलने का तरीका बदले दूसरे मोड लोडर पर ले जाना चाहते हों।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/port-a-mod/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे पुराने Forge 1.12 मोड को नए Minecraft वर्शन के लिए Fabric में ले जाइए, और वही बैलेंस वैल्यू रखिए।”

हर हफ़्ते 5 नई skills, 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
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

asset-pipeline

9.3k

आपके एजेंट को बनाई गई या हाथ से बनाई कला को ठीक उसी आकार, फ़्रेम लेआउट, पैलेट और फ़ाइल फ़ॉर्मेट में बदलने में मदद करती है, जो गेम इंजन लोड करता है।

डिज़ाइनइमेज और आइकन

blitz3d-decomp

9.3k

आपके एजेंट को Blitz3D गेम को पढ़ने योग्य सोर्स में बदलने और उसे किसी दूसरे इंजन में पोर्ट करने की योजना बनाने में मदद करती है, मूल गेम को संदर्भ के रूप में रखते हुए।

कोडिंगसामान्य कोडिंग

fal-assets

9.3k

आपके एजेंट को fal.ai से गेम कला, ध्वनि प्रभाव, संगीत और 3D मॉडल बनाने में मदद करती है, स्प्राइट और टेक्सचर से लेकर वॉइस लाइन और वीडियो तक।

डिज़ाइनइमेज और आइकन

game-automation

9.3k

आपके एजेंट को असली गेम चलाने, स्क्रीनशॉट लेने, मेनू में क्लिक और टाइप करने और लॉग पढ़ने देती है, ताकि वह अपने गेम मॉड खुद टेस्ट कर सके।

कोडिंगटेस्टिंग

मिलती-जुलती skills