Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.
Matt edited this page Aug 12, 2018 · 5 revisions

Features

  • Easily rename classes, fields, and methods by clicking on them
    • The selected item will display as editable text-fields above the code-area
  • Syntax highlighted source code (Decompiled with CFR) powered by RichTextFX
  • Easy to browse source
    • When an item is selected (indicated by the text-fields above the code-area) you can press N to navigate to the declared item.
      • Immediately jump to methods and fields, even in other classes
      • Press Backspace to return to where you came from
  • Simple, clean UI
    • A comfortable dark theme to keep those eyes from going blind at 2AM
    • Looking for something? Control + F in the code-area to look for some text
  • Simple undo/redo functionality with Control + Z / Control + Y

How to use

First off, the UI is almost entierly keybind-driven, so learning the following binds will be important:

  • Global keybinds
    • Control + N Open a jar file
    • Control + O Open mappings file
    • Control + E Export jar file (mappings are applied to output)
    • Control + S Save mappings to file (Json)
    • Control + Z Undo mapping change
    • Control + Y Redo mapping change
  • Editor pane keybinds
    • N Navigate to selected item
    • Backspace Go to last item

Loading a file

  1. Run the jar (JRemapper-2.x.x)
  2. Drop your jar file into the left-panel, or use the Open file keybind (Control + N)
  3. Select a class file from the tree menu on the left to begin editing

Renaming a class

  1. In the code-area, select the class name. A text-field should appear above the code-area.
  2. Type the new name in the text-field
  3. Press Return or Enter

Renaming a field or method

  1. In the code-area, select the member name. Multiple text fields should appear above the code-area.
    • The first field shows the class that holds the member declaration.
    • The second field shows the member's name
    • The third field shows the member's type (Not editable, shown for verification purposes)
  2. Type the new name in the member-name field (2nd)
    • You can also edit the member's owner (1st field) this way
  3. Press Return or Enter

Saving your progress

  1. Create some mappings by renaming classes and members
    • Option 1-Mappings: Use the save-mappings keybind (Control + S)
    • Option-2-Jar: Use the save-jar keybind (Control + E)
  2. Select a file-name to save to in the file-selection prompt.
  3. Hit OK
Clone this wiki locally