This repository has been archived by the owner on Dec 2, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |