Coder Social home page Coder Social logo

srg2tiny's Introduction

srg2tiny

Minecraft srg mappings to recaf tiny mapping format converter

Originally made for refmapper/Curse

Building

To build srg2tiny you need to have JDK 17 installed

  1. Download srg2tiny source code by clicking Code -> Download ZIP on the main page
  2. Extract the source code somewhere and open cmd (on Windows) or Terminal
  3. Execute gradlew build (if you're on Windows) or chmod +x ./gradlew && ./gradlew build (if you're on Linux) and wait until the building process finishes
  4. After that you should have a file called srg2tiny-VERSION.jar inside <srg2tiny src>/build/libs folder
  5. Use it anywhere you need

Downloading

You can download stable prebuilt JARs from the releases page

Usage via CLI

To use CLI you need to have minecraft srg and fields and methods mappings

Getting srg/fields/method mappings:

  1. Download MCP for version you need from here
  2. Extract conf folder from mcpXXX.zip
  3. Use conf/joined.srg as srg mappings
  4. Use conf/fields.csv as fields mappings
  5. Use conf/methods.csv as methods mappings

Getting tiny mappings:

  1. Execute java -jar srg2tiny.jar "srg" "fields" "methods" "tiny"
  2. Use "tiny" as tiny mappings
  3. Enjoy!

Special thanks to

KuroHere/Curse for idea of srg2tiny

srg2tiny's People

Contributors

kisman2000 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.