User Tools

Site Tools


tutorial:updating_yarn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:updating_yarn [2019/08/16 14:07] – [Requirements] liachtutorial:updating_yarn [2019/09/01 18:29] modmuss50
Line 24: Line 24:
   - Clone the current Yarn version at **A**.   - Clone the current Yarn version at **A**.
   - Run ''%%gradlew mergeJars downloadMcLibs%%''. This will create **A**-merged.jar and .gradle/minecraft/**A**-libraries. You will need these for Matcher.   - Run ''%%gradlew mergeJars downloadMcLibs%%''. This will create **A**-merged.jar and .gradle/minecraft/**A**-libraries. You will need these for Matcher.
 +  - Export the mappings to the offical namespace ''%%gradlew exportMappingsOfficial%%'' these will be used by matcher later.
   - Edit build.gradle to point to the **B** Minecraft version.   - Edit build.gradle to point to the **B** Minecraft version.
   - Run ''%%gradlew mergeJars downloadMcLibs%%'' again. This will create files as above, but for **B**.   - Run ''%%gradlew mergeJars downloadMcLibs%%'' again. This will create files as above, but for **B**.
Line 66: Line 67:
  
   - Make sure Yarn has no important PRs dangling - it's somewhat annoying to deal with them later!   - Make sure Yarn has no important PRs dangling - it's somewhat annoying to deal with them later!
-  - Open the Enigma mappings in Intermediary, with **Type: Names**, **Target: A (left)** and **"Replace" checked**.+  - Open the Enigma mappings from ''mappings_official'', with **Type: Names**, **Target: A (left)** and **"Replace" checked**.
   - Save the Enigma mappings **TO A NEW DIRECTORY**, with **Environment: B (right)**, **Source name type: PLAIN**, **Target name type: MAPPED_PLAIN** and **Verbosity: ROOTS**.   - Save the Enigma mappings **TO A NEW DIRECTORY**, with **Environment: B (right)**, **Source name type: PLAIN**, **Target name type: MAPPED_PLAIN** and **Verbosity: ROOTS**.
-  - If everything went fine, delete the old directory and rename the new directory to the old one's name.+  - If everything went fine, delete the old directory'and rename the new directory to ''mappings_official''. 
 +  - Run ''%%gradlew importMappingsOfficial%%'' to import the mappings from ''mappings_official'' to ''mappings''
   - Run ''%%gradlew yarn%%''. If Enigma works correctly, **save the mappings in Enigma**, then close Enigma.   - Run ''%%gradlew yarn%%''. If Enigma works correctly, **save the mappings in Enigma**, then close Enigma.
  
tutorial/updating_yarn.txt · Last modified: 2022/08/02 10:03 by 127.0.0.1