User Tools

Site Tools


tools:matcher

Differences

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

Link to this comparison view

tools:matcher [2019/03/16 23:57]
nzsmartie created
tools:matcher [2019/03/17 00:03] (current)
nzsmartie Change Non-obfuscated class name pattern to a known StarMade example
Line 1: Line 1:
 ====== Matcher ====== ====== Matcher ======
  
-[[https://​github.com/​FabricMC/​Matcher|Matcher]] is a GUI tool to match APIs from two Java jars by comparing entries, performing mapping analysis between the two and then saving the matches which are then uploaded to [[https://​github.com/​FabricMC/​intermediary/​tree/​master/​matches|FabricMC/​intermediary]] to be used as part of Yarn's build process.+[[https://​github.com/​FabricMC/​Matcher|Matcher]] is a GUI tool to match APIs from two jars by comparing entries, performing mapping analysis between the two and then saving the matches which are then uploaded to [[https://​github.com/​FabricMC/​intermediary/​tree/​master/​matches|FabricMC/​intermediary]] to be used as part of Yarn's build process.
  
 ===== Overview ===== ===== Overview =====
Line 16: Line 16:
  
   * Inputs A/B   * Inputs A/B
-    * Specify the two merged ​jars of MineCraft, where +    * Specify the two jars of the game, where 
-      * A is the already mapped version of MineCraft ​with an existing intermediary mapping +      * A is the already mapped version of the jar with an existing intermediary mapping 
-      * B is the new version ​where obfuscated class names have changed.+      * B is the new version ​with obfuscated class names that have changed.
   * Class path A/B   * Class path A/B
-    * Specify all the libraries that are used by the MineCraft ​versions respectively.+    * Specify all the libraries that are used by the game versions respectively.
   * Shared class path   * Shared class path
     * 🤷‍♀️     * 🤷‍♀️
   * Non-obfuscated class name pattern A/B (regex)   * Non-obfuscated class name pattern A/B (regex)
     * Supply a regular expression to fully match jar class entry names (using ''/''​ instead of ''​.''​)     * Supply a regular expression to fully match jar class entry names (using ''/''​ instead of ''​.''​)
-      * Example: ''​(com\/mojang\/.*|net\/minecraft\/​data\/​Main)''​ would match any class under the ''​com.mojang'' ​package ​and ''​net.minecraft.data.Main'' ​class+      * Example: ​With StarMade (as of ''​0.201.364''​) obfuscated classes are inside the ''​obfuscated''​ package. ​''​(org\/|schine\/|PolygonStatsInterface\/).*''​ would match any class under the ''​org'',​ ''​schine''​ and ''​PolygonInterface'' ​packages as they are already public APIs that do not need to be matched.
  
  
tools/matcher.1552780643.txt.gz · Last modified: 2019/03/16 23:57 by nzsmartie