Skip to content
This repository has been archived by the owner on Dec 2, 2017. It is now read-only.

Commit

Permalink
Updated readme.md #1
Browse files Browse the repository at this point in the history
  • Loading branch information
csnewman committed Sep 21, 2015
1 parent 84678ea commit 6f8c22b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# SMRemapper
A tool that reads .smmap's to deobfuscate and reobfuscate StarMade

## Command Line
Usage: java -jar SMRemapper.jar {input} {output} {mapping} {libs folder} {reverse (true/false)} {keep source (true/false)}

Example: java -jar SMRemapper.jar StarMade.jar StarMade-Deobf.jar ???_raw_min.smtmap libs false true

## API
SMRemapper(ILog log) - Creates a new SMRemapper instance

reset() - Resets the remapper to defaults

resetMappings() - Resets any mappings loaded by loadMapping(...)

resetClasses() - Resets all class data caused by laodLib(...) or remap(...)

loadMapping(File mapping, boolean reverse) - Loads the mappings, it can also reverse them.

displayMappingInfo(File mapping) - Outputs the mapping information

loadLib(File path) - Loads a library

remap(File input, File output) - Remaps the input to the output

setKeepSource(boolean keepSource) - Sets if the source information should be kept in the classes (line numbers etc)

0 comments on commit 6f8c22b

Please sign in to comment.